python 微服務開發是一本講python 如果進行微服務開發的實戰類書籍,里面包含了幾個很不錯的python
模塊,記錄下,方便后期回顧學習
處理並發的模塊
- greenlet &&gevent
- twisted && tornado
- asyncio
web api 模塊
當然有好多可以使用的,只記錄作者使用的
- flask
- aiohttp
測試
- 負載測試boom
- pytest && tox
- webtest
文檔管理
- api openapi
- sphinx(集成到了tox)
后台任務
- celery
- rabbitmq+ redis
監控服務
- graylog(個人也比較喜歡的)
- psutil (系統性能指標獲取)
進程以及socket 管理
- circus
構建&&打包&&分發
- openresty
- docker
- pip
- 開源以及saas ci/cd 工具
- aws
參考資料
https://github.com/giampaolo/psutil
https://github.com/aio-libs/aiohttp
https://github.com/circus-tent/circus
https://github.com/tornadoweb/tornado