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

Connection Count Scale Test #24

Merged
merged 1 commit into from
May 18, 2024
Merged

Connection Count Scale Test #24

merged 1 commit into from
May 18, 2024

Conversation

neonphog
Copy link
Collaborator

RESOLVES: #8

  • Adds header config to the client so we can make use of the trusted ip setting in the server to get around rate limits for a bunch of local clients
  • Writes a connection count scale test

I ran this locally and got to 20,000 connections before I got bored. This is way above the connection count issues we've been running into with the previous signal server / turn servers.

Stats { client_count: 20052, messages_sent: 2908654 }

Btw, each connection sends a message every 2 seconds, so we had almost 3 million messages sent by the time I killed it.

Copy link
Member

@ThetaSinner ThetaSinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay for tests, and looks like good news in the results! :)

rust/sbd-bench/src/c_count_scale.rs Show resolved Hide resolved
rust/sbd-bench/src/c_count_scale.rs Show resolved Hide resolved
@neonphog neonphog merged commit 0bcb451 into main May 18, 2024
5 checks passed
@neonphog neonphog deleted the scale-test branch May 18, 2024 03:37
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

Successfully merging this pull request may close these issues.

SBD: measure 1-instance vertical scaling with multiple clients
2 participants