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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

600k concurrent HTTP connections with Clojure and http-kit (2013)

42 点作者 Mitt超过 11 年前

5 条评论

waffle_ss超过 11 年前
This has been posted twice before[1][2]. It should be noted that this benchmark was done over localhost, i.e. packets did not actually leave the computer, so who knows what kind of optimizations were done by the kernel &#x2F; networking stack.<p>When looking at examples where packets actually leave the computer, at least one person achieved 1M concurrent connections with Erlang in 2008, and WhatsApp were hitting 2.8M concurrent connections with Erlang in a production system in 2012[4]. Of course memory usage was a lot higher in these examples, but at least they were exercising the networking stack.<p>[1]: <a href="https://news.ycombinator.com/item?id=5127251" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5127251</a><p>[2]: <a href="https://news.ycombinator.com/item?id=5474331" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5474331</a><p>[3]: <a href="http://www.metabrew.com/article/a-million-user-comet-application-with-mochiweb-part-1" rel="nofollow">http:&#x2F;&#x2F;www.metabrew.com&#x2F;article&#x2F;a-million-user-comet-applica...</a><p>[4]: <a href="http://www.erlang-factory.com/upload/presentations/558/efsf2012-whatsapp-scaling.pdf" rel="nofollow">http:&#x2F;&#x2F;www.erlang-factory.com&#x2F;upload&#x2F;presentations&#x2F;558&#x2F;efsf2...</a>
评论 #7186725 未加载
VeejayRampay超过 11 年前
10 seconds until someone mentions this benchmark is somehow unfair and nonsensical :)<p>Still a very informative, promising and well formatted article, props.
swah超过 11 年前
OT: I didn&#x27;t know this nice http server with unified API for websocket and long polling. Maybe this is the reason SockJS and Socket.IO aren&#x27;t getting the attention I thought they would? People are just using websocket or long polling, ignoring the other fallbacks??
ecesena超过 11 年前
Has anyone similar data on EC2 instances? I&#x27;d be particularly interested in small&#x2F;medium ones. (localhost+no database are fine, it&#x27;s just for the sake of comparison)
qwerta超过 11 年前
Now write database which would feed this with data...