Thread-Coordinated Ractors: The Pattern That Delivers
Ractors have been "experimental" since Ruby 3.0. Four years later, most developers still haven't found a practical use for them.
I did. By moving message deserialization into a Ractor pool, Karafka achieves up to 70% throughput improvement on certain workloads - without requiring users to change a single line of code.
This talk covers the architecture, the patterns that actually perform, and what I learned about making Ractors useful in production.
-
Maciej MensfeldI'm Maciej Mensfeld, a Software Architect with 17+ years of Ruby experience. I'm the creator of the Karafka framework, maintainer of Shoryuken, and a member of the RubyGems security team.
I've spent over 10 years building message processing systems in Ruby.
When I'm not building processing frameworks or maintaining OSS, I co-organize the Kraków Ruby Users Group.