On 4/3/06, Rajeev Jha <[EMAIL PROTECTED]> wrote: > 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 ? >
Why then using tomcat at all? What's wrong with writing own app, which listens on a socket and does whatever it has to do? Before you have to rape tomcat to perform a task it was never designed for... Leon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]