聊天客户端如何支持超过十万 [英] Chat client how to support more than one hundred thousand

查看:151
本文介绍了聊天客户端如何支持超过十万的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一个聊天软件可以支持超过十万个客户问我为初学者提供了什么代码

I want a chat software can support more than one hundred thousand clients ask what I was given a code for beginners

推荐答案

暂时忘掉软件,看看你需要的硬件基础设施。如果您真的希望维护100,000个并发连接,那么您将看到一个严肃的互联网连接 - 这个网站在任何时候只有40,000左右的用户在线,而且大部分用户都没有做任何事情。时间(以计算机术语表示),因此它可能有40,000个会话在运行,但实际上并没有做任何事情。你看过这个地方正在运行的专用硬件吗?或者让它保持运行所需的人数?没有?试试这里: http://www.codeproject.com/info/about.aspx [ ^ ]



如果您要支持100,000个并发连接,那么您需要的硬件要复杂一个数量级。



想想你实际想要实现的目标,以及再问一次 - 如果你会那么善良的话,会有更好的细节和略微有条不紊的语气。
Forget the software for a moment, and look at the hardware infrastructure you will need. If you are genuinely expecting 100,000 simultaneous connections being maintained, then you are look at a serious internet connection to start with - this site has only 40,000 or so users online at any one time, and most of the, are not doing anything most of the time (in computer terms), so it might have 40,000 sessions running, but not actually doing anything. Have you seen the dedicated hardware this place is running on? Or the number of people it takes to keep it running? No? Try here: http://www.codeproject.com/info/about.aspx[^]

If you are going to be supporting 100,000 simultaneous connections, you are going to need hardware an order of magnitude more complex.

Think about what you actually want to achieve, and ask again - with better details and a slightly politer tone, if you would be so kind.


这篇关于聊天客户端如何支持超过十万的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆