C ++: Cloud Computing Library: is there such a library where I don’t need to write a lot of network material?

I want my server application to be able to send data for processing by several clients, and then process the processed data on the server.

Ideally, I would call some_process = send_to_client_for_calculating(connection, data)

I just need to send a bunch of data to the client, tell the client what to do (preferably in the same message that can be done using the array [command, data]), and then return the data ...

I break up fragments of the neural network (very large) and then collect them all later.

If I need to be more clear, let me know how.

+6
source share
4 answers

I'm shocked, nobody left him ... how about boost :: asio .

+5
source

Why not take a look at using Apache ActiveMQ ? This is a Java JMS server, but it has C ++ bindings and does what you want with minimal writing network code. You basically just subscribe to messages and send replies back. The MQ server takes care of message redirection and persistence for you.

+2
source

You can try using beanstalkd , a fast work queue. I do not know if this is in line with your goals. There is a client library written in C that you should use with C ++.

+2
source

I would suggest looking at gSOAP , which implements SOAP in C ++, including networking.

+1
source

Source: https://habr.com/ru/post/885738/


All Articles