by nulltype · 11y ago · 0 comments
For comparison, I checked my not-very-optimized go server, and it looks like (based on VSZ value) to use 25KB per connection in go, with 43KB per connection used by nginx (to provide SSL termination).
Depending on your traffic patterns, considering the broadcast activity is potentially important, and then you might worry more about CPU than RAM.
I use redis myself, but gnatsd or redis cluster may help with scaling the pubsub part of the system.