sockjs-erlang icon indicating copy to clipboard operation
sockjs-erlang copied to clipboard

Hibernate cowboy/sockjs processes to save memory

Open majek opened this issue 13 years ago • 1 comments

Max suggests that we could use hibernate to save memory: http://groups.google.com/group/sockjs/msg/152fc7a4c0718657

majek avatar Feb 24 '12 10:02 majek

There are at least three issues with current implementation:

  • We do hibernate cowboy websocket process, but we don't hibernate sockjs_session process
  • We don't hibernate cowboy xhr processes
  • On keepalive (every 25 sec by default) we wake up the ws process and it waits a timeout before going back to sleep.

majek avatar Apr 12 '12 11:04 majek