gevent
How to structure my application for several tasks using redis with gevent or threading in Python
I hav开发者_Python百科e a process which sends financial tick data through redis pubsub in realtime. Now I want my Python Application to handle the input data (json) for instance calculations like movi[详细]
2023-04-12 22:36 分类:问答Django/gevent socket.IO with redis pubsub. Where do I put things?
I have an isolated python script that simply captures data from Twitter\'s streaming API and then on the receipt of each message, using redis pubsub it publishes to the channel \"tweets\". Here is tha[详细]
2023-04-11 01:11 分类:问答how to use logging inside Gevent?
开发者_如何转开发I have a code like: log = logging.getLogger(__file__) def func(): print \"1\" log.debug(\"Printed\")[详细]
2023-04-08 15:57 分类:问答Does multiprocessing.Queue work with gevent? [duplicate]
This question already has answers here: Passing a multiprocessing queue/dictionary/etc.. to green threads[详细]
2023-04-07 01:37 分类:问答Socket.io handler using Gevent / Tornado & Flask
can anyone show me and example of how to handle a generic socket.io connection (depends on the client browser, could be websockets, or xhr-longp开发者_高级运维olling, etc..) using gevent and flask, or[详细]
2023-04-06 20:55 分类:问答Gevent Pywsgi Server - Multiprocessing?
The following code (taken from here: https://bitbucket.org/denis/gevent/src/6c710e8ae58b/examples/wsgiserver_ssl.py) implements an extremely fast greenlet powered wsgi webserver:[详细]
2023-04-04 20:38 分类:问答How to run nginx, gevent, virtualenv and django
I can\'t find a good tutorial on how to run Nginx as reverse proxy, gevent as http server and django within virtualenv.[详细]
2023-04-03 12:25 分类:问答Better pattern for multi-listener notifications with `gevent.event.Event`?
I\'ve found that most of the time when I use gevent.event.Event, my code looks something like this: old_event = self.some_event[详细]
2023-03-31 06:11 分类:问答Policy Server with gevent-websocket
working on trying to get gevent-websocket 开发者_高级运维working and it\'s not connecting to my policy server for the flash specification. My policy.py is as follows:[详细]
2023-03-31 03:10 分类:问答why a new process entry then the events of old process stop running when sharing a listening socket for multiple processes?
The problem happened in my proxy program, Considering G10K I use gevent in my program and I use the low-level gevent.core to run all my function.[详细]
2023-03-30 02:41 分类:问答