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

Goals and non goals #8

Open
XiangpengHao opened this issue Nov 14, 2022 · 2 comments
Open

Goals and non goals #8

XiangpengHao opened this issue Nov 14, 2022 · 2 comments

Comments

@XiangpengHao
Copy link
Owner

XiangpengHao commented Nov 14, 2022

The high level API of congee is not locking based. It always returns a copy of the data (not reference), i.e., a snapshot of the value at the moment of reading. This also means that the returned value may not be the latest. Users need to incorporate the compare_exchange API (similar to the ones in std::atomic) to implement locking operations.

@XiangpengHao
Copy link
Owner Author

XiangpengHao commented Dec 21, 2022

The Congee projects starts with 8 fix-sized byte keys. In the future we might elevate this restriction.

@XiangpengHao
Copy link
Owner Author

Congee should be linearizable. We need some tools to check linearizbility: https://arxiv.org/pdf/1504.00204.pdf and https://github.com/anishathalye/porcupine

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