Case Studies
Focused notes on the problem, the engineering approach, and the measured result. Public work links to the underlying implementation whenever possible.
Related services: Rails performance consulting & Rails Consulting
Building an Anki inspired math and reading practice app
A client product build for Learn To Be: a focused Rails application that turns adaptive spaced repetition, reusable card templates, and phonics-aware content into a simple daily study flow.
Reducing role queries across Forem’s role-heavy paths
An open source Rails performance optimization that made role checks association-aware across Forem’s admin member list, CSV export, async user payload, and reCAPTCHA service.
Making Forem’s cold analytics backfill 10× faster
An open source Rails performance optimization that replaced per-article analytics recomputation with bulk SQL aggregation, cutting median backfill time by 90.1%.
Removing per-product queries from Gumroad’s Products API
A co-authored open source Rails performance fix that batch-loaded product serialization data, cutting mean response time by 40.4% and SQL events by 77.7%.
Reducing a Rails dashboard load time from over 2 seconds to under 200 ms
An anonymous Rails SaaS case study covering a greater than 90% reduction in dashboard load time, lower Sidekiq memory use, faster sitemap processing, and safer external-input handling.
Eliminating 762 repeated queries from OpenProject’s Work Packages API
An open source Rails performance fix that removed repeated type-variant lookups from OpenProject’s Work Packages API and cut median server duration by 55.7%.
Cutting Gumroad Sales API response time in half
An open source Rails performance fix that removed N+1 queries from Gumroad’s sales endpoint while preserving its API response.
Removing an N+1 query from Gumroad’s upsells dashboard
An open source Rails performance fix that halved mean request time for a large catalog by replacing per-product variant counts with one grouped query.
Making Discourse’s admin active-users endpoint 66.5% faster
An open source Rails performance fix that replaced per-user two-factor authentication checks in Discourse’s admin active-users endpoint with two batched queries.