English 中文(简体)
有多少用户是Nodejs & Socket。 io能够支持吗?
原标题:How many users Nodejs & Socket.io can support?

我有一个网站,播放广播,向网站的所有用户发送信息。 这只是最简单的执行。 io,但我目前存在问题。 当我袭击了约100名同时使用者时。 聋.服务器开始滞后,直到我不再访问我的整个网站。 当我们检查服务器时。 no子的消费是万国邮联的100%。 是否正常?

我想知道有多少用户能够开张。 io支持吗? 当发生这种情况时,是否有办法按计划重新启用 no子服务器?

最佳回答
问题回答

我有多功能卡片游戏。 页: 1 io maxes out my CPU at around 3,000jointuser. 这是在英特尔i 7 CPU。 由于这一原因,我不得不进行多次辩论。 处理负荷的电解程序。

对于100条同时连接,应当罚款。 也许你正在使用某些甚高频和高频频设备,并且与所有其他低频设备分享? 您是否拥有专用服务器?

此外,检查你的法典。 你们也许会做一些应该像样的 st子。

你们是否必须向所有客户传达信息,而不放弃信息? 如果没有,我提议使用袖珍、无能为力的呼吁。 远程客户和不可交换的连接点可能会遇到许多问题。





相关问题
How to make Sequelize use singular table names

I have an model called User but Sequelize looks for the table USERS whenever I am trying to save in the DB. Does anyone know how to set Sequelize to use singular table names? Thanks.

What is Node.js? [closed]

I don t fully get what Node.js is all about. Maybe it s because I am mainly a web based business application developer. What is it and what is the use of it? My understanding so far is that: The ...

Clientside going serverside with node.js

I`ve been looking for a serverside language for some time, and python got my attention somewhat. But as I already know and love javascript, I now want learn to code on the server with js and node.js. ...

Can I use jQuery with Node.js?

Is it possible to use jQuery selectors/DOM manipulation on the server-side using Node.js?

How do I escape a string for a shell command in node?

In nodejs, the only way to execute external commands is via sys.exec(cmd). I d like to call an external command and give it data via stdin. In nodejs there does yet not appear to be a way to open a ...

热门标签