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 collect layers in production #39

Open
petterik opened this issue Jun 9, 2018 · 1 comment
Open

Garbage collect layers in production #39

petterik opened this issue Jun 9, 2018 · 1 comment

Comments

@petterik
Copy link
Owner

petterik commented Jun 9, 2018

:layer.merge/value and :layer.snapshot/db can sometimes be garbage collected. It's not a big deal during development, but it reduces the memory foot print which is nice for production.

@petterik petterik changed the title Garbage collect :layer.merge/value in production Garbage collect layers in production Jun 9, 2018
@petterik
Copy link
Owner Author

petterik commented Jun 9, 2018

:layer.merge/value can be removed once it has been merged into the app state and there's a snapshot ahead of the layer that "won't be removed because of re-applying layers".

Should probably mark snapshots that won't be removed/re-applied.

:layer.snapshot/db can be removed once there's a snapshot layer ahead of it that won't be removed.

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