Hi, Can I use* gevent* to build a homemade redis task queue and to execute these tasks? Does it make sense ? sorry if this is naiv questions i'm new to async programming.......
http://web2py.com/books/default/chapter/29/08/emails-and-sms?search=homemade from http://www.gevent.org/intro.html: The following example shows how to run tasks concurrently: >>> import gevent>>> from gevent import socket>>> urls = ['www.google.com', >>> 'www.example.com', 'www.python.org']>>> jobs = >>> [gevent.spawn(socket.gethostbyname, url) for url in urls]>>> >>> gevent.joinall(jobs, timeout=2)>>> [job.value for job in >>> jobs]['74.125.79.106', '208.77.188.166', '82.94.164.162' -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

