OpenResty: A Swiss Army Proxy for Serverless
futurice.com
futurice.com
We have a fair number of people running OpenResty on Fly.io. It's a pretty good fit. I'd _love_ to have an OpenResty based on v8/JavaScript that wasn't so heavily tied to nginx events, I could build so many neat apps.
If you want to take a look at a fairly large (maybe the largest?) OpenResty application you can take a look at https://github.com/Kong/kong
Disclaimer: I am CTO at Kong
Also, why for the desire to have JavaScript built in. There’s a number of language features of Lua that make openresty possible that I’m not certain JavaScript could provide.
In the end though, it's a tough sell because it markets itself as a full web platform built atop Nginx, rather than being stock Nginx + a Lua engine.
I have to do some sort of race to shared memory for who initialized it first.
Lapis is a framework for building web applications using MoonScript or Lua that runs inside of a customized version of Nginx called OpenResty.