[ejabberd] XMPP for "Live" Open Street Map

Brian Cully bcully at gmail.com
Wed May 13 21:39:19 MSD 2009

	I'd recommend using PubSub over MUC. PubSub is far more configurable  
on the client and server end than MUC and allows finer control over  
delivery. The only potential drawback is that, without hacking  
ejabberd, you must backend your data into mnesia rather than a  
traditional database.

	300k per minute is no big deal and ejabberd should be able to keep up  
with it easily. A bigger concern is the size of each stanza, as large  
stanzas can slow down client interactivity because XMPP cannot  
interleave stanza delivery. Thus one big stanza will prevent delivery  
of many smaller stanzas until the big stanza itself has been delivered.


On 13-May-2009, at 12:31, Bernhard zwischenbrugger wrote:

> Hi all
> I think you already know
> http://openstreetmap.org
> Everybody can edit the map - it works like Wikipedia.
> All the edit clients send XML data to a central database.
> To synchronize other databases there are diffs available:
> http://planet.openstreetmap.org/minute/
> At the moment there is a discussion about live data:
> http://lists.openstreetmap.org/pipermail/talk/2009-May/thread.html#36814
> Now my question:
> Would it be possible to post all the Open Street Map for  
> distribution to a jabber server?
> The easiest way would be to post all the incoming XML data directly  
> to a jabber groupchat.
> Everybody could listen to the groupchat and do with the data what he  
> wants.
> BUT there are really lots of data. Today I've seen 300kByte per  
> minute and it was a silent day.
> Is ejabberd able to handle that payload?
> Thanks
> Bernhard
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

More information about the ejabberd mailing list