Skip to main content

Questions tagged [multiprocessing]

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

3 votes
1 answer
88 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
85 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
113 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
96 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
205 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
594 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
222 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
364 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
621 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
1 answer
168 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 ...
solid's user avatar
  • 113
0 votes
1 answer
81 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
78 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
45 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
1 vote
1 answer
157 views

Efficient way to build random undirected graphs without self loops given total number of graph nodes and associated node degree

I wrote an algorithm to build 1000 different random graphs given number of nodes and node degree. Node degree is maintained between the random graphs. I am building these random graphs to input to a ...
skynaive's user avatar
  • 182

15 30 50 per page
1
2 3 4 5
7