MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/x9x8pb/async_python_is_not_faster/intnp0u/?context=9999
r/Python • u/higherorderbebop • Sep 09 '22
47 comments sorted by
View all comments
57
Nobody said it was, the important thing is its non blocking..
-28 u/higherorderbebop Sep 09 '22 What is the purpose of non blocking and the added complexity due to async if it doesn't lead to better peformance? 10 u/ZachVorhies Sep 09 '22 instead having 10k threads for 10k requests. you have one thread running 10k requests.It’s a webscale thing. You literally don’t need it unless you are doing massive traffic. -5 u/Big_Booty_Pics Sep 09 '22 edited Sep 10 '22 How exactly does a python program scale? If you're at the point of receiving 10s of thousands of requests/minute, do you basically have a ton of python containers or vm's all running that a load balancer evenly divides work to?Edit: I guess curiosity is frowned upon? 1 u/ZachVorhies Sep 10 '22 Yes, that’s it exactly
-28
What is the purpose of non blocking and the added complexity due to async if it doesn't lead to better peformance?
10 u/ZachVorhies Sep 09 '22 instead having 10k threads for 10k requests. you have one thread running 10k requests.It’s a webscale thing. You literally don’t need it unless you are doing massive traffic. -5 u/Big_Booty_Pics Sep 09 '22 edited Sep 10 '22 How exactly does a python program scale? If you're at the point of receiving 10s of thousands of requests/minute, do you basically have a ton of python containers or vm's all running that a load balancer evenly divides work to?Edit: I guess curiosity is frowned upon? 1 u/ZachVorhies Sep 10 '22 Yes, that’s it exactly
10
instead having 10k threads for 10k requests. you have one thread running 10k requests.
It’s a webscale thing. You literally don’t need it unless you are doing massive traffic.
-5 u/Big_Booty_Pics Sep 09 '22 edited Sep 10 '22 How exactly does a python program scale? If you're at the point of receiving 10s of thousands of requests/minute, do you basically have a ton of python containers or vm's all running that a load balancer evenly divides work to?Edit: I guess curiosity is frowned upon? 1 u/ZachVorhies Sep 10 '22 Yes, that’s it exactly
-5
How exactly does a python program scale? If you're at the point of receiving 10s of thousands of requests/minute, do you basically have a ton of python containers or vm's all running that a load balancer evenly divides work to?
Edit: I guess curiosity is frowned upon?
1 u/ZachVorhies Sep 10 '22 Yes, that’s it exactly
1
Yes, that’s it exactly
57
u/runew0lf Sep 09 '22
Nobody said it was, the important thing is its non blocking..