4 ms·
I feel like putting heartbeats themselves into the application level is a layering violation. They go in the session or presentation layer. WebSockets does it r
by derefr 10y ago
I feel like putting heartbeats themselves into the application level is a layering violation. They go in the session or presentation layer. WebSockets does it right, with its own heartbeat frame type that gets handled in userland but outside of your app's code.