OpenResty with Redis on the same system - both Lua-powered - is a god-like power.
Ability to do basically control and rewrite all your ingress AND egress and have some state via Redis over UNIX sockets.
What's not to love? After all, it's what powers the bulk of internet.
Granted, it sounds dreamier than it is, since a lot of the contraptions you could come up with might be better placed at application layer. But having operational ability to do these things ad-hoc, security advantages of manipulating at your own infra edge or performance boosts, sure does come in handy!
We did this on production (still runs at webscale) but we abandoned dev effort on it for ${reasons}. I _loved_ it though :) Hook Lua on the HTTP event processing stages and add icing on the cake with Lua modules to hand-off non-trivial stuffs..
Ability to do basically control and rewrite all your ingress AND egress and have some state via Redis over UNIX sockets.
What's not to love? After all, it's what powers the bulk of internet.
Granted, it sounds dreamier than it is, since a lot of the contraptions you could come up with might be better placed at application layer. But having operational ability to do these things ad-hoc, security advantages of manipulating at your own infra edge or performance boosts, sure does come in handy!