IO瓶颈: python open读写文件时如何实现异步IO,,python open读


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

asyncio + aiofiles
用这个https://github.com/Tinche/aio...

百度gevent

用asyncio,推荐题主看下500Lines的A Web Crawler With asyncio Coroutines就明白异步的概念了。

编橙之家文章,

评论关闭