Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 266
NullVoxPopuli Avatar asked Apr 12 '11 15:04

NullVoxPopuli


People also ask

What are the four types of cloud networking?

There are four main types of cloud computing: private clouds, public clouds, hybrid clouds, and multiclouds. There are also three main types of cloud computing services: Infrastructure-as-a-Service (IaaS), Platforms-as-a-Service (PaaS), and Software-as-a-Service (SaaS).

What is cloud computing in networking?

Cloud networking is a type of IT infrastructure in which some or all of an organization's network capabilities and resources are hosted in a public or private cloud platform, managed in-house or by a service provider, and available on demand.

Do you need JavaScript for cloud computing?

JavaScript is the essential glue that holds cloud apps together.

Which of the following are advantages of cloud computing?

Apart from these, some more Cloud Computing advantages are:Resilient computing. Fast and effective virtualization. Low-cost software. Advanced online security.


2 Answers

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

like image 96
poy Avatar answered Sep 19 '22 23:09

poy


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.

like image 45
Chris K Avatar answered Sep 20 '22 23:09

Chris K