-
Notifications
You must be signed in to change notification settings - Fork 103
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
Test dynamic reconfiguration of 1M upsream sites #680
Comments
As described in #76 (comment) there are fundamental issues which don't allow to perform whole |
From backend servers perspective reconfiguration process takes 3 steps:
I think we need to check metrics for two cases: downtime for not-modified server group (should be 0), and down time for modified server group (should be less than a second). Previously I've prepared stress tests for reconfiguration (reconfiguration under heavy load): https://github.com/tempesta-tech/tempesta/tree/master/tempesta_fw/t/functional/reconf . Most of them are use the same assertion: tempesta/tempesta_fw/t/functional/reconf/reconf_stress.py Lines 71 to 76 in 3f912aa
Request rate of wrk is relatively stable, so based on information of test duration. total sent requests and allowed down time (1sec) we can define a maximum number of allowed errors (502 responses from Tempesta). The limit mustn't be overcame. All the tests pass, that means at least on small configuration no errors happen.
Although many of use cases are checked in I believe that |
The test must ensure that it uses optimal configuration options to be able to setup multi connection environment. For Nginx:
Also set sysctls:
|
We should guarantee that we can dynamically add 1,000,001st upsream site with a downtime less that 1 second. The issue depends on #51, #76, and #659. All the schedulers must be tested.
The text was updated successfully, but these errors were encountered: