基於Python的Akka實現
Pykka aims toprovide easy to use concurrency abstractions for Python by using the actor model.
Pykka provides an actorAPI with two different implementations:
² ThreadingActor is built on the Python StandardLibrary's threading and Queue modules, and has no dependencies outside Pythonitself. It plays well together with non-actor threads.
² GeventActor is built on the gevent library. gevent is a coroutine-based Python networking librarythat uses greenlet to provide a high-level synchronous API on top of libeventevent loop. It is generally faster, but doesn't like playing with otherthreads.
Much of the naming inPykka is inspired by the Akka project which implements actors on the JVM. Though, Pykka does notaim to be a Python port of Akka.
Pykka is Open Sourceand available under the Apache License, Version 2.0.
http://pykka.readthedocs.org/en/latest/
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-731266/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 基於akka與scala實現一個簡單rpc框架RPC框架
- 基於Python實現MapReducePython
- akka-grpc - 基於akka-http和akka-streams的scala gRPC開發工具RPCHTTP
- 基於Python的Xgboost模型實現Python模型
- 使用Akka實現Reactive DDDReact
- 基於Python實現的口罩佩戴檢測Python
- Python基於TCP實現聊天功能PythonTCP
- 使用Akka實現CQRS/ES的原始碼原始碼
- 用Scala和Akka實現DDD
- python基於opencv 實現影像時鐘PythonOpenCV
- 教你如何基於python實現指令碼加密Python指令碼加密
- python實現基於smtp傳送郵件Python
- 基於jquery實現的ExceljQueryExcel
- 基於JVMTI的Agent實現JVM
- [翻譯]akka in action之akka-stream ( 3 使用Graph DSL實現扇入扇出 )
- 微服務架構的Akka實現和Docker部署案例微服務架構Docker
- 基於Masstransit實現Eventbus的功能
- 基於 SplPriorityQueue 實現的排序方法排序
- 實現基於角色的授權
- 基於 Agent 的模型入門:Python 實現隔離模擬模型Python
- Python Web實戰:Python+Django+MySQL實現基於Web版的增刪改查PythonWebDjangoMySql
- Python基於Socket實現簡易多人聊天室Python
- 基於Python和TensorFlow實現BERT模型應用Python模型
- 基於Python實現互動式資料視覺化的工具(用於Web)Python視覺化Web
- Python實現一條基於POS演算法的區塊鏈Python演算法區塊鏈
- 基於Python-sqlparse的SQL表血緣追蹤解析實現PythonSQL
- Python 基於 TCP 傳輸協議的網路通訊實現PythonTCP協議
- 基於Retrofit2實現的LycheeHttpHTTP
- 基於Vue的簡易MVVM實現VueMVVM
- 基於Java Instrument的Agent實現Java
- 基於YARP實現的FastGithubASTGithub
- 基於Websocket的簡易webshell實現Webshell
- 基於 Zookeeper 的分散式鎖實現分散式
- 基於webpack的css sprites實現方案WebCSS
- 基於React+Redux的SSR實現ReactRedux
- 基於redis的分散式鎖實現Redis分散式
- 基於heartbeat的NFS HA實現(轉)NFS
- 基於heartbeat的NFS HA實現 (轉)NFS