[JDEV] Performance of jabber and IQ messages

Andy Hird andyh at myinternet.com.au
Tue Jan 23 17:44:31 CST 2001


I used the precompiled static binaries from jabber.org of the 1.2 server.

I hardly changed the config. I commented out the <update> line and changed the
<host> section to be the name of my local host.

I've just got the 1.2 source (and the CVS tree) and compiled it so maybe I'll
see if that makes much of a difference. 

I've also found what looks like a bug in the 0k authentication. If you have two
clients try to authenticate with the same username and password but a different
resource then the second fails. It looks like the client which contacts second
gets the same hash as the first client (and things start going wrong from
there). I can provide more details (and a demo client with the perl libraries).
Not sure whether this happens in 1.4

Andy


On 23-Jan-2001 Thomas Muldowney wrote:
> Sorry for the delayed reply... How did you build the server, what is the
> config?
> Anything else you feel I should know to anser more easily?
> 
> --temas
> 
> On Fri, Jan 19, 2001 at 12:16:18PM +1100, Andy Hird wrote:
>> Oops mistake.
>> I'm actually seeing times of 0.5 s for complete round trip of my requests -
>> so
>> ..25 s for the request and .25s back again. That time doesn't include any
>> processing done by the RPC server (ie. decoding SOAP messages and executing
>> the
>> remote precedure call). Its just the time it takes for the message to go via
>> jabber from one jabber client to another.
>> 
>> Andy
>> 
>> On 19-Jan-2001 Andy Hird wrote:
>> > 
>> > I'm seeing an average time of around .5 s for an IQ message to go from one
>> > jabber client to another. Both clients and the server are running one the
>> > same
>> > machine (its Debian Linux with a 2.2 kernel). 
>> > The messages are pretty small - around 800 bytes for both the outgoing
>> > request
>> > and the incoming response.
>> > 
>> > I'm writing the clients in perl with the module Net::Jabber.
>> > 
>> > Anyone have similar timings? Any advice?
>> > 
>> > Andy
>> > 
>> > 
>> > _______________________________________________
>> > jdev mailing list
>> > jdev at jabber.org
>> > http://mailman.jabber.org/listinfo/jdev
>> 
>> 
>> _______________________________________________
>> jdev mailing list
>> jdev at jabber.org
>> http://mailman.jabber.org/listinfo/jdev





More information about the JDev mailing list