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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Mongrel2 v1.6 Released

47 点作者 cwb大约 14 年前

7 条评论

tlrobinson大约 14 年前
I'm still not quite sure where Mongrel2 fits in the stack. Is the idea to just take care of the nitty gritty details of writing an asynchronous HTTP server and expose it to app servers via ZeroMQ? Like an asynchronous version of FastCGI?<p>If I already have an app server that has a good asynchronous HTTP server built-in (Tornado, Node.js, etc) is there any reason I'd want to use Mongrel2?<p>From the documentation:<p><i>"Other web servers will let you talk to any language as a backend, but they insist on using HTTP proxying or FastCGI, which is not friendly to asynchronous operations."</i><p>Maybe I don't understand why HTTP proxying isn't async friendly? Node.js does it quite well.<p>Not trying to knock Mongrel2, I'm just trying to understand better.<p>Zed if you're listening, some example deployment scenarios would be helpful.
评论 #2542135 未加载
sophacles大约 14 年前
This is pretty cool. One thing tho:<p>The @routename construct is <i>still</i> not explained in the documentation, but used in that documentation.<p>I hate to be this guy, but I pointed that out to the mailing list before the last release, along with a request for advice on how to proceed with fixing the docs, and got no reply. I figured since Zed bragged about fixing the routing docs, they would have included some sort of mention of the mysterious symbol, but alas, no.
评论 #2542490 未加载
peterb大约 14 年前
This is a project to watch. Language agnostic web server with a 0MQ back-end to automagically take advantage of multi-threading/multi-core on modern hardware. Nice.<p>Plus he is running unit tests against code samples in the manual. Brilliant!
评论 #2541971 未加载
FooBarWidget大约 14 年前
I'm wondering why TNetstring types come after the data. This means you have to buffer the entire data before you can parse it. Is this intentional?
评论 #2541976 未加载
评论 #2541990 未加载
swaits大约 14 年前
I'm constantly amazed at how much stuff Zed cranks out.
评论 #2541836 未加载
fictorial大约 14 年前
TNetStrings seems quite similar to Bencode less the size prefix.<p><a href="http://tnetstrings.org" rel="nofollow">http://tnetstrings.org</a><p><a href="http://enwp.org/Bencode" rel="nofollow">http://enwp.org/Bencode</a><p>(sample implementation) <a href="https://github.com/bittorrent/bencode/blob/master/bencode/__init__.py" rel="nofollow">https://github.com/bittorrent/bencode/blob/master/bencode/__...</a>
评论 #2541991 未加载
evangineer大约 14 年前
DevOps folks are going to love the upcoming "config server" protocol that Zed is proposing to do for v1.8.
评论 #2541844 未加载