sozu-proxy / sozu

Sōzu HTTP reverse proxy, configurable at runtime, fast and safe, built in Rust. It is awesome!
https://www.sozu.io/
GNU Affero General Public License v3.0
2.92k stars 188 forks source link

CI: Adding a benchmark framework #1071

Closed GuillaumeASSIER closed 4 months ago

GuillaumeASSIER commented 4 months ago

Hi,

As sozu need strong performances, we need a simple way to benchmark sozu regularly.

I create a complete sozu benchmark script using python who's in charge of booting a sozu with lagging_server, load certificates with a complete configuration and run a stressing tool. At the end, we collect all the results in a log file archive as an artifact.

It's automated with a CI called benchmark.yml to automate the build and the benchmarking tool. For now, I use bombardier, but we can easily add new testing tools.

This setup test sozu performances with following settings :

The aim is not to get some reliable results, but to get a simple methodology that we can reuse in the future to track sozu performances.

Keksoj commented 4 months ago

I understand this is a clean rebase of #1042 Looks good to me!