Hibernate cowboy/sockjs processes to save memory
majek opened this issue · 1 comments
majek commented
Max suggests that we could use hibernate to save memory:
http://groups.google.com/group/sockjs/msg/152fc7a4c0718657
majek commented
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.