Open Source 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
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%.
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.