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.
Locust to Go, Kubernetes to Load
SDN x Cloud Native
IB401
08/11 11:15 - 11:40
漢語 / Mandarin Chinese
Skilled / 中階
Go programmers and site reliability engineers who want to know how to tweak performance of cloud service.
郭學聰 (Heush-Tsung Kuo)
- programmer from Rayark, a game company in Taiwan
- backend engineer
- usually develop something related to my work in Python, Ruby, Golang, C#
- built almost entire VOEZ game server by myself only
- support Sdorica backend development