OpenResty

Source: Wikipedia, the free encyclopedia.
Other namesngx_openresty
Original author(s)Yichun Zhang
Developer(s)
  • OpenResty Software Foundation
  • OpenResty, Inc.
Initial releaseSeptember 2009; 15 years ago (2009-09)[1]
Stable release
1.25.3.1 / January 4, 2024; 11 months ago (2024-01-04)
Repository
Written in
FreeBSD license
Websiteopenresty.org/en/ Edit this on Wikidata

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

In October 2007, OpenResty began at

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

References

  1. ^ 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.
  2. ^ 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.
  3. ^ Frommel, Oliver. "Die OpenResty-Distribution für Nginx » ADMIN-Magazin". Admin-Magazin (in German). Retrieved 2023-01-13.
  4. ^ Tourne, Matthieu (2012-12-08). "Pushing Nginx to its limit with Lua". The Cloudflare Blog. Cloudflare. Retrieved 2022-02-05.
  5. ^ 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.
  6. ^ Zhang, Yichun. "OpenResty: General-purpose web service platform for web applications". CPAN. Retrieved 2022-02-06.