Questions tagged [multiprocessing]
Multiprocessing is the use of two or more central processing units (CPUs) within a single computer system.
                92 questions
            
            
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                2
            
            votes
        
        
            
                0
            
            answers
        
        
            
                205
            
            views
        
        
            
            
        
            
                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.
...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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.
...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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:
...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
         
         
         
         
         
        