Rubyweekly iconRubyweeklyAug 27, 2026 ~5 min source read

Bringing Rails into the Ractor age: what changed and what to watch

Ractors are becoming a practical option for Ruby web apps. This brief explains the reported benefits, concrete progress in Rails, risks called out, and the tooling updates that matter if you’re considering Ractors for production.

Bringing Rails into the Ractor age

Share this story

Send the public story page.

Useful takeaways from this story.

Ractors can reduce memory usage dramatically in some real-world Rails apps — one report cites nearly 7x memory savings compared with Puma.

Security and compatibility issues remain important: a universal Marshal.load gadget chain affects Ruby 4.0.6, and separate advisories affect the resolv gem and Rails 7.2 EOL dates.

# Why Ractors matter now Ractors are Ruby's parallel isolation primitive. The coverage in this issue argues they're now viable for production and will improve further in Ruby 4.1. The central appeal is running more work inside a single process while using multiple cores without the memory cost of many forked workers.

# Reported benefits and early data A real-world comparison cited here found nearly sevenfold memory savings when replacing Puma's multiple processes with a Ractor-based approach. That kind of reduction targets host cost and process-management overhead, especially for large monolithic Rails apps where duplicate memory footprint per worker adds up quickly.

# Ractors Rails contributors are making incremental changes to allow pieces of Rails to be safely used across Ractors. The work items mentioned include:

  • configuration, Action View settings, Active Record commit callbacks, and time zone configuration shareable across Ractors.
  • Fixes so Active Record's schema context doesn't deadlock during attribute initialization.
  • Using per-Ractor storage for event reporters on non-main Ractors.

# Tooling and ecosystem projects you can try

  • Kino: a Ractor-based web server for Ruby 4.0+ that uses every core in one process. It recently added a Rack handler, so rails server -u kino will boot, though Rails currently runs in a fallback (non-Ractor-shared) mode when full shareability isn't available. Kino demonstrates the practical path to using Ractors for HTTP workloads.
  • Jean Boussier's Balkan Ruby talk, highlighted here, argues for multiprocessing as an efficient way to serve Rails apps and is recommended background if you're evaluating parallel approaches.

# Other notable Rails and Ruby changes mentioned

  • Rails merged support for the HTTP QUERY method, which sends idempotent query payloads in the request body.

# Security and maintenance warnings

  • A universal deserialization gadget chain was found that can turn a Marshal.load call into remote code execution on Ruby 4.0.6. The write-up is a reminder to avoid Marshal.load on untrusted input.
  • Rails 7.2 reached end-of-life on Aug 9, so teams should check their audit and maintenance timelines.

# What this means for teams If you're looking to reduce memory cost and explore per-process concurrency inside one process, Ractors are approaching practicality. Expect a gradual migration: Rails itself is being hardened for shareability, but full Ractor-first Rails apps aren't a single switch yet. Try Ractor-based servers like Kino in development and staging, follow the Rails changes to the subsystems you rely on, and pay close attention to security advisories (e.g., Marshal.load) before using serialized data across process boundaries.

# Practical next steps

  • Experiment with Kino for non-critical workloads to measure memory and performance in your environment.
  • Track Rails pull requests and changelogs that affect Action View, Active Record, and configuration shareability.
  • Audit any use of Marshal.load and update dependencies (resolv) where relevant.
  • Plan Rails upgrade and maintenance timelines given Rails 7.2 EOL.

More context around this story.

Ractor-ready Rails, ordered cache fetches, and more!
Rubyonrails iconRubyonrailsSep 4, 2026

Ractor-ready Rails, ordered cache fetches, and more!

Originally appeared on Ruby on Rails: Compress the complexity of modern web apps . Hi, it’s Vipul . Let’s explore this week’s changes in the Rails codebase. Agents on Rails: Claude Fable 5.1 and GLM 5.3 Flash Claude Fable 5.1 matched Opus 5 at the top of the Agents on Rails leaderboard with 58 of 63 successful runs, wh

Ruby 4.0: ZJIT, Ruby Box, and Ractors
Fastruby iconFastrubySep 1, 2026

Ruby 4.0: ZJIT, Ruby Box, and Ractors

Originally appeared on The Rails Tech Debt Blog . Ruby 4.0 was released on December 25, 2025, and three features get cited most often when people talk about it: ZJIT, Ruby Box, and a reworked Ractor API. Two of those three features are experiments you have to turn on deliberately. The third one removes methods. In this

A new attempt to fork Rails
Rubyweekly iconRubyweeklyAug 13, 2026

A new attempt to fork Rails

Originally appeared on Ruby Weekly . #​813 — August 13, 2026 Read on the Web 🗓️ A scheduling note : We're taking a summer break next week, so we'll be back on August 27. Catch you then! __ Your editor, Peter Cooper Ruby Weekly Ruby 2D 1.0: SDL3, WebAssembly, and a Comeback Story — After three years dormant, Tom Black'

This Week in Rails: August 28, 2026
Rubyonrails iconRubyonrailsAug 28, 2026

This Week in Rails: August 28, 2026

Originally appeared on Ruby on Rails: Compress the complexity of modern web apps . Hi, it’s Greg . Let’s explore this week’s changes in the Rails codebase. Agents on Rails: lemans goes open source Another week, another update from Agents on Rails. This one is a big one: lemans, the harness behind every number we’ve pub

Dohmen iconDohmenAug 9, 2026

Rails is done

Originally appeared on lucas.dohmen.io . If you need more context on why Rails needs a new leadership, here is David Celis summing it up a year ago , Paul Battley a few weeks ago , and—even though it is hard to believe—it even got worse since then. How could a fork even work? Rails is a huge code base and has multiple

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app