Rails Performance Engineering
Practical guides for making Rails applications faster, cheaper to run, and easier to debug in production. The focus is PostgreSQL, caching, background workloads, and the operational details that decide whether an optimization survives real traffic.
DATABASE
N+1 queries, indexes, materialized views, pg_stat_statements, and PostgreSQL schema choices.
CACHING
Solid Cache, Redis trade-offs, cache keys, expiry, and background refresh patterns.
OPERATIONS
Kamal, VPS sizing, worker isolation, queue monitoring, and infrastructure cost control.
PostgreSQL Optimization in Rails: N+1 and Slow Queries
The core performance guide: query profiling, indexing, N+1 elimination, materialized views, and production monitoring.
TimescaleDB vs Postgres in Rails
When hypertables, compression, continuous aggregates, and retention policies are worth adding to a Rails app.
Solid Cache in Rails 8
How database-backed caching changes the Redis decision, including setup, capacity, and production gotchas.
Deploy Rails 8 with Kamal to a VPS
Server hardening, Docker, SSL, migrations, and zero-downtime deploys for cost-conscious Rails infrastructure.
Mission Control Jobs
Queue visibility, failed job handling, dashboard access, and alerts for production background work.
Need a Rails performance audit?
I help Rails teams find the small number of database, cache, queue, and infrastructure changes that create the largest measurable improvement.
View performance services