Traditional Culture Encyclopedia - Traditional festivals - Why does nginx adopt epoll mechanism instead of traditional mechanisms such as select and poll?
Why does nginx adopt epoll mechanism instead of traditional mechanisms such as select and poll?
as you said, if the number of active socket is relatively high, the performance of epoll is not as good as that of select. But for the web server, it is not an online game, and it doesn't need socket to be connected for a long time. That is to say, what you assume rarely happens; In fact, you can have a lot of four advantages of epoll. When and what scheme to use is a matter of different opinions. Sometimes advantages may be a disaster.
- Related articles
- How to write composition materials for comprehensive development of teaching resources
- What is a hot dish
- What are the titles of the ancient imperial examination rankings?
- Top ten breakfasts in Shanghai. Do you like them?
- Was there a lotus moire in Song Dynasty?
- On the night of December 28, 2007, there was a song sung in Changsha dialect on Hunan TV, does anyone have it and can you download it?
- What are the similarities and differences between Olympic culture and China traditional sports culture?
- Who are the authors of martial arts novels?
- Craftsman introduction
- What was polo called in ancient times?