Hezardastan Group (Cafe Bazaar & Divar) · 2010 – 2017
In-App Billing & Zero-SPOF Infrastructure at Scale
Two scaling chapters at Hezardastan Group: unified mobile payments (2013–2015) followed by fault-tolerant core infrastructure (2015–2017)
Role: Co-Founder & Product Leader (In-App Billing → Core Infrastructure)
40M+
Active users on flagship app marketplace
< 2 Hours
Developer billing SDK integration (from days)
3×
API latency drop (300ms down to 100ms)
1,000+ RPS
Zero-SPOF infrastructure throughput
Overview
After co-founding Cafe Bazaar (a mobile app marketplace that scaled to 40M+ active users and a 200+ person organization) and sibling online classifieds marketplace Divar (30M+ monthly active users), my product leadership evolved through two distinct, sequential scaling chapters: first building the ecosystem’s monetization backbone, and later re-architecting the core infrastructure underneath it.
Part 1: Unified In-App Billing Platform (2013–2015)
Challenge & Context
As Cafe Bazaar grew to tens of millions of users, third-party mobile developers struggled with fragmented monetization and manual payment processing. Unlocking sustainable app and game economics required a unified, developer-friendly in-app billing platform capable of banking-grade ledger integrity and zero transaction loss under peak seasonal traffic.
Execution & Outcomes
- Developer Experience & Client SDK: Built a lightweight mobile billing SDK and ran developer-experience research to streamline integration from days down to under 2 hours.
- 1-Tap Checkout & Ledger Integrity: Partnered with security, core backend, and mobile teams to deliver 1-tap checkout flows and subscription management backed by strict idempotency and automated settlement reconciliation—handling millions of monthly transactions with zero critical ledger discrepancies.
- Commercial Inflection: Accelerated paid-app sales and launched in-app billing as a net-new revenue stream; within one year of launch, daily in-app billing revenue surpassed total paid-app downloads.
Part 2: Zero-SPOF Infrastructure & API Gateway (2015–2017)
Challenge & Context
Following years of hypergrowth across 40M+ active users and an engineering organization exceeding 200 people, monolithic backend bottlenecks and infrastructure single points of failure (SPOF) began causing latency spikes, deployment gridlock, and multi-day server provisioning delays. Maintaining 99.99% availability required decoupling core services and modernizing deployment tooling from the ground up.
Execution & Outcomes
- Layered API Gateway: Architected and delivered a centralized API gateway enforcing clean layered patterns—routing, authentication, rate limiting, and caching—achieving a 3× latency reduction (from 300ms down to 100ms) across core marketplace services.
- Zero-SPOF Tooling & High-Availability Storage: Led core reliability initiatives across services handling 1,000+ RPS, delivering platform tooling to convert stateless microservices into zero-SPOF deployments with distributed failover and initiating distributed high-availability storage services.
- Bare-Metal Kubernetes & OKR Alignment: Led development of bare-metal Kubernetes cluster automation reducing provisioning from days to under 10 minutes, and implemented OKRs across engineering to connect reliability SLAs and architectural contracts directly to commercial goals.