Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

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

Closed
brailateo opened this issue Jan 7, 2016 · 2 comments
Closed

Comments

@brailateo
Copy link

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

@RichardLitt
Copy link
Contributor

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.

@flyingzumwalt
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants