The Diaspora’s message protocol debate
ZerMQ? XMPP? or oStatus? or…?
There has been a quite debate of Diaspora lately for which message protocol it needs to implement. It has been proposed that Diaspora should follow the standard message protocol such as XMPP instead of making their own in-house message protocol.
Today, Raphael Sofaer, one of founding members of Diaspora project sent a message about this on the dev list, which seems quite interesting.
While I appreciate the desire for discussion and improvement, I’m trying to keep the github tracker more specific than things like a general dissatisfaction with our message passing technology. I think that email is a better place to discuss anyway, since the text isn’t restricted to github’s small column.
Anyhow, I sort of don’t understand this thread. We haven’t made a ‘choice of message passing technology’ in any meaningful sense, we could rip out that segment of the codebase and replace it pretty rapidly. All we are doing is using EventMachine’s non-blocking http request class to queue up and send out POSTs over HTTP. If we reached a point where XMPP was helpful, we could start using it. I’d rather not write an XMPP schema or similar doc until we are more sure of what we need.
ZeroMQ seems like a cool technology, but we aren’t having scaling problems or anything like that right now. If we do need more speed, we could certainly look at it.
We actually implemented OStatus for public posts a while back, but took it out of Diaspora until we had a real place in the UI for it. That will be back in fairly soon.
Thanks for being part of this design process,