Chris
Sat Aug 26 15:26:39 CDT 2006
<ken.overton@gmail.com> wrote
> Chris Mullins wrote:
> What are you trying to accomplish by writing a custom
> IOCP Sockets integration?
>
> The clients I typically have to write connect to lots and lots of
> different sockets. Some of those are very active, some are not so
> active. It just seems ludicrous to dedicate an entire IOCP thread for
> each of these. It seems pretty logical to find a way to group a bunch
> of less-active sockets together on one IOCP, a high-volume with it's
> own, etc etc.
I would just use the out-of-the-box technology and not worry about it.
We've had to build some crazy client-side sockets applications in order to
drive load against the SoapBox Server. We actually built a full XMPP based
botnet (bots, controllers, etc) that can run on N number of machines,
connect to a control channel server, listen for work items and then execute
those work items. Driving load on a server than can handle 500k simultanious
users has been..... challenging.
We can (and have) had tens of thousands of these little bots running on lots
and lots of machines.
32-bit Windows Sockets scales, client side, to about 30k sockets before
things really start to taper off. This assumes you have enough memory, and
have set the magic registry switches.
--
Chris Mullins, MCSD.NET, MCPD:Enterprise
http://www.coversant.net/blogs/cmullins