Needs advice
Kong is built on OpenResty because it allows us to extend nginx with Lua scripts through the ngx_lua module. OpenResty bundles this module as well as many others, providing a powerful server for developers to extend.
We could have built a modular reverse proxy on nginx either by bundling Nginx with our own flavor of 3rd party modules or by developing on top of OpenResty. We admired the work done on OpenResty and thought of a way to build a modulable core, on which plugins could be added. Hence, Kong is mostly a collection of Lua scripts that allow it to execute plugins at runtime for routes and services.
This decision is an adaptation of a Quora answer originally written by Thibault Charbonnier.
0 views0
Comments