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
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