Locust is an open source load testing tool written in Python.
It let us define user behavior using Python, and swarm your system with millions of simultaneous users.
For simulating millions of users, Locust offers slave mode to control foreign executable using ZeroMQ. This feature admit us to implement bots, with any programming language support ZeroMQ.
We build our game services using Go language, so we reuse some Go code to implement bots. We run our game services on dockers managed by Google Kubernetes, we try to DDoS our game services using dockers managed by Google Kubernetes, too. Finally we tweaked a reliable game service which is able to handle huge amount of users.
This talk will share what is Locust, how to implement Locust slave, and how to do load test using Locust and Google Kubenetes.
![](https://api2018.coscup.org/assets/s00146-10ITxJ1_fJEoe3WUCSMYmTpdTLm17RtXk.png)