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

garbage collection? #28

Open
benoitc opened this issue Oct 11, 2016 · 1 comment
Open

garbage collection? #28

benoitc opened this issue Oct 11, 2016 · 1 comment

Comments

@benoitc
Copy link

benoitc commented Oct 11, 2016

You don't describe how you handle the garbage collection, can you give any hint on how you do it?

@dgrnbrg
Copy link
Collaborator

dgrnbrg commented Oct 13, 2016

Sure! First of all, GC is a property of the backend, so that it can be optimized for the backend's performance characteristics (cheaper reads vs writes, cheaper point queries vs scans).

For the Redis backend, the GC is refcounting (there's a file in docs/ that goes into detail). For other backends, there's a new experimental tracing GC that avoids extra writes, and instead batches up the GC 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