Home  >  Q&A  >  body text

python3.5 - python open读写文件时如何实现异步IO,解决IO瓶颈带来的性能问题

python open读写文件时如何实现异步IO,解决IO瓶颈带来的性能问题

大家讲道理大家讲道理2741 days ago1119

reply all(3)I'll reply

  • 高洛峰

    高洛峰2017-04-18 10:17:11

    Baidu gevent

    reply
    0
  • 阿神

    阿神2017-04-18 10:17:11

    Use asyncio. It is recommended that the subject read A Web Crawler With asyncio Coroutines by 500Lines to understand the concept of asynchronous.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 10:17:11

    asyncio + aiofiles
    Use this https://github.com/Tinche/aio...

    reply
    0
  • Cancelreply