-
Notifications
You must be signed in to change notification settings - Fork 2
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
how to inprove gelf-forwarder performance #4
Comments
7、gelf-forwarder tcp ouput testing result qps is 17898.86 [17:24:54][root@38d15 ~]# ./vegeta -cpus 16 attack -targets tatget.txt.bak -body pay.json -timeout=20s -rate 18000 -duration=60s | tee results.bin | ./vegeta report |
Did you modify Default is 100 which might cause a lot of HTTP 429 errors. You might want to increase it at the cost of higher memory usage during stress. I'll also consider adding an option to disable backpressure which might remove HTTP 429 errors at the cost of higher latencies during stress. |
You can also now try out version
If your source doesn't support backpressure then it's probably the best option. |
Add this option channel-buffer-size=20000 and BACKPRESSURE=0, it get the little bit more result : qps is 18303 and the ES DISK IO is 60%. It time to upgrade the single ES to cluster ES. thank you ! |
gelf-forwarder qps is 2064.63 and graylog-http-gelf qps is 49607.89,how to inprove gelf-forwarder performance
1.install v0.4.1
-->Hardware
--> Software:
graylog 4.2
es 7.10
mongo 4.2
gelf-forwarder v0.4.1
gelf-forwarder testing result
![image](https://user-images.githubusercontent.com/16797633/138990868-eda5da61-0b45-49d0-9954-21174c612de3.png)
![image](https://user-images.githubusercontent.com/16797633/138991026-4707a814-4cab-463b-949d-09d7673ea176.png)
source--> gelf-forwarder -->graylog udp gelf
Qps is 2064.63, and get lots of 429 error
graylog testing result
source -->graylog http gelf
Qps is 49607.89
[./vegeta -cpus 16 attack -targets tatget.txt -body aa.json -timeout=20s -rate 50000 -duration=60s | tee results.bin | ./[23:34:00]vegeta report
[23:34:14]Requests [total, rate, throughput] 687367, 49789.46, 49607.89
[23:34:14]Duration [total, attack, wait] 13.807s, 13.805s, 1.102ms
[23:34:14]Latencies [min, mean, 50, 90, 95, 99, max] 154.211µs, 178.865ms, 118.744ms, 405.329ms, 610.809ms, 925.361ms, 3.782s
[23:34:14]Bytes In [total, mean] 0, 0.00
[23:34:14]Bytes Out [total, mean] 77395395, 112.60
[23:34:14]Success [ratio] 99.64%
[23:34:14]Status Codes [code:count] 0:2452 202:684915
[23:34:14]Error Set:
[23:33:47]Error Set:
The text was updated successfully, but these errors were encountered: