Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPerformance Issues with Envoy #5536
Comments
mattklein123
added
the
question
label
Jan 8, 2019
This comment has been minimized.
This comment has been minimized.
I just ran a quick test and got similar results. I ran a CPU profiler on Envoy during the test, and it highlighted part of the reason for the performance difference: wrk uses HTTP/1.1, and Envoy uses a relatively CPU-intensive HTTP/1 parser. HTTP/1 parser performance is a longstanding issue; #2880 has some context. |
This comment has been minimized.
This comment has been minimized.
bedis
commented
Feb 6, 2019
What haproxy version? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
voley55 commentedJan 8, 2019
Benchmarking Envoy and comparing performance against HAProxy
Setup:
LB : Envoy/HAProxy
Backend : Nginx
Benchmarking Tool : wrk (https://github.com/wg/wrk)
Envoy Config:
Concurrency = 4
HAProxy Config:
Nginx Config
Benchmark Results
Envoy
$ wrk -c100 -d60s -t10 "http://172.16.x.x:8090/" --latency
HAProxy
$ wrk -c100 -d60s -t10 "http://172.16.x.x:8080/" --latency
Note:
Could you please point out where am I going wrong? (As according to various online blogs, envoy seems to provide equivalent performance as HAProxy)