Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] OS TCP keepalive with jetty websockets

Hi,

I'm using the latest Jetty build 9.0.4 and I'm wondering how can I use OS TCP keepalive for websockets connection instead of PING-PONG hearbeat protocol.

The issue with the ping-pong is that I'm using some "heavy" websockets and I have to support ~25k websockets on a small EC2 instance (AWS instance) behind ELB. AWS ELB in known to timeouts websockets connection if there is no traffic for 1 min. In this case, with ~20k websocket connections, ~20k ping-pong messages are sent each minute which drives CPU near 100%.

Please, advise.

Regards,
Igor

Back to the top