nginx - How to understand the asynchronous non-blocking high-performance web server advertised by openresty?
仅有的幸福
仅有的幸福 2017-05-16 17:10:59
0
1
883

I understand asynchronous and synchronous, whether it is blocking or not, but I just don’t understand how openresty implements asynchronous non-blocking IO and achieves high concurrency processing capabilities? I usually write Lua interfaces, but I can see considerable QPS when doing stress tests, but it feels no different from the running process of http API written in other languages ​​(such as PHP interface). Can any hero use an example to briefly explain its implementation on asynchronous non-blocking, and compare it with the PHP interface why PHP cannot implement it.

仅有的幸福
仅有的幸福

reply all(1)
伊谢尔伦

It is recommended to read Brother Chun’s slides to understand.
http://openresty.org/en/prese...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template