Live data from Hacker News

Scripting Nginx with Lua (2012)

londonlua.org

11–20 of 23 posts

Re: Scripting Nginx with Lua (2012)

#11
If you are interested in working on or with OpenResty then CloudFlare is hiring people in London and San Francisco. We employ agentzh and he works on OpenResty at CloudFlare. We use it _extensively_ throughout the CloudFlare stack.

And also we really, really need more people with experience of OpenResty, NGINX, Lua and LuaJIT.

https://www.cloudflare.com/join-our-team

Re: Scripting Nginx with Lua (2012)

#12

I tend to always use OpenResty for a certain set of tasks these days. Notably, when it is mostly about lightweight data processing. I.e. an API that reads from a DB, transforms some fields and returns json, or a simple proxy server that slightly modifies the data (or just returns it). Or, performing simple calculations based on a few inputs. All this usually just requires a few lines of code and due to the nature of…

The whole debug while requesting a page sounds great, that's a feature I adore from Xdebug.

Re: Scripting Nginx with Lua (2012)

#13

If you are interested in working on or with OpenResty then CloudFlare is hiring people in London and San Francisco. We employ agentzh and he works on OpenResty at CloudFlare. We use it _extensively_ throughout the CloudFlare stack. And also we really, really need more people with experience of OpenResty, NGINX, Lua and LuaJIT. https://www.cloudflare.com/join-our-team

agentzh is a great and helpful guy! We're using openresty in a big enterprise setup (100.000+ employees) and it's great.

Sometimes you just want to get a simple json endpoint with some dynamic data, and you can do that in 4 lines in lua+openresty.

Re: Scripting Nginx with Lua (2012)

#14
At Lonely Planet we've had a good experience using OpenResty directly behind our CDN. We use it to perform rewrites, route requests to the appropriate applications, manage splits for a/b testing, block malicious traffic, gather metrics, and more!

We touch on our use of it a little bit towards the end of http://velocityconf.com/velocityeu2012/public/schedule/detai.... The last slide is still true- we're hiring! Ruby (remote possible), javascript, devops, and more. See http://www.lonelyplanet.com/jobs/

Re: Scripting Nginx with Lua (2012)

#15

If you are interested in working on or with OpenResty then CloudFlare is hiring people in London and San Francisco. We employ agentzh and he works on OpenResty at CloudFlare. We use it _extensively_ throughout the CloudFlare stack. And also we really, really need more people with experience of OpenResty, NGINX, Lua and LuaJIT. https://www.cloudflare.com/join-our-team

One of the concerns I have about openresty is that so much of it relies on agentzh. He does amazing work at an insane rate - a rate that I'm a bit concerned (as someone who uses openresty & luajit extensively) can't be sustained in the long term, and is in serious jeopardy if he gets a better offer.

Re: Scripting Nginx with Lua (2012)

#17
I already posted this some time ago, but let me insist on this one:

Openresty (nginx+lua) is probably one of the most underrated technologies we have available nowadays. In my experience, every webapp can offload a ton of work(1) to openresty. The lua code is usually simpler and a lot faster that the equivalent code in the app.

(1) think caching, auth/acl, security filters, stats, logging

Re: Scripting Nginx with Lua (2012)

#20

If you'd like to go a bit higher level without sacrificing performance, I suggest Lapis, a Lua/Moonscript framework built on top of OpenResty: http://leafo.net/lapis/ (not the author, just a fan!)

Thanks for sharing. Lapis looks really cool. For anyone curious about performance see ChikkaChiChi's comment[1].

[1] https://news.ycombinator.com/item?id=8021069

Post reply on HN