python 微服务开发书中几个方便的python框架

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

猜你喜欢

转载自www.cnblogs.com/rongfengliang/p/10992549.html
今日推荐