S
S
sdevalex2012-08-15 15:23:49
C++ / C#
sdevalex, 2012-08-15 15:23:49

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

3 answer(s)
S
SergeiStartsev, 2012-08-15
@sdevalex

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.

A
Alexey Huseynov, 2012-08-15
@kibergus

Without rewriting - none. If you are ready to switch to messages instead of shared memory, then rabbitmq.

A
amarao, 2012-08-15
@amarao

Google: NUMA

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question