DEV Community

Rails Performance: Lessons from Production Series' Articles

Back to Dane Wu's Series
Diagnosing a slow Rails page, layer by layer
Cover image for Diagnosing a slow Rails page, layer by layer

Diagnosing a slow Rails page, layer by layer

6
Comments
4 min read
From 8s to 1s: Truly Understanding Rails N+1 by Opening Up ActiveRecord
Cover image for From 8s to 1s: Truly Understanding Rails N+1 by Opening Up ActiveRecord

From 8s to 1s: Truly Understanding Rails N+1 by Opening Up ActiveRecord

2
Comments
10 min read
A 1000x Speedup From One Index — and Why It Sometimes Does Nothing
Cover image for A 1000x Speedup From One Index — and Why It Sometimes Does Nothing

A 1000x Speedup From One Index — and Why It Sometimes Does Nothing

Comments
7 min read
ActiveRecord: You Wanted a Number, but Loaded 500,000 Rows Into Memory

ActiveRecord: You Wanted a Number, but Loaded 500,000 Rows Into Memory

Comments
6 min read
The Fastest Query Is the One You Never Run: The Four Layers of Rails Caching

The Fastest Query Is the One You Never Run: The Four Layers of Rails Caching

1
Comments
6 min read
We Added a Cache; Three Days Later It Took the Database Down at Peak

We Added a Cache; Three Days Later It Took the Database Down at Peak

1
Comments
5 min read
One Notification Email Made Our Checkout API 3 Seconds Slower

One Notification Email Made Our Checkout API 3 Seconds Slower

Comments
5 min read
Your SQL Is Fast but the API Is Slow: It's the Ruby Layer

Your SQL Is Fast but the API Is Slow: It's the Ruby Layer

1
Comments
4 min read
The Code Is Fine, but Requests Queue Until They Time Out: Puma, Pools, CDN

The Code Is Fine, but Requests Queue Until They Time Out: Puma, Pools, CDN

Comments
4 min read
You've Tuned the Queries and It's Still Slow — Now Change the Data Model

You've Tuned the Queries and It's Still Slow — Now Change the Data Model

Comments
7 min read