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.

C500k in Action at Urban Airship

89 pointsby cscottaover 14 years ago

9 comments

tmountainover 14 years ago
I'm curious what kind of OS tuning was required for 500k concurrent connections. It's obvious that some ulimit tuning is necessary, but I'm wondering if any other hard limits beyond that were hit? Also, in case the original author is reading, you might find this interesting as well. It's an article on trying to reach 1MM concurrent connections with Erlang.<p><a href="http://www.metabrew.com/article/a-million-user-comet-application-with-mochiweb-part-1" rel="nofollow">http://www.metabrew.com/article/a-million-user-comet-applica...</a>
评论 #1631657 未加载
dayjahover 14 years ago
Thanks for doing this, definitely very interested in the follow up posts. Having just finished working for a company that 'claim' to be experts in this area it is very interesting to see you guys wipe the floor with your connections/node ratio.
Sukottoover 14 years ago
<p><pre><code> Jumping from 35,000 connections per node on an EC2 Small instance to over half a million on a single EC2 Large... </code></pre> You moved the goalpost. I think the conclusion would make a lot more sense if you compared apples to apples when it comes to your server... either test everything on a small or on a large.
评论 #1630720 未加载
评论 #1630844 未加载
评论 #1630695 未加载
dschobelover 14 years ago
Can someone clarify what a spike is? It doesn't appear to refer to just resource load...<p><i>"...we spent several hours fanning out that spike to include three versions"</i>
评论 #1630821 未加载
bad_userover 14 years ago
Why the difference when working with code written in Scala?<p>What does Scala do to make the number of connections 50% less?
brandonover 14 years ago
I'd be particularly interested to know what the JVM spikes were doing with their respective connections. I'd love to profile some roughly-equivalent implementations using Erlang/Twisted/libevent/et al.<p>FOR SCIENCE
tomjen3over 14 years ago
Interesting, but I wonder why they didn't take a look at Erlang - I mean this is pretty much what it was meant to do.
评论 #1631573 未加载
russell_hover 14 years ago
Someone mentioned this in the comments, but I'm curious about the outcome of the Node.js spike as well.
niallsmartover 14 years ago
Does keeping a socket open affect the handset battery life much?
评论 #1632074 未加载