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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Socket.IO on iOS

56 点作者 Rauchg大约 10 年前

3 条评论

joshstrange大约 10 年前
Whenever I think of WebSockets&#x2F;real-time I think of Socket.io but I would be interested to hear a response from the Socket.IO team in regards to Trello saying [0] they couldn&#x27;t scale Socket.IO over 10K connections:<p>&gt; We use a modified version* of the Socket.io client and server libraries that allows us to keep many thousands of open WebSockets on each of our servers at very little cost in terms of CPU or memory usage.<p>&gt; * The Socket.io server currently has some problems with scaling up to more than 10K simultaneous client connections when using multiple processes and the Redis store, and the client has some issues that can cause it to open multiple connections to the same server, or not know that its connection has been severed. There are some issues with submitting our fixes (hacks!) back to the project – in many cases they only work with WebSockets (the only Socket.io transport we use). We are working to get those changes which are fit for general consumption ready to submit back to the project.<p>I&#x27;d be interested to hear if those &quot;hacks&quot; got merged in or fixed some other way. Of course most of us aren&#x27;t dealing with 10K simultaneous connections and Socket.IO is awesome so this is in no way a warning to keep away from it, I&#x27;m just interested.<p>[0] <a href="http://blog.fogcreek.com/the-trello-tech-stack/#asterisk" rel="nofollow">http:&#x2F;&#x2F;blog.fogcreek.com&#x2F;the-trello-tech-stack&#x2F;#asterisk</a>
LargeCompanies大约 10 年前
So, is this a way to mesh native and web apps together?<p>For example, I want to create a multi-player game and demo it to an audience of 500. I get up on stage and ask them to go to a URL to join in on the fun while I&#x27;m using the native app to control the experience.<p>Right now our BlueTooth Audio like web framework (<a href="http://SpeakerBlast.com" rel="nofollow">http:&#x2F;&#x2F;SpeakerBlast.com</a>) uses Socket.IO and we&#x27;ve had a few clients request a native &amp; web experience for their events.
reilly3000大约 10 年前
Stream all the things!