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

Memory only ring buffer #62

Open
pyricau opened this issue Oct 4, 2024 · 1 comment
Open

Memory only ring buffer #62

pyricau opened this issue Oct 4, 2024 · 1 comment

Comments

@pyricau
Copy link

pyricau commented Oct 4, 2024

Log frameworks can be fairly hard on SSDs and shorten their lifes. We have some devices for which we're ok with the trade off of losing log data on crashes, with the benefit of never writing to disk. There's also a middle ground where you try to flush to disk only when a crash happen (and are ok with that potentially not working).

@mattklein123
Copy link
Contributor

We can support this fairly easily by having a config option which would enable the memory buffer only vs. the aggregated buffer.

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