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

Performance degradation (spikes) during flush invocation #19

Open
alexkon opened this issue Feb 21, 2020 · 1 comment
Open

Performance degradation (spikes) during flush invocation #19

alexkon opened this issue Feb 21, 2020 · 1 comment

Comments

@alexkon
Copy link

alexkon commented Feb 21, 2020

image

Hi, guys!
Thank you for this library 🙏
We use it to handle log requests and responses in our REST service.
It works fine with a small load 👍
But when we have a heavy load it has big latency spikes (every 5 sec) for our REST service.
I suppose it happens because flush method works in main process.
Could you please give advice about how we could eliminate such performance degradation spikes?
Maybe we should move log invocation to a separate process or something like that?

@erfan-mehraban
Copy link

According to this line this package doesn't flush on main thread.

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

2 participants