Differences between gevent and tornado

前端 未结 2 653
礼貌的吻别
礼貌的吻别 2021-01-31 00:27

I understand that both tornado and gevent are asynchronous python frameworks.

While reading the bottle documentation I found that gevent actual

2条回答
  •  余生分开走
    2021-01-31 01:08

    Have a read of:

    http://en.wikipedia.org/wiki/Coroutines

    and:

    http://en.wikipedia.org/wiki/Event-driven_architecture

    http://en.wikipedia.org/wiki/Event-driven_programming

    The gevent package uses coroutines and Tornado is event driven.

    Even driven systems don't readily map to WSGI, but a coroutine system, because it looks like threads, can be made to support WSGI if blocking points can be patched to switch coroutines when things would block.

提交回复
热议问题