Discussion:
[gevent] Gevent Pool not submitting greenlet as per mentioned pool size
nilesh bhadane
2018-09-06 21:55:36 UTC
Permalink
I am using event socket for UDP communication between client and severs.

I am using Pool with 60 greenlet size. (pool = Pool(60))

When I am sending 60 packets from client to receiver, then client can able
to send only 12 packet at a time.


1. When a client receives a response (for example 1st packet) from server
for one packet then only client send 13th packet

When a client receives a response (fro example for 5th packet)from server
for one packet then only client send 14th packet 
.so on till 60th packet.


My question is I have mentioned Pool greenelt size 60 then why Gevent is
not able to submit 60 packet at time
--
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jason Madden
2018-09-06 21:59:13 UTC
Permalink
Without seeing your code (http://sscce.org) and knowing more details about your environment, it's probably going to be difficult to help. Offhand, I can't think of any reason for the behaviour you're describing, except for the obvious things like blocking on some other resource.

I would recommend that you join this group to avoid moderation delays on future messages.
Post by nilesh bhadane
I am using event socket for UDP communication between client and severs.
I am using Pool with 60 greenlet size. (pool = Pool(60))
When I am sending 60 packets from client to receiver, then client can able to send only 12 packet at a time.
• When a client receives a response (for example 1st packet) from server for one packet then only client send 13th packet
When a client receives a response (fro example for 5th packet)from server for one packet then only client send 14th packet ….so on till 60th packet.
My question is I have mentioned Pool greenelt size 60 then why Gevent is not able to submit 60 packet at time
--
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...