Skip to main content

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

SO_KEEPALIVE would be nice too.

Regards,
Igor


On Wed, Jul 24, 2013 at 6:39 PM, Joakim Erdfelt <joakim@xxxxxxxxxxx> wrote:
No feature for this as of yet.

Added a bug to track this request


--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Developer advice, services and support
from the Jetty & CometD experts


On Wed, Jul 24, 2013 at 8:38 AM, Igor Tanackovic <igor.tanackovic@xxxxxxxxx> wrote:
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

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top