4 ms·
nginx is turning into much more than just a load balancer. Projects such as OpenResty (a full CMS built into nginx) and Kong (an API management service), are bu
by rgacote 10y ago
nginx is turning into much more than just a load balancer. Projects such as OpenResty (a full CMS built into nginx) and Kong (an API management service), are built right into nginx using Lua. We've done some minor nginx Lua extensions and are looking to offload activities such as JSON validation into the front-end nginx.
http://openresty.org/ http://openresty.org/
https://getkong.org https://getkong.org
- awinder 10y agoUnless I've missed something for a while, openresty is more a distribution for building apps / apis or complex middleware on top of nginx, not a full-blown CMS. It's a pre-built collection of useful extensions & lua modules, more of an "app platform"
- hdhzy 10y agoBy JSON validation do you mean just checking if it's well formed or rather something like JSON Schema validation? The latter seems tricky. It's validation inside the application a bottleneck?
- joper90 10y agoI assume they mean JWT validation.
- rgacote 10y agoYes, json validation against schema. Bigger picture, in future we're looking to do some upstream proxy redirects based on payload. Figured the first step is short-circuiting anyone not sending us valid json. Plus, back ends are written in a variety of languages -- not all of whom do json schema validation nicely.
- joper90 10y agoKong is great, really like it
- scurvy 10y agoOpenResty is not a full CMS...