Python的并发编程工具包 Pykka

码农软件 · 软件分类 · 并发/并行处理框架 · 2019-09-03 07:28:08

软件介绍

Pykka 项目的目的是为 Python 提供了易用的并发操作抽象层,使用 Actor 模式。

Pykka 提供了 Actor API ,包含两种不同的实现:

  • ThreadingActor is built on the Python Standard Library’s threading and Queue modules, and has no dependencies outside Python itself. It plays well together with non-actor threads.
  • 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.

Pykka 的名称来源于 JVM 的 Akka,但这并不是 Akka 的 Python 语言移植。

本文地址:https://codercto.com/soft/d/13762.html

算法技术手册(影印版第2版)(英文版)

算法技术手册(影印版第2版)(英文版)

(美)乔治·T·海涅曼//加里·波利斯//斯坦利·塞克欧 / 东南大学 / 2017-10-01 / 96.0

一起来看看 《算法技术手册(影印版第2版)(英文版)》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器