Skip to content

Performance degradation (spikes) during flush invocation #19

@alexkon

Description

@alexkon

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions