-
Notifications
You must be signed in to change notification settings - Fork 24
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
Load testing against httpx #554
Comments
➤ Automation for Jira commented: The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-4077 |
We can either write our own load testing script |
We will need a dedicated ably RDP server to run this script against an ably limitless account : ) |
I don't see any point in generalizing this load tester client, since this is a library specific issue. Most of the times, http client libraries are stable and they are not required to be tested. Load testing is specifically done to test servers under load and not client itself. |
Also, it doesn't make sense to load test clients across different SDK's since every client is written in different language and we will need to write the script for the same, every language has different metrix in terms of performance. Currently, we can just focus on |
Load testing TPS graph given at |
Test with both servers
Test with requests and niquests -> SingleTon |
Created a separate load test repo. to run load test using locust. Executed
PS. Average response time for browser request to Test conducted on intel i7-11800h, 16 gb ram windows machine. |
For python-requests => For 50 users, Comparing it with |
@ttypic Until we get proper resolution from httpx, we can suggest documentation https://www.python-httpx.org/advanced/#pool-limit-configuration. Devs can adjust this limits according to their load requirements. This doesn't guarantee full stability though will reduce spikes in requests made. |
Do load testing on a dedicated server using
httpx
> 0.24.1 and http2 ( ablypython v2.0.3 )httpx
> 0.24.1 and http1.1 ( ablypython v2.0.3 )httpx
> 0.25.2 and http2 ( ablypython v2.0.4 )httpx
> 0.25.2 and http1.1 ( ablypython v2.0.4)┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered: