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

Look into caching read/write indices in SPSC? #7

Open
sharpobject opened this issue Mar 26, 2022 · 0 comments
Open

Look into caching read/write indices in SPSC? #7

sharpobject opened this issue Mar 26, 2022 · 0 comments

Comments

@sharpobject
Copy link

Hello,

I found an interesting post in which the author claims that he gets more throughput from storing a separate cached value of the read/write index of his SPSC queue and using that value until it no longer implies the operation is possible, and only then performing the atomic read of the uncached value. If you use the SPSC a bunch, maybe you could see if this helps.

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