You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for providing this library; we found it highly performant and quite useful.
However, we need to use it in a different scenario, with only a single producer and multiple consumers. Upon reading the code, I think a very similar implementation would work, where instead of maintaining per-producer seen/ready-offset, we maintain a separate offset per consumer. During acquiring, the (single) producer checks the offset of each producer, and use the lowest one as the available acquirable range.
Is my understanding correct? If so, do you have plans on implementing such a SPMC ring buffer?
Thanks!
Suli
The text was updated successfully, but these errors were encountered:
Honestly, I don't have a budget on this :/ --- though I can certainly
appreciate the effort required.
So I was thinking if I am in the right direction and if this is not in your
implementation plan, then maybe I could take the task and implement it...
Suli
Hi,
Thank you for providing this library; we found it highly performant and quite useful.
However, we need to use it in a different scenario, with only a single producer and multiple consumers. Upon reading the code, I think a very similar implementation would work, where instead of maintaining per-producer seen/ready-offset, we maintain a separate offset per consumer. During acquiring, the (single) producer checks the offset of each producer, and use the lowest one as the available acquirable range.
Is my understanding correct? If so, do you have plans on implementing such a SPMC ring buffer?
Thanks!
Suli
The text was updated successfully, but these errors were encountered: