Load balancing websockets

2021-07-28 Thread Sridhar Rao
Hi All, We are using the tomcat8.5 app nodes behind an Nginx Load Balancer. Whenever the LB takes out an app node from the pool, "existing" WebSocket connections are still staying with the app node. Also, if a new app node is added to the pool, WS connections are not load balanced as they are pers

PerMessageDeflate - Native Memory Pressure

2021-02-10 Thread Sridhar Rao
Hi All, We are using tomcat 8.5.47 with Java8. Recently we were seeing a lot of nodes getting restarted because of insufficient memory. Those nodes seem to be under native memory pressure. After doing some analysis, It appears that the native memory pressure is caused by the number of WebSocket co