A Guide to Full-Stack Rails Optimization

A deep-dive case study on optimizing a Rails app, tackling everything from slow data imports (using bulk inserts) to sluggish page loads (fixing N+1 queries and adding database indexes). We cut import times by 40% and page loads by over 90%.

August 27, 2025 · 4 min · Aleksei Iaroslavtsev

From 20 Seconds to 6: A Guide to Ruby Concurrency

An architectural breakdown of solving a concurrency challenge in Ruby, moving from a naive sequential model to a robust, scalable pattern using structured concurrency.

August 27, 2025 · 5 min · Aleksei Iaroslavtsev

From Hours to Seconds: A Systematic Guide to Ruby Performance Optimization

A step-by-step walkthrough of how we optimized a Ruby script that was too slow to run, reducing its runtime to under 30 seconds using a methodical, profile-driven approach.

August 27, 2025 · 5 min · Aleksei Iaroslavtsev

Taming Ruby's Memory Bloat: A Practical Guide to Processing Large Files

A case study on how we reduced the memory footprint of a data-processing Ruby script from over 200MB to under 70MB by ditching CSV.read and adopting a streaming, batch-processing approach.

August 27, 2025 · 4 min · Aleksei Iaroslavtsev