Replies: 1 comment
-
This is related: #3215 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the FastAPI web framework, why is httpx so much worse than aiohttp when facing high concurrent requests? They both reuse the same client instance.
test code
wrk test result
![image](https://private-user-images.githubusercontent.com/45389728/332740793-1644fafe-4fee-485b-a44b-00227c2eb11a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MDQyNzAsIm5iZiI6MTczOTYwMzk3MCwicGF0aCI6Ii80NTM4OTcyOC8zMzI3NDA3OTMtMTY0NGZhZmUtNGZlZS00ODViLWE0NGItMDAyMjdjMmViMTFhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA3MTkzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ2YmI1ZDUyMzA1NDc2M2U2ZmE5ZWUyZGJhMzE5MmI1MGQzYWQ2MTVkYTM2MjRkZWQyYjIyYTcxOWI2N2JhMmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.9BrqBxEmekMwhnGJbUFN-8OGMVfboorphapUcZT1uV0)
python version: Python 3.10.12
operating system: mac os m1 pro
requirements
Beta Was this translation helpful? Give feedback.
All reactions