Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: ICS and serialisation effects

www.cryer.info
Managed Newsgroup Archive

Re: ICS and serialisation effects

Subject:Re: ICS and serialisation effects
Posted by:"Francois Piette [ICS & Midware]" (francois.piet..@overbyte.be)
Date:Thu, 8 Jun 2006 14:13:45

> Because I want to run on a multi CPU rig, I need to run at least as many
> threads as I have CPUs.  If I open a TCP or UDP server with ICS, are
> event notifications dispatched to the right threads efficiently?

There is a TCP threaded server component available in ICS. Using this
component you can select how many client socket will be handled per thread
(using a thread per client is overkill and really not scalable). Events are
disptached - by Windows - in the thread having the client socket attached
to.

> Also, are new connections load-balanced between the
> threads efficiently and effectively?

Not sure I understand the question...
The server component will create a new thread as the previous one reached
the maximum number of client you've setup. It is the OS which schedule the
available CPUs to the threads in the ready state.

If you want to discuss about ICS? it is better to use ICS own dedicated
support mailing list where about one thousand subscribers and TeamICS, share
their knowledges. Go to http://www.overbyte.be and follow "support" link for
details.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive