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

Use less cpu #93

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Use less cpu #93

wants to merge 2 commits into from

Conversation

elasticroentgen
Copy link

Hey!

I've added a small fix to make this run smoother on embedded systems like Raspberry Pi or the Beaglebone Black (both ARM systems).
I had CPU usage at about 25% without any connection to websockets on an ARM cortex A8 at 1GHz.

I added an property to tcpServer.cs that allows to set an max rate of new connections per second.
when i now set this to 5 on the ARM A8 it dropped to less then 2%.

-Markus

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.

1 participant