-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmarks #17
Comments
Hi, did you read https://medium.freecodecamp.org/million-websockets-and-go-cc58418460bb? |
10kB per connection amounts to 10GB for 1 million connections... if my calculations are correct, that's not so light tho |
How many KB per connection do you think is light enough? I think 10KB is amazing for a Go program where a launching a goroutine is between 4-8KB itself. |
Yes your statement is very true, when compared to the goroutine allocation. |
Hi @ohenepee, hi @gonzaloserrano =) Thus, it much depends on use cases and behaviour patterns of your connections. For example, if some read event occur on connection, which size of the read buffer you will use? So it also makes differences on memory consumption. Cheers !👍 |
Being low-level, how does it fare against Gorilla WebSockets and the awesome uWebSockets... say for 1 million connections? Primarily when it comes to RAM usage.
The text was updated successfully, but these errors were encountered: