Performance testing and use of nginx_lua
For the choice of high-performance web servers, this is a headache for many people. In fact, Apache, lighttpd, and Nginx all use their advantages. Under what circumstances, how do we choose a high-performance Web server that suits us, and how to build a framework environment that suits us? This is a very troublesome thing. Next, in the ADC 2012 (Alibaba Developer Conference 2012) conference, 51CTO reporter had the honor to interview Yitao Data Platform and Product Department technical expert – Qingwu (nickname), to explain some advantages and disadvantages of Nginx_lua for us, as well as the choice of high-performance servers. First, let us understand the design guiding ideology of Nginx_lua: 1. Rapidly develop high-performance, high-concurrency network services based on Nginx. 2. Provide a “synchronous non-blocking” I/O access interface to simplify business logic development in the I/O multiplexing system: ■ The subject of “synchronization” is the timing relationship between the user code and the I/O request processing flow initiated by it, which means that the user code will be suspended until the I/O request processing is completed. ■ The main body of “non-blocking” is the service process, which means that the processing of I/O requests will not cause the service process…