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

avoid global mutex for better concurrency #306

Open
taylorchu opened this issue Jan 30, 2024 · 0 comments
Open

avoid global mutex for better concurrency #306

taylorchu opened this issue Jan 30, 2024 · 0 comments

Comments

@taylorchu
Copy link

taylorchu commented Jan 30, 2024

If we have a high rate of /send_metrics requests, both /metrics and /ping will time out. Because /ping is used for liveness check, the pod will be killed, and we end up dropping metrics. Initially, I thought it was related to webrick #146, but it is more likely to be this global mutex

We have about ~800 metrics, but the remote /send_metrics is about ~1000/s.

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

No branches or pull requests

1 participant