[SR-Users] Websockets Keep-Alive

Juha Heinanen jh at tutpro.com
Thu Sep 26 15:55:24 CEST 2013


Peter Dunkley writes:

> A good example is that if you are using Amazon Elastic Load-Balancer to
> distribute WebSocket connections, idle connections will be timed-out (by
> the Load-Balancer) after 60 seconds - so make sure the server sends
> WebSocket pings more frequently than that.

peter,

websocket readme has this:

  4.1. keepalive_mechanism (integer)

  The keep-alive mechanism to use for WebSocket connections.

  Note

  If nathelper is only being used for WebSocket connections then nathelper
  NAT pinging is not required. If nathelper is used for WebSocket
  connections and TCP/TLS aliasing/NAT-traversal then WebSocket
  keep-alives are not required.

based on what you write now, is the above readme text still valid, i.e.,
are nat pings enough to prevent amazon load balancer from timing out
websocket connections or are native websocket pings needed instead?

-- juha



More information about the sr-users mailing list