Hi,
I am using the gevent loop for uWSGI with bottle. I am currently
using redis-py to async writes to redis using the below.
def RedisWrite(push):
r.lpush('global',push) #most recent time user has seen add
@get('/')
def main():
yield 'Hello World'
gevent.spawn(RedisWrite,'Hello World')
Instead, I want to send data to workers via zeromq that will then
process the data to write to redis. My main motivation for using
gevent loop is for the redis reads that I have to do using redis-py.
My question is, are there any issues with getting 0mq to work with the
gevent loop? Rather then writing to a redis list, send messages to
workers via 0mq.
I am using the latest versions of everything thing, even 0mq 3.x RC.
Thnaks
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi