Re: Understanding websocket support in Tomcat

2021-10-06 Thread Mark Thomas

On 06/10/2021 11:02, Deshmukh, Kedar wrote:

Hi,

I would like to understand,

How many concurrent websocket connections are allowed in tomcat ?


As many as your hardware / OS will support.


Is there any limit ?


maxConnections on the Connector. Defaults to 8192. Use -1 for unlimited.


Are connector worker-threads consumed for any websocket connect ?


Yes. Connections are maintained without using a thread. Processing an 
incoming message uses a thread until the message (or partial message) 
processing is complete.



If not, then, is there any special configuration available for websockets ?


No.

Mark

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



Understanding websocket support in Tomcat

2021-10-06 Thread Deshmukh, Kedar
Hi,

I would like to understand,

How many concurrent websocket connections are allowed in tomcat ? Is there any 
limit ?

Are connector worker-threads consumed for any websocket connect ? If not, then, 
is there any special configuration available for websockets ?

Thanks,
Kedar