Reputation: 12796
According to eventlet document :
It uses epoll or libevent for highly scalable non-blocking I/O.
I know non-blocking I/O here covers the case when you interact with sockets. After the socket gets greened/patched by eventlet, the socket connection becomes non-blocking.
My questions is: Does this non-blocking I/O here covers file I/O as well?
Upvotes: 2
Views: 1909
Reputation: 5577
No. That would either
Thread pool is the easiest, most portable and most predictable way though. You could easily wrap your calls with eventlet.tpool.execute
.
Upvotes: 2