NullVoxPopuli
NullVoxPopuli

Reputation: 65183

C++: Cloud computing library: is there such a library where I don't need to write much network stuff?

I want my server app to be able to send data to be processed by a bunch of various clients, and then have the processed data returned to the server.

Ideally, I'd have some call like some_process = send_to_client_for_calculating(connection, data)

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

I'm breaking up pieces of a neural network (tis very large), and then assembling them all later.

If I need to be clearer, let me know how.

Upvotes: 6

Views: 1043

Answers (4)

poy
poy

Reputation: 10537

I'm shocked no one has thrown it out there... how about boost::asio.

Upvotes: 5

rlc
rlc

Reputation: 2857

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

Upvotes: 1

halfdan
halfdan

Reputation: 34244

You could try using beanstalkd, a fast working queue. I don't know if it fits your purposes. There is a client library written in C, which you should be able to use from C++.

Upvotes: 2

Chris K
Chris K

Reputation: 12359

Why don't you have a look at using Apache ActiveMQ? It's a Java JMS server, but it has C++ bindings, and does what you want with a minimum of writing networking code. You basically just subscribe to messages, and send responses back. The MQ server takes care of dispatch and message persistence for you.

Upvotes: 2

Related Questions