OpenResty

From Wikipedia, the free encyclopedia
OpenResty
OpenResty logo
Other namesngx_openresty
Original author(s)Yichun Zhang
Developer(s)
  • OpenResty Software Foundation
  • OpenResty, Inc.
Initial releaseSeptember 2009; 12 years ago (2009-09)[1]
Stable release
1.19.9.1 / August 6, 2021; 6 months ago (2021-08-06)
Preview release
1.21.4.1rc1 / December 16, 2021; 2 months ago (2021-12-16)
Repository
Written inC
LicenseBSD licenses
Websiteopenresty.org/en/ Edit this on Wikidata

OpenResty is a web platform based on nginx which can run Lua scripts using its LuaJIT engine.[2] The software was created by . 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] The concept of the OpenResty solution aims to run server-side web app completely in the nginx server, leveraging nginx event model to do non-blocking I/O not only with the HTTP clients, but also with remote backends like MySQL, PostgreSQL, Memcached, and Redis.

History[]

In October 2007, OpenResty began at Yahoo! China as an Open API web service framework written mostly in Perl.[1][4][5]

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[]

  • Tarantool
  • List of application servers § Lua


References[]

  1. ^ a b c 章, 亦春 (2012-07-09). "[Open Source Interview] Interview with OpenResty author Zhang Yichun" 【开源访谈】OpenResty 作者章亦春访谈实录. OSChina.NET (Interview) (in Chinese). 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. ^ Tourne, Matthieu (2012-12-08). "Pushing Nginx to its limit with Lua". The Cloudflare Blog. Cloudflare. Retrieved 2022-02-05.
  4. ^ 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.
  5. ^ Zhang, Yichun. "OpenResty: General-purpose web service platform for web applications". CPAN. Retrieved 2022-02-06.

External links[]


Retrieved from ""