You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Deshmukh, Kedar" <dk...@ptc.com> on 2021/10/06 10:02:41 UTC
Understanding websocket support in Tomcat
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
Re: Understanding websocket support in Tomcat
Posted by Mark Thomas <ma...@apache.org>.
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org