[JDEV] scaling a single server

temas temas at box5.net
Wed Feb 9 11:47:41 CST 2000


If you wanted multiple servers to be @singlehostname.com, there is no exact
solution yet.  It really depends on how your setting it up, and is most likely
a proprietary solution at this point.  We are looking at a few ideas for out of
the box solutions, but I must say they aren't as friendly to a setup due to
many facts.  One of the primary points is XML processing.  With any protocol
you lose some time to the processing of the data stream, one of our ideas and
goals when looking at proprietary setups, we remove the XML parser and put it
in a seperate machine.  Then we look at adding a few boxes to handle the tons
of connections (I'm thinking fairly high here on a Linux box, that can only
be modded to a certain number of connections).  So at this point we've reduced
the load in a decent amount on the primary engines.  There are a lot of other
components to jabber that could run on it's own box for a solution of grand
proportions.  But I digress.

What kind of scaling do you need on a single box? We are looking at some pretty
cool ideas.  One of the problems that we've sort of kept quite for a while
(yeah we're bad) is that PTH does not play well with multiprocessor machines,
because the threading is userland it can only use a single processor.  When
jer and I met in NYC for the expo he proposed his solution on that and we
refined it a bit.  What we're looking at is making the different processors
do different parts, likein the multi box setup above.  Put the XML parser on a
processor, TCP handler, Garbage collector, etc... That way we utilize the box
more.  That should VASTLY increase single box scaling.  For single CPU systems
(as with any server)  there will be a max point that'll be hit.

--temas

On Wed, Feb 09, 2000 at 11:46:33AM -0500, Russell Nelson wrote:
> I was asking if anyone has any *experience* with scaling a single
> server.  In spite of all the replies, the answer seems to be "no".  I
> can see how you might use multiple servers if some of the users are
> foo at jabber1.example.com and some are bar at jabber2.example.com.  How
> would you use multiple servers if all of the users are
> foo at jabber.example.com?
> 
> -- 
> -russ nelson <sig at russnelson.com>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | "Ask not what your country
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20000209/8dd45c42/attachment-0002.pgp>


More information about the JDev mailing list