Ractor::Wrapper and the Ractor improvements in Ruby 4
Ractor::Wrapper makes non-Ractor-shareable service objects (such as db connections) accessible from multiple Ractors. https://daniel-azuma.com/blog/2026-05-02-ractor-wrapper/ discusses how the improvements in Ruby 4.0 made it usable.
Post a comment