Automated Performance Testing with Torque
Article Summary
Dream11 handled 5.5 million concurrent users and 80 million requests per minute during IPL 2020. Their secret? A custom performance testing framework called Torque.
Dream11's engineering team built Torque to automate performance testing across 100+ microservices built with Java, Scala, Node, and various databases. The framework replaced their scattered setup of JMeter, Rundeck, and shell scripts with a unified solution.
Key Takeaways
- Tested 150+ APIs across 50+ services at 5x normal scale using automated infrastructure
- Combined Gatling, Redis, AWS Lambda, and Spark for distributed load generation
- Automated data prep, environment setup, and parallel test execution via Jenkins
- Achieved zero scale related production issues during peak IPL traffic
Critical Insight
Torque enabled Dream11 to run 1,500+ load test iterations, benchmark critical services at 5x scale, and deliver a seamless experience during their biggest traffic event.