OpenResty explained

Logo Alt:OpenResty logo
Logo Size:x64px
Other Names:ngx_openresty
Author:Yichun Zhang
Latest Release Version:1.25.3.1
Programming Language:C
Engines:-->
License:FreeBSD license

OpenResty is an nginx distribution which includes the LuaJIT interpreter for Lua scripts.[1] [2] 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.[3] 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.[4] [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.[4]

See also

Notes and References

  1. Web site: Sharwood . Simon . 2016-09-20 . WTF is OpenResty? The world's fifth-most-used Web server, that's what! . . 2022-02-05.
  2. Web site: Frommel . Oliver . Die OpenResty-Distribution für Nginx » ADMIN-Magazin . 2023-01-13 . . de-DE.
  3. Web site: Tourne . Matthieu . 2012-12-08 . Pushing Nginx to its limit with Lua . The Cloudflare Blog . . 2022-02-05.
  4. 章 . 亦春 . [Open Source Interview] Interview with OpenResty author Zhang Yichun ]. 2022-02-06 . https://web.archive.org/web/20220430011502/https://www.oschina.net/question/28_60461 . 2022-04-30 . OSChina.NET . 2012-07-09 . zh:【开源访谈】OpenResty 作者章亦春访谈实录 . zh .
  5. Web site: 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. . . 2022-02-06.
  6. Web site: Zhang . Yichun . OpenResty: General-purpose web service platform for web applications . . 2022-02-06.