Using IPFS for RPC execution, pool of workers and messaging between nodes

From @brailateo on Thu Jan 07 2016 17:09:12 GMT+0000 (UTC)

I think it would be nice and easy to implement some features that will allow some sort of RPC execution.

I’m looking at:

ipfs ping -n 3 <node>

and I think it might be also a

ipfs call -t "topic" -d "somedata" <node>

and the remote node should do a

ipfs register -t "topic" <executable>

that will read “somedata” from stdin and return a result

I think it might open a lot of opportunities to develop some applications that can use ipfs for distributed workers in the network.
One might develop an executable (for a platform), add it to ipfs, send the hash to friends that want to help with some resources, they will get and pin the executable, register it under the “whatever” topic. The coordinator will dht findprovs the nodes that are online and send work. The result of the work might be a short string (<1kB) or a hash of an object that the worker will deposit in his ipfs if the result is larger.
Teo


Copied from original issue: https://github.com/ipfs/faq/issues/90

From @RichardLitt on Thu Mar 10 2016 22:05:37 GMT+0000 (UTC)

It might be!

I would suggest putting this in ipfs/notes, as it will likely garner more comments there. Also, I’m not sure this is a frequently asked question.