Scaling payments for Black Friday 2019

Click for: original source

A blog post about Black Friday’s production scalability experience in payments provider company named iyzico. By Yalçın Yenigün.

First, they predicted the hourly request count of Black Friday 2019 and the maximum transaction per second (TPS) of their APIs because they needed to optimize throughput by finding and fixing bottlenecks. Thier team made predictions by using Long Short-Term Memory (LSTM) architecture. Unlike standard feedforward neural networks, LSTM has feedback connections. For more detail:

After prediction, we knew the maximum request count per second of APIs and the predicted time frames of related peaks. In production, the engineering team simulated the same request counts via load testing by using JMeter ( and found the bottlenecks. The major improvements that we implemented:

  • Feature toggling
  • Health checks
  • Splitting Monoliths: Split some of monolith databases.
  • Cleaned blocking commands
  • Improved existing monitoring tools
  • Circuit breakers
  • Failover tests

… and more. And you will get links to further reading and resources. Good read!

[Read More]

Tags software-architecture apis web-development agile