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.

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

42 pointsby Mittover 11 years ago

5 comments

waffle_ssover 11 years ago
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 未加载
VeejayRampayover 11 years ago
10 seconds until someone mentions this benchmark is somehow unfair and nonsensical :)<p>Still a very informative, promising and well formatted article, props.
swahover 11 years ago
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??
ecesenaover 11 years ago
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)
qwertaover 11 years ago
Now write database which would feed this with data...