Heim > Fragen und Antworten > Hauptteil
python open读写文件时如何实现异步IO,解决IO瓶颈带来的性能问题
高洛峰2017-04-18 10:17:11
百度gevent
阿神2017-04-18 10:17:11
用asyncio,推荐题主看下500Lines的A Web Crawler With asyncio Coroutines就明白异步的概念了。
伊谢尔伦2017-04-18 10:17:11
asyncio + aiofiles用这个https://github.com/Tinche/aio...