Software:OpenResty

From HandWiki
Revision as of 14:50, 9 February 2024 by Pchauhan2001 (talk | contribs) (link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Web server based on nginx and LuaJIT
OpenResty
OpenResty logo
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.21.4.2 / June 21, 2023; 17 months ago (2023-06-21)
Written inC
LicenseFreeBSD license

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 Yahoo! China as an Open API web service framework written mostly in Perl.[1][5][6]

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. 1.0 1.1 1.2 章, 亦春 (2012-07-09). "[Open Source Interview] Interview with OpenResty author Zhang Yichun" 【开源访谈】OpenResty 作者章亦春访谈实录. OSChina.NET (Interview) (in 中文). 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!". https://www.theregister.co.uk/2016/09/20/wtf_is_openresty_the_worlds_fifthmostused_web_server_thats_what/. 
  3. Frommel, Oliver. "Die OpenResty-Distribution für Nginx » ADMIN-Magazin" (in de-DE). http://www.admin-magazin.de/Das-Heft/2014/01/Die-OpenResty-Distribution-fuer-Nginx. 
  4. Tourne, Matthieu (2012-12-08). "Pushing Nginx to its limit with Lua". Cloudflare. https://blog.cloudflare.com/pushing-nginx-to-its-limit-with-lua/. 
  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.". https://github.com/agentzh/old-openresty. 
  6. Zhang, Yichun. "OpenResty: General-purpose web service platform for web applications". https://search.cpan.org/dist/OpenResty. 

External links