Eventlet or gevent or Stackless + Twisted, Pylons, Django and SQL Alchemy

前端 未结 4 1137
误落风尘
误落风尘 2020-12-22 23:54

We\'re using Twisted extensively for apps requiring a great deal of asynchronous io. There are some cases where stuff is cpu bound instead and for that we spawn a pool of p

4条回答
  •  执笔经年
    2020-12-23 00:46

    You might want to check out:

    • Comparing gevent to eventlet
    • Reports from users who moved from twisted or eventlet to gevent

    Eventlet and gevent are not really comparable to Stackless, because Stackless ships with a standard library that is not aware of tasklets. There are implementations of socket for Stackless but there isn't anything as comprehensive as gevent.monkey. CCP does not use bare bones Stackless, it has something called Stackless I/O which AFAIK is windows-only and was never open sourced (?).

    Both eventlet and gevent could be made to run on Stackless rather than on greenlet. At some point we even tried to do this as a GSoC project but did not find a student.

提交回复
热议问题