TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

An Introduction to OpenResty

62 点作者 fcambus超过 9 年前

8 条评论

frik超过 9 年前
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 未加载
sinzone超过 9 年前
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.
mitchtbaum超过 9 年前
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>
crudbug超过 9 年前
Luvit.io - libuv + LuaJIT is also in the same space.
meowface超过 9 年前
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.
sshb超过 9 年前
I find lua+nginx really useful for auth checking.
ausjke超过 9 年前
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>
waspoza超过 9 年前
Why lua&#x2F;ngx is better than Go app?
评论 #10789792 未加载