OpenResty
Other names | ngx_openresty |
---|---|
Original author(s) | Yichun Zhang |
Developer(s) |
|
Initial release | September 2009[1] |
Stable release | 1.25.3.1
/ January 4, 2024 |
Repository | |
Written in | C |
License | FreeBSD license |
Website | openresty |
OpenResty is an nginx distribution which includes the LuaJIT interpreter for Lua scripts.[2][3] The software was created by Yichun Zhang. It was originally sponsored by Taobao before 2011 and was mainly supported by Cloudflare from 2012 to 2016. Since 2017, it has been mainly supported by OpenResty Software Foundation and OpenResty Inc.
OpenResty is designed to build scalable web applications, web services, and dynamic web gateways. The OpenResty architecture is based on several nginx modules which have been extended in order to expand nginx into a web app server to handle large number of requests.[4] OpenResty aims to run Lua server-side applications completely in the Nginx server, leveraging its event model to do non-blocking I/O not only for client connections, but also with remote resources, such as databases.
History
[edit]In October 2007, OpenResty began at Yahoo! China as an Open API web service framework written mostly in Perl.[1][5][6] Its README at CPAN describes it as "A REST wrapper for relational databases" enabling "100% JavaScript web sites and other RIAs" via PostgreSQL.
In September 2009, OpenResty was redeveloped at Taobao as ngx_openresty, a Lua application server based upon an extended repackaging of nginx and LuaJIT with plug-in server extension modules written in C.[1]
See also
[edit]References
[edit]- ^ a b c 章, 亦春 (2012-07-09). 【开源访谈】OpenResty 作者章亦春访谈实录 [[Open Source Interview] Interview with OpenResty author Zhang Yichun]. OSChina.NET (Interview) (in Simplified Chinese). Archived from the original on 2022-04-30. Retrieved 2022-02-06.
- ^ Sharwood, Simon (2016-09-20). "WTF is OpenResty? The world's fifth-most-used Web server, that's what!". The Register. Retrieved 2022-02-05.
- ^ Frommel, Oliver. "Die OpenResty-Distribution für Nginx » ADMIN-Magazin". Admin-Magazin (in German). Retrieved 2023-01-13.
- ^ Tourne, Matthieu (2012-12-08). "Pushing Nginx to its limit with Lua". The Cloudflare Blog. Cloudflare. Retrieved 2022-02-05.
- ^ Zhang, Yichun. "agentzh/old-openresty: Obsolete 1st generation of OpenResty written mostly in Perl. Please check out the new OpenResty based on Nginx and Lua instead". GitHub. Retrieved 2022-02-06.
- ^ Zhang, Yichun. "OpenResty: General-purpose web service platform for web applications". CPAN. Retrieved 2022-02-06.