← Graph

What are typical Rails performance problems?

question 1 connections

First question of the panel. Stephen: database bottlenecks get the attention but ActionView partials are often the hidden killer — a single extra partial can add 40% latency. Caio: the deeper issue is forgetting that framework black boxes are doing real work — loading big collections in memory (use find_each), serializing large objects into background jobs, etc. Maciej: fetching too much data, too many queries, or joining data from two sources in Ruby (re-implementing database algorithms on the application layer with nested loops or hashes).

answer_summary
Partials/views, misunderstood framework calls (each vs find_each), big serialized objects in jobs, over-fetching, and cross-source joins in Ruby.
question What are typical Rails performance problems?
asked_at
Opening moderator question.

Provenance

Created in
Performance Panel at wroclove.rb 2024 2026-04-17 23:20