Ahmed Hany / Work / Mehrab Alquran

Mehrab Alquran

CTO · Cutting realtime infra cost by going self-hosted

Users
10,000+
Realtime
~500k min/mo
Infra cost
−70–90%
Uptime
99.5–99.9%

[ Context ]

Mehrab Alquran is a realtime Quran tutoring product — live one-on-one sessions between students and teachers. Flutter clients ship to the App Store, Google Play, the Microsoft Store, and the web from a single codebase, alongside a Next.js marketing site at mehrab-alquran.com.

I started as a contributor in 2025 and took over as CTO in January 2026, building the engineering side up from near-zero. Today the app serves 10,000+ active users and roughly half a million realtime minutes a month.

[ The problem ]

By late 2025 the product had proven itself, but the economics hadn't. Agora billed per minute used, and at ~500k realtime minutes a month the bill was climbing faster than revenue. Continuing on managed meant pricing the product out of reach for its core audience, or raising capital purely to pay a vendor.

So I led the move to a self-hosted LiveKit cluster — and rebuilt the orchestration layer around it.

[ Architecture ]

[ What I owned ]

[ Results ]


← Back to portfolio