Home>Article>Operation and Maintenance> openresty nginx difference
Nginx
Nginx is a high-performance HTTP and reverse proxy service, and also an IMAP/POP3/ SMTP service.
1. Process response requests quickly
2. High concurrent connections
3. Low memory consumption
4. High reliability :
5. High scalability
6. Hot deployment
The separation design of the master management process and the worker process makes Nginx have the function of hot deployment and can be deployed in 7 × Under the premise of 24-hour uninterrupted service, upgrade the Nginx executable file. You can also modify configuration files, replace log files and other functions without stopping the service.
7. Free BSD License Agreement
OpenResty (also known as ngx_openresty)
OpenResty is a high-end software based on Nginx and Lua A high-performance web platform that integrates a large number of sophisticated Lua libraries, third-party modules and most dependencies.
Used to easily build dynamic web applications, web services and dynamic gateways that can handle ultra-high concurrency and high scalability.
OpenResty effectively turns Nginx into a powerful universal web application platform by bringing together various well-designed Nginx modules (mainly developed independently by the OpenResty team). In this way, web developers and system engineers can use the Lua scripting language to mobilize various C and Lua modules supported by Nginx to quickly construct a high-performance web application system capable of handling more than 10K or even 1000K single-machine concurrent connections.
The goal of OpenResty is to let your Web service run directly inside the Nginx service, making full use of Nginx's non-blocking I/O model, not only for HTTP client requests, but also for remote backends Such as MySQL, PostgreSQL, Memcached and Redis all provide consistent high-performance response.
For more Nginx related technical articles, please visit theNginx Usage Tutorialcolumn to learn!
The above is the detailed content of openresty nginx difference. For more information, please follow other related articles on the PHP Chinese website!