tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: websockets holding on to threads.
Date Mon, 08 Apr 2013 19:32:18 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Chuck,

On 4/8/13 8:30 AM, Caldarale, Charles R wrote:
>> From: Anton Piatek1 [mailto:anton.piatek@uk.ibm.com] Subject: Re:
>> websockets holding on to threads.
> 
>> 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.

+1

I think there was a recent discussion about using Websocket under BIO:
basically, you go back to sucking again.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRYxtCAAoJEBzwKT+lPKRYktEP/3sZVejpzAngSi+Zjy3Ln8lx
BS00kfRuShtGGN10OVbaGqyFdVQqnxhoENW/6Bjvc4joUsS2pX2ygVKFYqElKaNw
t0leP+m5uEncILJti25o/X11VlxBbFJBkYZtpNvusGrEcQnCR7dODOQT2EYKn9pR
dER7RSgN9TjzQVUL7IBM8pixkSVvsnFGaJ/mGN+gs6W6Tg9PYHoRLjTc2c3JhoSD
B5FITbIufSWo/5P66+wnXmO6i06PuoKmHDOGhghIbo0cynu8ayFbzgY7Dt2GzB6f
1RzxwR9sosgFpC3JLGoN7O8B7qZB1M8ZGL8SLhuvGunKzev6zBZxw6Dpuvtk70LX
6xsl7nOcfgz0n+BqrnIxCzJzXyJUBSz6xfo8HdRGMrYK7BjdIJDyQGgG9kSgOFT2
gDq66v3yimJYkt+iFntKUQah4aItv4KVQJqOXlQa8IS8wqhjHzB9/nbpPGAe9BBn
Aals6RsV5Xoh1rJG9fw/VS2Wvjo+yB8gAxuM/HLrMLPu42c31sEZsimrr9ARxBfM
A+PKbuGwJ+hMN+rEppHDbm/Hd1sRe8Uj/FJkg5WoMEXfz8WkEhts2+BrGLwa1lFK
6CR3UXMHoBhZhWnpqYgYiIMdFNqojeco84vwVbuobN4S2u3R6p1TuhRvCeMHKRm4
MTJDbBSt3v6k7ONTXvwK
=4iXj
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message