2 min readMohammad Shaker

[اردو] Serverless at Scale: Running Arabic EdTech on AWS Lambda

[Urdu Translation] Alphazed runs its entire backend on AWS Lambda serving 95,000+ students. The architecture uses Flask on Lambda, MySQL 8 on RDS, and a custom analytics...

Engineering

فوری جواب

[Urdu Translation] Alphazed runs its entire backend on AWS Lambda serving 95,000+ students. The architecture uses Flask on Lambda, MySQL 8 on RDS, and a custom analytics...

# Serverless at Scale: Running Arabic EdTech on AWS Lambda [Urdu content] ## Serverless at Scale: Running Arabic EdTech on AWS Lambda Alphazed runs its entire backend — serving 95,000+ students across 50+ countries — on AWS Lambda with Serverless Framework. The architecture uses Flask on Lambda behind API Gateway, MySQL 8 on RDS, S3 for content delivery, and a custom analytics lake (SQS → Kinesis Firehose → S3 → Glue → Athena). Thin Lambda handlers optimize cold-start latency, and the system serves 7+ apps from a single codebase with runtime configuration switching. ### Why Serverless for EdTech? **Educational apps have unpredictable usage patterns:** - Weekday mornings: Parent downloads app before sending child to school (traffic spike) - Weekday afternoons: After-school practice sessions (sustained load) - Weekends: Intensive marathon sessions (2-3x normal load) - During Ramadan: Evening usage explodes (family Quran sessions) - School holidays: Completely different pattern **Serverless advantages:** - **Pay-per-request pricing**: You only pay for actual usage. If 10 users hit the API, you pay for 10 invocations. If 100,000 hit during a viral moment, you scale instantly. - **Zero cold starts for high-frequency endpoints**: We use "always warm" Lambda layers for frequently-called endpoints - **Auto-scaling**: Handle 10 concurrent users or 10,000 with zero infrastructure changes - **Zero server maintenance**: The team focuses on curriculum and AI, not Kubernetes clusters or load balancers ### Architecture Deep-Dive **API Gateway → Lambda → RDS

متعلقہ مضامین