2 ms·
How expensive is it to just keep a connection open?
by Ma8ee 2y ago
How expensive is it to just keep a connection open?
- swiftcoder 2y agoAbout 20 kilobytes of socket + TLS state, if you've really optimised it down to the minimum. Most server software isn't that lean, of course, so pick a framework designed for running a million or so concurrent connections on a single server (i.e. something like Nginx)