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

Factorize the iteration trough the entry queue to allow the writers to override it, for example to allow a bulk insert to a database #40

Closed
jachguate opened this issue Aug 27, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jachguate
Copy link
Owner

This is a must to achieve good performance while writing logs to a database connection.

With the current OpenLogChannel/CloseLogChannel approach, the writer would have to cache the log entries data passed as parameters to the write method. It is better to give the writer access to the queue and allow it to work with or cache the entries directly.

@jachguate jachguate self-assigned this Aug 27, 2023
@jachguate jachguate added the enhancement New feature or request label Aug 27, 2023
@jachguate jachguate added this to the v 2.4 milestone Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant