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

Request: standalone EBR implementation #131

Closed
loyd opened this issue Mar 13, 2024 · 4 comments
Closed

Request: standalone EBR implementation #131

loyd opened this issue Mar 13, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@loyd
Copy link

loyd commented Mar 13, 2024

I appreciate your implementation of EBR and plan to incorporate it into future projects, specifically for implementing a slab structure. However, I have concerns regarding the scc dependency potentially becoming heavy. Consequently, I would prefer to rely on a more lightweight crate.

Additionally, segregating EBR into its own dedicated crate would help scc's evolution, including potential breaking changes (e.g. #105). This separation allows for the coexistence of multiple scc versions (such as v2, v3, etc.) within the same project, each using the same collectors. A similar modular approach is already used across the ecosystem (e.g., signal_hook and signal_hook_registry crates).

So, what do you think about publishing scc-ebr and moving scc to use it?

@wvwwvwwv
Copy link
Owner

Looks like a great idea! Right now, I’m way too busy to make big changes to the crate, but I’ll definitely do this in the long run.

@changgyoopark-db changgyoopark-db added this to the SCC 2.1 milestone Apr 5, 2024
@changgyoopark-db changgyoopark-db added the enhancement New feature or request label Apr 5, 2024
@wvwwvwwv
Copy link
Owner

FYI: published https://crates.io/crates/sdd / source: https://github.com/wvwwvwwv/scalable-delayed-dealloc

=> This will be integrated into it next month.

@wvwwvwwv
Copy link
Owner

https://crates.io/crates/sdd

@loyd
Copy link
Author

loyd commented Apr 21, 2024

Thanks a lot!

loyd added a commit to loyd/idr-ebr that referenced this issue Apr 21, 2024
`scc::ebr` was moved to the dedicated crate `sdd`:
wvwwvwwv/scalable-concurrent-containers#131
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants