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

Initial offline write support #1801

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Initial offline write support #1801

wants to merge 13 commits into from

Conversation

penberg
Copy link
Collaborator

@penberg penberg commented Oct 30, 2024

This pull request adds a new type of database, synced database, which
allows local writes that can sync to a remote server.

The protocol on server side is simple:

POST /sync/<generation>/<start_frame>/<end_frame>

where request body is the WAL frames.

This patch add initial support for offline writes. To open a local
database that can sync to remote server, use the
Builder::new_synced_database() API.
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