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

Mediasoup Sfu: Limit the number getStats can happen at once #3

Closed
balazskreith opened this issue Dec 14, 2021 · 1 comment
Closed

Comments

@balazskreith
Copy link
Member

Background

It seems that a high number of parallel getStats at the same time causes a spike in CPU usage (moreover it causes in every 25 minutes?!).

Solution

One thing is to make the getStats for the mediasoup sfu optinal (already done), and other course of action is to limit the number of parallel getstats can happen at the same time before the promises are resolved.

@balazskreith
Copy link
Member Author

8ab7f5c

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