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