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

Replication objects and sub-binaries #37

Open
martinsumner opened this issue Jul 6, 2024 · 0 comments
Open

Replication objects and sub-binaries #37

martinsumner opened this issue Jul 6, 2024 · 0 comments

Comments

@martinsumner
Copy link

Buckets and Keys are pattern matched in nextgenrepl replication binaries - so that they be treated within the memory management as sub-binaries. A reference will be kept for the Bucket/Key - potentially until the Bucket/Key is persisted to a L0 file - but this means that a reference to the replicated binary must be kept.

It would be more efficient to binary:copy/1 the Type/Bucket/Key when extracting so that the full replication object can be de-referenced once it has been decoded.

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