python异步任务队列

2019-03-26  本文已影响0人  Mrgz

不想用celery,简单造个轮子

利用消息队列异步执行耗时任务
python 3.6.5
tornado
rabbimq

基本原理

源码及测试用例
避免误人,特别声明:瞎折腾,代码不可靠。

补充:
如果在Windows遇到 too many file descriptors in select
https://blog.magentaize.net/fix-python-too-many-file-descriptors-in-select-in-windows/

上一篇 下一篇

猜你喜欢

热点阅读