These are chat archives for fanout/pushpin

Aug 2018
Justin Karneges
Aug 06 2018 05:38
hmm it's been awhile since we benched memory. the 10k number mainly comes from CPU usage (and even that number is pretty conservative)
per connection memory definitely less than 1MB. maybe more like 250KB in the worst case (due to a 200KB dynamic buffer) but much less in practice if you only send occasional messages and clients read them quickly
websocket connections have a 200KB dynamic buffer in both directions, so potentially higher there if the pipe is saturated both ways (but again not really ever the case in practice)