1,add_callback(基于asyncio,资源消耗少,性能还不错). 2,run_in_executor((基于线程池/进程池,性能很好,但是资源消耗要高于add_callback的方案).
確定! 回上一頁