tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Piatek1 <anton.pia...@uk.ibm.com>
Subject RE: websockets holding on to threads.
Date Mon, 08 Apr 2013 13:16:58 GMT
"Caldarale, Charles R" <Chuck.Caldarale@unisys.com> wrote on 08/04/2013 
13:30:00:

> From: "Caldarale, Charles R" <Chuck.Caldarale@unisys.com>
> > From: Anton Piatek1 [mailto:anton.piatek@uk.ibm.com] 
> > My thinking about it being a bug is that to support N clients with 
> > websockets, you need N threads available on tomcat, even though they 
are 
> > only getting updates every x seconds. 
> 
> I don't know if this will have any effect, but try using the NIO 
> <Connector> instead of the BIO one.  Set the protocol attribute to 
> org.apache.coyote.http11.Http11NioProtocol and see what happens.

Thanks, had just noticed that myself. Will give it a try

Anton





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message