Skip to content
Navigation menu
Search
Powered by Algolia
Search
Log in
Create account
DEV Community
Close
Rails Performance: Lessons from Production Series' Articles
Back to Dane Wu's Series
Diagnosing a slow Rails page, layer by layer
Dane Wu
Dane Wu
Dane Wu
Follow
Jun 21
Diagnosing a slow Rails page, layer by layer
#
rails
#
performance
#
postgres
#
database
6
reactions
Comments
Add Comment
4 min read
From 8s to 1s: Truly Understanding Rails N+1 by Opening Up ActiveRecord
Dane Wu
Dane Wu
Dane Wu
Follow
Jun 25
From 8s to 1s: Truly Understanding Rails N+1 by Opening Up ActiveRecord
#
rails
#
activerecord
#
performance
#
sql
2
reactions
Comments
Add Comment
10 min read
A 1000x Speedup From One Index — and Why It Sometimes Does Nothing
Dane Wu
Dane Wu
Dane Wu
Follow
Jun 25
A 1000x Speedup From One Index — and Why It Sometimes Does Nothing
#
rails
#
database
#
sql
#
performance
Comments
Add Comment
7 min read
ActiveRecord: You Wanted a Number, but Loaded 500,000 Rows Into Memory
Dane Wu
Dane Wu
Dane Wu
Follow
Jun 26
ActiveRecord: You Wanted a Number, but Loaded 500,000 Rows Into Memory
#
rails
#
performance
#
database
#
ruby
Comments
Add Comment
6 min read
The Fastest Query Is the One You Never Run: The Four Layers of Rails Caching
Dane Wu
Dane Wu
Dane Wu
Follow
Jun 27
The Fastest Query Is the One You Never Run: The Four Layers of Rails Caching
#
rails
#
performance
#
caching
#
redis
1
reaction
Comments
Add Comment
6 min read
We Added a Cache; Three Days Later It Took the Database Down at Peak
Dane Wu
Dane Wu
Dane Wu
Follow
Jun 27
We Added a Cache; Three Days Later It Took the Database Down at Peak
#
rails
#
performance
#
caching
#
redis
1
reaction
Comments
Add Comment
5 min read
One Notification Email Made Our Checkout API 3 Seconds Slower
Dane Wu
Dane Wu
Dane Wu
Follow
Jun 28
One Notification Email Made Our Checkout API 3 Seconds Slower
#
rails
#
performance
#
ruby
#
sidekiq
Comments
Add Comment
5 min read
Your SQL Is Fast but the API Is Slow: It's the Ruby Layer
Dane Wu
Dane Wu
Dane Wu
Follow
Jun 28
Your SQL Is Fast but the API Is Slow: It's the Ruby Layer
#
rails
#
performance
#
ruby
#
webdev
1
reaction
Comments
Add Comment
4 min read
The Code Is Fine, but Requests Queue Until They Time Out: Puma, Pools, CDN
Dane Wu
Dane Wu
Dane Wu
Follow
Jun 28
The Code Is Fine, but Requests Queue Until They Time Out: Puma, Pools, CDN
#
rails
#
performance
#
puma
#
postgres
Comments
Add Comment
4 min read
You've Tuned the Queries and It's Still Slow — Now Change the Data Model
Dane Wu
Dane Wu
Dane Wu
Follow
Jun 29
You've Tuned the Queries and It's Still Slow — Now Change the Data Model
#
rails
#
performance
#
database
#
postgres
Comments
Add Comment
7 min read
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account