--
You received this message because you are subscribed to the Google Groups "gevent: coroutine-based Python network library" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gevent+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gevent/200a602c-2999-4628-b73f-ad0032553c09n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "gevent: coroutine-based Python network library" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gevent/6oDR80tRnZk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gevent+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gevent/CAC75SYp9DBqSc-rCdskU5SWfE6qZEgUphFBvq250TyOA7JicBw%40mail.gmail.com.
I’m using pycurl and have the timeouts set to 250ms. Through logging I can confirm that all 4 greenlets exit in under 250ms. In reality they finish in under 100 ms.So If I spawn 4 greenlets if they run their curl function, and each function blocks then does it mean that the greenlets effectively run sequentially?
It seems you may have left out the gevent.sleep(2)
portion on the server side in your test. This is likely leading to same timings of sequential and parallel requests.