[WS-XMPP] heavy load
Roberto Ostinelli
roberto at openspime.com
Fri Oct 31 15:08:30 CDT 2008
dear all,
i know this list has been unused for a while, and i sure do hope that all of
you guys are not too busy in using xmpp to implement m2m communications :) i
have an issue i'd like to discuss, if some kind soul around here will lend
an hear to me i'd be delighted.
we are using xmpp to send various data from xmpp clients to an unique jid.
this jid is a service, written in python, which needs quite some
computational power to respond. i need to ensure that this unique jid is
able to handle loads of traffic, and by loads, i mean *loads*.
i cannot use pubsub or chat rooms since we use <iq/> for request-response
mechanisms [pubsub and chat rooms only spreads out <message/> stanzas afaik,
unless i'm missing something here].
the option i am currently thinking is to use a custom server module [we use
ejabberd] that creates a route, and load balances incoming stanzas by
re-addresses them to different jids, each one of those being handled by a
different client [and hardware]. i.e., some kind of load balancer built in
ejabberd.
what do you think? how would you proceed? peter, is there something in the
protocol i'm missing out [definitely possible]?
i believe that taking care of havy traffic is in the very nature of m2m
communication, and this one shouldn't be too hard.
thank you in advance, xmpp-ers! :)
r.
More information about the WS-XMPP
mailing list