Skip to main content

Questions tagged [multiprocessing]

Multiprocessing is the use of two or more central processing units (CPUs) within a single computer system.

4 votes
1 answer
64 views

Consuming each Kafka partition in a separate proccess

I'm reimplementing functionality originally written in Kotlin. It uses Dispatchers.Default which is recommended for CPU-intensive tasks like JSON parsing to start ...
Roman Galyaminskiy's user avatar
1 vote
0 answers
60 views

Bi-Directional A* function in MATLAB

I am currently working on my thesis for 3D path planning involving external elements, and I have completed about 1/5 of the total trials that I am doing. For each 1/5 of the trials I am increasing the ...
LeftFix's user avatar
  • 11
3 votes
1 answer
96 views

Designing Multiprocess signaling and communication

Originally I meant to discuss my entire project on stepper motors for Raspberry Pi. But I see that's out of scope. If you'd like to provide high level feedback, welcome to do so in github. The lack of ...
juanmf's user avatar
  • 151
1 vote
2 answers
67 views

bucketsort with multiprocessing

I want to compare the procedure time for each number of process. I made 5000000 numbers in input.txt in random order. I read it and do bucket sorting with ...
seokkyu's user avatar
  • 11
2 votes
0 answers
181 views

Point addition on secp256k1. Exploring other alternatives for practical purposes

...
Knm's user avatar
  • 21
4 votes
2 answers
2k views

Multi-threading Class in C++

I wrote a C++ class which can take a vector of functions and their respective arguments and execute them in parallel and return a vector of results from its respective functions. ...
Darth-CodeX's user avatar
2 votes
2 answers
555 views

Code for asynchronous data stream processing with multistage pipelines

I am trying to write some code for processing streams of asynchronous data from multiple sources (Producer Nodes), process them ...
Haaput's user avatar
  • 23
1 vote
1 answer
158 views

Training a Reinforcement Learning algorithm

Problem: I'm trying to reduce the computation time and optimize specific functions of a Reinforcement Learning algorithm in the training phase and observed that one block of code takes too much ...
Student's user avatar
  • 113
4 votes
1 answer
312 views

Polyominoes generator

This is my first Python program. It is not very user friendly, but it works. I used some code snippets and tricks I found in various places. And generous people at Stack Overflow helped me with ...
Dmitry Arch's user avatar
4 votes
1 answer
564 views

Prime factorization algorithm by using the multiprocessing module of Python

I may introduce a Python code of prime factorization which is from my personal project that I'm working on. ...
MYUN's user avatar
  • 59
1 vote
0 answers
56 views

Process to continuously delete resources

I have created a function that creates a multiprocessing.Process to continuously delete "resources" (instances from a certain class) from my application. When I kill one of these resources, ...
AAB07's user avatar
  • 11
1 vote
1 answer
144 views

Timeit multithreading/multiprocessing C++

Given a Timeit method which runs for n times the provided function, which approach between multithreading and multiprocessing should be better to speed up the execution of all iterations and avoid the ...
degrees-of-freedom's user avatar
0 votes
1 answer
66 views

streaming / low memory groupby in julia

I am working on a groupby-aggregation function that will work without RAM overflow issues. Essentially, I want it to run as fast as possible, while not necessarily loading the entire data structure ...
chase's user avatar
  • 123
1 vote
1 answer
54 views

Treat a list by generating a dataframe and sending the data to function via multiprocessing

To collect the list with the data from an API, I need to do these steps: ...
Digital Farmer's user avatar
2 votes
0 answers
32 views

Brand generator script using multiprocessing

I have two indices in Elasticsearch which are brands, and categories, and I have a very ...
Xus's user avatar
  • 193

15 30 50 per page
1
2 3 4 5
7