What exactly are you referring to?
Marek
Oh, right: sockjs-erlang :)
Hibernating processes too often is rather inefficient, but certainly,
we could hibernate sockjs_session processes and probably cowboy
processes handling websockets sometimes.
Hibernating processes handling polling/streaming transports won't
be that easy, as the code is constructed to hang on a selective receive:
https://github.com/sockjs/sockjs-erlang/blob/master/src/sockjs_action.erl#L192-217
But yes, hibernating some things is certainly worth doing. I filed an issue:
https://github.com/sockjs/sockjs-erlang/issues/15
Thanks,
Marek