-
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
add benchmarks #38
Comments
I used With ~100,000 requests and attempts (many of them failures)
Using
Baseline performance for a request to axum is ~56 µs. The proxy, during at outage, was ~2.6 ms. The delay is mostly due to writing to the SQLite database. Using
Baseline performance for a request to axum is ~59 µs (which is a 3 µs difference from the benchmark above). The proxy, during at outage, was ~313 µs. This suggests there is ~250 µs of overhead using the proxy outside of the SQLite overhead. Note: this was on my laptop, so things may be different on a dedicated linux server. Also, proxy server and origin server were located on the same host. |
A lot of this is fixed in #46 |
Regarding stampede, this client side throttling strategy is interesting https://cs.stackexchange.com/questions/43149/algorithm-for-dynamic-client-side-throttling https://www.cmcmarkets.com/en/trading-guides/exponential-moving-average
|
need the following benchmarks:
requests
andattempts
tablesThe text was updated successfully, but these errors were encountered: