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

feat: add strategy for file rollover #45

Open
pekasen opened this issue Apr 17, 2023 · 0 comments
Open

feat: add strategy for file rollover #45

pekasen opened this issue Apr 17, 2023 · 0 comments

Comments

@pekasen
Copy link
Member

pekasen commented Apr 17, 2023

Single JSONL-files per users are not really feaible for downstream database-persistance (since, we would have read the entire file and let SQLAlchemy's ORM-system figure out which things to persist).

Possible solutions:

  • keep user files in a seperate directory (e.g. `.ponyuexpress' ) and after a rollover period, move their contents into a single file for each rollover period.
  • do rollover in place (one file per user and rolloverperiod).
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

1 participant