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

Multiple producers #30

Open
fkloosterman opened this issue Mar 9, 2016 · 2 comments
Open

Multiple producers #30

fkloosterman opened this issue Mar 9, 2016 · 2 comments

Comments

@fkloosterman
Copy link

Hi,

I have successfully used disruptor-- in one of my projects. However, I would like to support multiple producers in different threads claiming from/publishing to a single ringbuffer. I see that the multi-threaded claim strategy is commented out - I assume because it has not been fully tested? The refactored code in the develop branch looks promising (and includes the multi-threaded claim strategy) - is this ready for use or should I wait until refactoring is fully done?

Thanks,
Fabian

@fsaintjacques
Copy link
Owner

Your assumptions are both valid. The refactored code is heavily influenced from the varon-t implementation, while the original code is taken almost verbatim from the java implementation.

I have not worked on this project lately, since I haven't had the need to integrate C++ at work.

@fkloosterman
Copy link
Author

I see. I am not sure how much I would be able to help out with the refactoring. Given that my code relies on the original disruptor--, I would first like to try to get the multi-threaded claim strategy to work. Are there any known issues that you came across?

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

2 participants