The Ruby on Rails Performance Apocrypha

Written by Nate Berkopec
The world's foremost Ruby on Rails performance expert and maintainer of the popular Puma webserver, Nate Berkopec, has compiled 4 years of short-form writing into a single volume: The Ruby on Rails Performance Apocrypha.

Appropriate for both beginners and experts, this short book is an introduction to performance science and engineering, frontend performance, Ruby performance, and scaling. The Apocrypha is a fun ramble with a lot of tidbits and useful information scattered about.

This book covers useful and important topics in Ruby and Rails performance, such as:

  • Benchmarks for Rails Apps
  • Reading Flamegraphs
  • Microservices and Trends
  • Why is Ruby Slow?
  • Popularity
  • Page Weights and Frontend Load Times
  • What is the GVL?
  • Reproducing Issues Locally
  • Worker Killers
  • Multi-threading
  • Read Replicas

... and much more.