Groups | Blog | Home
all groups > dotnet component services > october 2004 >

dotnet component services : Performance gain in using object pooling in COM+



Alex
10/22/2004 12:29:34 PM
Hi, I have a system using a 3-tier physical architecture (IIS/COM+/DB).
A object in COM+ gets called abount 450,000 times day.

I was wondering if I could have some noticable performance gain in
activating "Object pooling". My method executes very fast and I don't
have any special initialization work to do.

It just opens a DB connection from a pool, do its work and the returns
the connection to the pool.

Thank you

*** Sent via Developersdex http://www.developersdex.com ***
Florin Lazar [MSFT]
10/22/2004 10:25:06 PM
As in all enterprise scenarios, the answer is: try it, measure it and then
take a decision.
Object pooling is especially designed for objects that have a high cost
creation; but like I said, you need to test your specific scenario to see if
you get a better performonce.

Regards,
--
Florin Lazar - Microsoft - [ http://blogs.msdn.com/florinlazar ]
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

AddThis Social Bookmark Button