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

perf: do not write back initial session data if unchanged #707

Closed
Tracked by #675
KnorpelSenf opened this issue Dec 15, 2024 · 0 comments
Closed
Tracked by #675

perf: do not write back initial session data if unchanged #707

KnorpelSenf opened this issue Dec 15, 2024 · 0 comments

Comments

@KnorpelSenf
Copy link
Member

We currently regard the generation of initial session data as a write op, so we write back identical data many times to the database. This makes no sense because we might as well re-generate it next time. This can save a lot of write ops and even reduce the number of stored values by a lot if sessions are used sparingly.

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