Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Dec : Re: About IOCP

www.cryer.info
Managed Newsgroup Archive

Re: About IOCP

Subject:Re: About IOCP
Posted by:"Danijel Tkalcec [RTC]" (dtkalc..@hotmail.com)
Date:Wed, 28 Dec 2005 09:15:50

Hi Olivier,

"Olivier Pons" wrote:
> I'll let you know.
> Still got to work on it.
> My server processed 1 600 000 responses this night
> without any problem but memory consuming which I definitely
> can't avoid.

How complex were those requests?
What kind of a PC are you using as a Server?

As a number, 1.600.000 requests over nite is not much, in case those are
relatively short requests.

In my tests, a 667 MHz CPU with 256 MB RAM using Delphi's default MM will be
able to process about 500 short remote function calls per second, which
gives about 1.300.000 per hour (see www.deltasoft.hr/rtc/tests.htm).

> The problem is now on the client side.
> As both client and server use the same protocol
> to send / receive messages I guess the problem
> comes from memory allocation. This may come
> from the way my client creates the 'result messages'.

I guess you are still using FastMM, so I'd suggest you to check for memory
leaks. With 1.600.000 requests, if only 100 bytes are leaked per request,
your Client will leak 160 MB.

> I'll let you know what happens. (In this thread)

Ok.

--
Danijel Tkalcec
http://www.deltasoft.hr/rtc/author.htm

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive