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

Can Collection object be serialized? #33

Closed
didip opened this issue Nov 29, 2021 · 2 comments
Closed

Can Collection object be serialized? #33

didip opened this issue Nov 29, 2021 · 2 comments

Comments

@didip
Copy link

didip commented Nov 29, 2021

I am thinking of serializing it into BadgerDB. Is there a safe mechanism to do so?

@kelindar
Copy link
Owner

Snapshots aren't supported right now, but I've been thinking of implementing it. Only thing supported is CDC via a transaction commit log, which can be used for durability purposes and replayed to create a read replica.

Do keep in mind tho, the API of this project isn't stable yet and will change in the future (guaranteed) - hence it's not yet versioned.

@kelindar
Copy link
Owner

Fyi, I merged the snapshotting today (see #39), there's still some work to be done to merge/reconcile incomplete transactions in case the snapshot happens concurrently with new writes, but most of the stuff should work.

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