TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

An Introduction to OpenResty

62 pointsby fcambusover 9 years ago

8 comments

frikover 9 years ago
I plan to try out OpenResty in the next days, it brings the great Lua language to the web (Nginx web server). In the benchmark OpenResty is in the top part next to C&#x2F;C++&#x2F;Java based frameworks: <a href="http:&#x2F;&#x2F;www.techempower.com&#x2F;benchmarks&#x2F;#section=data-r11&amp;hw=peak&amp;test=json" rel="nofollow">http:&#x2F;&#x2F;www.techempower.com&#x2F;benchmarks&#x2F;#section=data-r11&amp;hw=p...</a><p>OpenResty needs a new website <a href="http:&#x2F;&#x2F;openresty.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;openresty.org&#x2F;</a> , confusing JS. With more examples, links to frameworks like Lapis, mention high profile users of OpenResty, etc.
评论 #10788985 未加载
评论 #10788194 未加载
sinzoneover 9 years ago
We use it a lot at Mashape, since Kong (<a href="https:&#x2F;&#x2F;github.com&#x2F;Mashape&#x2F;kong" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Mashape&#x2F;kong</a>) is entirely powered by OpenResty and probably by now, Kong is the most used and adopted OpenResty software.<p>Without OpenResty we couldn&#x27;t have built Kong or make it freely available to everyone.
mitchtbaumover 9 years ago
Turbo offers another approach, similar to Python&#x27;s Tornado web framework. I really like using a lightweight, super fast, easy-to-hack web server. Lua strikes me as a great language for web tooling.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;kernelsauce&#x2F;turbo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kernelsauce&#x2F;turbo</a>
crudbugover 9 years ago
Luvit.io - libuv + LuaJIT is also in the same space.
meowfaceover 9 years ago
I&#x27;ve been playing with OpenResty + MoonScript (<a href="http:&#x2F;&#x2F;moonscript.org" rel="nofollow">http:&#x2F;&#x2F;moonscript.org</a>) for various web app middleware features, and so far it&#x27;s been fantastic. The performance is pretty much as good as you can get without a full C&#x2F;C++ rewrite, and Lua&#x2F;MoonScript is better than serving dynamic content solely with nginx config directives.
sshbover 9 years ago
I find lua+nginx really useful for auth checking.
ausjkeover 9 years ago
lapis is another framework. <a href="http:&#x2F;&#x2F;leafo.net&#x2F;lapis&#x2F;" rel="nofollow">http:&#x2F;&#x2F;leafo.net&#x2F;lapis&#x2F;</a>
waspozaover 9 years ago
Why lua&#x2F;ngx is better than Go app?
评论 #10789792 未加载