Vehbi Sinan Tunaliogluthenegation.hashnode.dev·Aug 1, 2024OpenResty on NixOS for an API GatewayAre you using an API gateway? Do you really need one? If you are using NixOS and feel comfortable with some Lua, you may want to consider OpenResty on NixOS as an API gateway. An API Gateway is simply a service that acts as a reverse proxy for API re...NixOS
Jinhua Luokingluo.hashnode.dev·Jan 5, 2024Asynchronous nginx response header/body filterAs we all know, due to the design limit, nginx header/body filters are synchronous and you should not perform blocking operations such as blocking system calls, decrypting, decompressing, or forwarding responses to other servers for further processin...nginx
Berwyn Hoytberwyn.hashnode.dev·Oct 24, 2023Update: OpenResty vs Lua 5.4: a benchmarkThis is an update to version 1 of my blog article that benchmarked Lua alternatives to OpenResty. Several parties replied to inform me of some impressive alternatives, so I have added benchmarks for redbean and nginx-lws, two good options for Lua 5.4...1 like·2.2K readsLua
Jinhua Luokingluo.hashnode.dev·Nov 27, 2022Implement grpc client in rust language for openresty/NginxBack in 2019, when I work as individual postgresql/nginx consultant. Many clients ask me if they could do hybrid programming in nginx. They said, nginx/openresty is powerful and high performance, but the most significant drawback is it lacks of ecosy...40 readsnginx
Jinhua Luokingluo.hashnode.dev·Oct 14, 2022Nginx BlockingWhat's blocking? Nginx has one master process and multiple worker processes, and each worker process is single threading. It’s well known that NGINX uses an asynchronous, event‑driven approach to handling connections. This means that instead of crea...nginx
K.M Ahnaf Zamildevguyahnaf.hashnode.dev·Jul 13, 2022OpenResty: The overpowered web server used by 40M websites (that people rarely talk about)For the last three years, I have been working with server-side technologies, especially web servers to deploy my proxies and API gateways. I always thought Nginx was the best open-source web server you could get. Event-driven architecture, ability to...1 like·31 readsnginx