Rajeev Jha schrieb:
Remy Maucherat wrote:
Yes, but you need the 5000 or so threads to do this, and there's no
workaround. So it is the real problem since it forces you to use
polling.
How about bypassing the servlets alltogether?
we can take any exisitng http/ajp13 connector code and replace the
servlet container service calls with our own hooks (i.e. chat backend).
The # of open sockets would still be very high but number of threads
servicing these sockets can be controlled.
what would be the biggest concern in writing such a connector ?
Well, that's an option but quite some work for a simple chat. I would
like to focus on the application logic and not have to reinvent the
wheel;) But you are right it is an option. Is the http/ajp13 connector
native or java code? And is it open source?
--
xxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Developer & Consultant
JBoss Inc
xxxxxxxxxxxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]