You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During our stress test benchmarks of the aggregator, we have noticed that a bottleneck probably exists with the client traffic (sent during phase 2) which leads to unexplained 404 errors when signers send signatures.
Here are the result from test ran with 0, 10 and 50 clients:
Here is a summary of the investigations done on this bottleneck, and of the fixes applied:
The aggregator binary tested must be the release and not the debug. This was responsible for failures with low client traffic.
The default binary directory has been updated to target/release to avoid working on the incorrect binary without being ware of it.
The 404 error received was due to temporal effects: the aggregator is still serving a previous pending certificate, but the stress test uses it to trigger the next steps of the test: the result is that the signatures sent are targeting the wrong open message.
This has been fixed by checking the signed entity type when waiting for a pending certificate.
With many clients sending traffic, the time needed to generate new certificates, artifacts is increased which was causing timeouts.
The timeouts of the main scenario have been increased in order to avoid this behavior.
The HTTP client used to create the traffic on the client size has been cached in order to optimize the resources used by the load tester tool and send the traffic with a higher throughput.
The fake client now sends statistics traffic when a download succeeds.
Overall, the stress test now succeeds on the same machine used to identify the bottleneck:
Issue
During our stress test benchmarks of the aggregator, we have noticed that a bottleneck probably exists with the client traffic (sent during phase 2) which leads to unexplained
404
errors when signers send signatures.Here are the result from test ran with
0
,10
and50
clients:To do
Fix the aggregator if neededThe text was updated successfully, but these errors were encountered: