Python : select,poll和epoll

In fact, all of the I / O are polling method, but to achieve the level of difference in terminology.

This problem may be a bit further, but believe that we can answer that question is I / O multiplexers have a good understanding of where tornado is the use of epoll.

selec, poll and epoll difference summary

Select substantially has three disadvantages:

连接数受限
查找配对速度慢
数据由内核拷贝到用户态

The first drawback improved poll

epoll changed three drawbacks.

Guess you like

Origin blog.csdn.net/weixin_44523387/article/details/91897169