Skip to content Skip to sidebar Skip to footer
Showing posts with the label Gevent

How Can I Write A Socket Server In A Different Thread From My Main Program (using Gevent)?

I'm developing a Flask/gevent WSGIserver webserver that needs to communicate (in the background… Read more How Can I Write A Socket Server In A Different Thread From My Main Program (using Gevent)?

Socket.getaddrinfo() Block Forever When Using With Gevent

Using httplib2, I am sending multiple requests with gevent, after some time http.request() method o… Read more Socket.getaddrinfo() Block Forever When Using With Gevent

Optimal Gunicorn-worker Configuration (number And Class) For Python Rest Apis

Lets say I have two conceptually different REST APIs developed in Python through a framework like F… Read more Optimal Gunicorn-worker Configuration (number And Class) For Python Rest Apis

How To Implement Comet Via Gevent's Event

there's a demo on how to implement comet using gevent + flask. #coding:utf-8 ''' C… Read more How To Implement Comet Via Gevent's Event

Socket Threads Hang In Timeout Block

I'm trying to calculate the time it takes to receive all data from a given socket, so I'm u… Read more Socket Threads Hang In Timeout Block

How To Run Zerorpc As A Greenlet?

I want to run a zeroRPC server as a greenlet with other gevent greenlets in the same loop. The docu… Read more How To Run Zerorpc As A Greenlet?