Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Adding a benchmark framework #1071

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

GuillaumeASSIER
Copy link
Contributor

@GuillaumeASSIER GuillaumeASSIER commented Feb 7, 2024

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 :

  • 1 Minute duration
  • 400 connections at max
  • HTTP1 (HTTP2 can be support if needed)
  • HTTP Plain text
    • HTTPS with the following encryption settings
      • RSA 2048
      • RSA 4096
      • ECDSA

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
Copy link
Contributor

Keksoj commented Feb 7, 2024

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

Copy link
Contributor

@Keksoj Keksoj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great to me!

Copy link
Collaborator

@FlorentinDUBOIS FlorentinDUBOIS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🙂

@FlorentinDUBOIS FlorentinDUBOIS self-assigned this Feb 7, 2024
@FlorentinDUBOIS FlorentinDUBOIS merged commit dfd450b into sozu-proxy:main Feb 7, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants