大家用idtcpserver/idtcpclient做项目,服务器端通过Stream的方式传输,同时被访问的并发量是多少?(100)

H

hedadt

Unregistered / Unconfirmed
GUEST, unregistred user!
大家用idtcpserver/idtcpclient做项目,服务器端通过Stream的方式传输,同时被访问的并发量是多少?
 
我在06年的一个软件,用的indy9.做数据转发处理,并发量在500/S.使用状况很好。Indy的官方帮助文件中 But there are performance and resource limitations imposed by the platform or Operating System on the number of threads that can be created. On Windows, for example, the number of threads is limited by the available virtual memory. By default, every thread gets one megabyte of stack space and implies a theoretical limit of 2028 threads. Reducing the default stack size will allow more threads to be created, but will adversely impact system performance. 一般tcpserver,没有IOCP下采用线程方式,一个服务器最多也只能创建2000个左右的连接线程,之后就会出现10053错误。如果你的并发超过1000的话,建议不要使用indy
 
估计也就几百人而已.
 
如果对indy情有独钟那么用indy10吧,里面针对大用户量就用Indy10+IOCP+纤程+SuperCore包吧
 
改用 Asta
 
多人接受答案了。
 
顶部 底部