Answer the question
In order to leave comments, you need to log in
Distributed memory
Now there is a C++ TCP server that talks to clients. All data is stored in memory, and multiple threads perform background calculations based on the data in memory.
There was not enough CPU power. What are some ways to move background computing to another machine or machines without rewriting the server?
Relational databases were thrown out a long time ago, noSQL was argued for a long time, nothing was decided.
Answer the question
In order to leave comments, you need to log in
Most likely, you won’t get by without rewriting the server at all, at least you will have to allocate tasks that should be distributed to other CPUs. Look towards MPI (Message Passing Interface). At one time I used its implementation of MPICH , but other implementations are quite suitable.
Without rewriting - none. If you are ready to switch to messages instead of shared memory, then rabbitmq.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question