Skip to content

Reduce datastore writes #16

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

Merged
merged 2 commits into from
Nov 18, 2021
Merged

Reduce datastore writes #16

merged 2 commits into from
Nov 18, 2021

Conversation

adam-p
Copy link
Collaborator

@adam-p adam-p commented Nov 18, 2021

These changes reduce the need for frequent datastore writes by not writing when data hasn't changed, and by batching request metadata setting. This will hopefully partially mitigate the datastore corruption errors we sometimes see.

@adam-p adam-p merged commit 613169d into Psiphon-Inc:master Nov 18, 2021
@adam-p adam-p deleted the dedup-writes branch November 18, 2021 18:01
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

Successfully merging this pull request may close these issues.

1 participant