Skip to content

RedHatPerf/proxy-test

Repository files navigation

Proxy Test

This is a basic testsuite to benchmark analyze performance of proxies, Envoy in particular.

Running the test

The harness uses Ansible for provisioning. Most configurable settings are in the hosts file in root directory.

In order to start load driver (Hyperfoil), proxy (Envoy) and backend (simple Vert.x HTTP server) run:

ansible-playbook -i hosts setup.yml

This does not trigger the load yet; benchmark is deployed and started with

ansible-playbook -i hosts --ask-become-pass test.yml

This requires elevated priviledges since we're running system-wide perf record on the machine running proxy. The result flamegraph will be stored in {{ test_flamegraph }} (defaults to /tmp/perf.svg, configure in hosts). Performance results are stored in {{ hyperfoil_dir }}/workspace/run/XXXX/stats ({{ hyperfoil_dir }} defaults to /tmp/driver).

Top stop all the services run:

ansible-playbook -i hosts setup.yml --tags shutdown

About

Harness for analyzing performance of HTTP proxies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published