Reputation: 199334
I'm about to code a pet project where part of the functionality relies in the notification from one machine to another.
The workflow is this:
So, my first thought was, create a server and client and that's it! And that's what I'm about to do, but I thought there must be already a something for this.
I know about XMPP but I think it will be overkill ( I don't know actually ) I also heard about pubsubhubbub which looks exactly what I need, but I'm not sure since this is a peer to peer app.
I just need a simple way to let the other peer "Hey, I've finish here" ... that's it, a ping or something.
Is there some sort of peer to peer notification library|plugin|framework out here?
Upvotes: 4
Views: 593
Reputation: 33052
PubSubHubbub is particularly suited for communication between heterogenous entities (different companies, different web apps... etc), but it should also work for what you're trying to build.
XMPP would also work pretty well for that use case, but I guess it depends on the medium you want to use as well. If it's a web application, then, XMPP can be quite complex to deal with (thru BOSH or over websockets).
If it's a simple web app that you want to build, you should probably look at a solution that is javascript based.
Upvotes: 1