Pykka 项目的目的是为 Python 提供了易用的并发操做抽象层,使用 Actor 模式。编程
Pykka 提供了 Actor API ,包含两种不一样的实现:并发
ThreadingActor is built on the Python Standard Library’sthreadingandQueuemodules, and has no dependencies outside Python itself. It plays well together with non-actor threads.ide
GeventActor is built on the gevent library. gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of libevent event loop. It is generally faster, but doesn’t like playing with other threads.oop
Pykka 的名称来源于 JVM 的 Akka,但这并非 Akka 的 Python 语言移植。
网站
项目主页:http://www.open-open.com/lib/view/home/1337045518713ui
Akka的原始网站在:http://akka.io/。ci
Akka是基于Actor时间编程模型的实现,最初是基于Scala的,如今有了Java等移植。get