Skip to content
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

Add test for high throughput #86

Open
cryptiklemur opened this issue Jul 23, 2018 · 0 comments
Open

Add test for high throughput #86

cryptiklemur opened this issue Jul 23, 2018 · 0 comments

Comments

@cryptiklemur
Copy link

Might be beneficial to test that implementations dont crash/segfault when experiencing very high throughput.

As a very simple (and possibly not helpful) example:

DiscordApp bots require a websocket conenction. Bots that are written in JS can use the ws package, or the uws package.
uws is significantly faster than ws, but when you are running a bot (or a shard) that is on a large number of guilds/servers (like, 1000+), uws starts segfaulting due to the throughput (amount and size of the traffic). The ws package does not have this issue at all, all the way to the guild cap per shard of 2000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant