How OpenResty and Nginx Shared Memory Zones Consume RAM
We are happy to announce the new formal release, 18.104.22.168, of the OpenResty web platform based on NGINX and LuaJIT.
The (portable) source code distribution, the Win32/Win64 binary distributions, and the pre-built binary Linux packages for Ubuntu, Debian, Fedora, CentOS, RHEL, Amazon Linux are provided on this Download page.
This is the first OpenResty release based on the nginx 1.15.8 core.
Special thanks go to all our developers, sponsors, and contributors! Also thanks Thibault Charbonnier for his great help in preparing this release.
The highlights of this release candidate are:
Based on the very recent mainline nginx core 1.15.8.
Support for ARM64 (Aarch64) architectures. The underlying work for this feature allowed to speed up other architectures by up to ~10%.
We now load
resty.coreby default in ngx_lua and ngx_stream_lua. This behavior can be disabled with the new lua_load_resty_core directive. Note that the
resty.coreimplementation is both safer and faster, but also required for complete ARM64 support.
New lua-resty-signal library for killing and sending signals to UNIX processes.
New lua-tablepool library for efficiently recycling Lua tables.
We dropped support for the standard Lua 5.1 interpreter, and vividly recommend the use of OpenResty's fork of LuaJIT.
We now enable the GC64 mode of LuaJIT by default on x86_64 platforms. The 2G GC-managed memory limit is now gone by default on x86_64 (the new limit is 128 TB).
Implemented a new table.isempty() API.
Implemented a new table.isarray() API.
Implemented a new table.nkeys() API.
All our new Lua API functions documentation can be found here: https://github.com/openresty/luajit2#new-api
Complete change logs since the last (formal) release, 22.214.171.124, can be browsed in the page Change Log for 1.15.8.x.
We have run extensive testing on our Amazon EC2 test cluster and ensured that all the components (including the Nginx core) play well together. The latest test report can always be found here:
We also always run our OpenResty Edge commercial software based on the latest open source version of OpenResty in our own global CDN network (dubbed "mini CDN") powering our openresty.org and openresty.com websites. See https://openresty.com/ for more details.