10x Faster APIs with a Redis Query-Serving Layer by Sahil Gupta10x Faster APIs with a Redis Query-Serving Layer by Sahil Gupta

10x Faster APIs with a Redis Query-Serving Layer

Portfolio project
Sahil Gupta
Goal: recruiter-facing APIs on a large job platform were slow under heavy read traffic.
Solution: designed and built a dynamic Redis-backed query-serving layer in front of MySQL. Reads go cache-first with normalised cache keys and per-query TTLs, fall back to the database on a miss, and keys are invalidated when the underlying data changes. Added query and index tuning on the hottest paths.
Impact: API responses became 10x faster, and query and cache optimisation delivered a further 30% performance gain, taking load off the database.
Stack: Ruby on Rails, Redis, MySQL, background workers.

0 likes · 0 views · Nov 25, 2026

Designed and built a Redis-backed query-serving layer for a job platform's recruiter APIs: 10x faster responses, plus a 30% gain from query and cache tuning.

Tags