So we are running an application where a node is actively maintaining several thousand websocket (cowboy) connections. Memory use is higher than I want so I’m thinking of putting connection handling processes that are not too busy into hibernation. Unfortunately the client sends a ping every 45 seconds which will awaken these processes.
My question is how expensive is the action of taking processes in and out of hibernation, there could be a few hundred at a time? Anyone have any experience on how latency is impacted? Getting data locally is a pain due to certain legal obligations.