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

Make rdkafka-ruby Ractor safe #511

Open
mensfeld opened this issue Sep 14, 2024 · 4 comments
Open

Make rdkafka-ruby Ractor safe #511

mensfeld opened this issue Sep 14, 2024 · 4 comments

Comments

@mensfeld
Copy link
Member

No description provided.

@larskanis
Copy link

I added Ractor support to ffi-1.16 one year ago and now was just looking for projects which use this feature. Anyways there is a wiki page for FFI in conjunction with Ractors: https://github.com/ffi/ffi/wiki/Ractors Would be interested in some adoption.

@mensfeld
Copy link
Member Author

Hey @larskanis thanks. I know this link. My main issue with ractors atm is their limited scope of operations. Any benchmarks that I did that would involve CPU intense work (like data deserialization) eats up more resources and is more expensive in ractors than without, not to mention with forks :(

@larskanis
Copy link

Yes that's the problem. Ractor was made to improve the performance but it has so many performance issues. Among many others.

Nevertheless it's an exciting technology and I wanted ffi as an important core gem to support it properly.

@mensfeld
Copy link
Member Author

@larskanis I fully agree and that is one of the reasons why I created this card in the first place :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants