[jdev] Vapor (C# XMPP Server)

Artur Hefczyc ajdev at tigase.org
Fri Apr 4 17:28:36 CDT 2008


On 4 Apr 2008, at 14:47, Tomasz Sterna wrote:
> Dnia 2008-04-04, pią o godzinie 14:45 +0200, Norman Rasmussen pisze:
>> I really don't understand why people rolled their own XML parsers for
>> their XMPP libraries.
>
> Who did? Could you give some examples?


I did. Tigase server (project) uses my own implementation of the XML  
parser.
Why?
If you work on the server and if you are going to support high load  
you really
need as much control over everything as possible to make sure you can  
save
bytes of memory and ticks of CPU.
I was able to significantly increase performance of the Tigase server  
just with
improvements in the XML handling code.
If you are interested in the difference it can make compare results of  
the tests
I made before and after small code change:
before: http://www.tigase.org/node/1368
after: http://www.tigase.org/node/1373

I would not be possible if I used third party XML parser.

Artur
-- 
Artur Hefczyc
http://www.tigase.org/
http://artur.hefczyc.net/




More information about the JDev mailing list