HighTechTalks DotNet Forums  

Performance gain in using object pooling in COM+

Dotnet Framework (Component Services) microsoft.public.dotnet.framework.component_services


Discuss Performance gain in using object pooling in COM+ in the Dotnet Framework (Component Services) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Alex
 
Posts: n/a

Default Performance gain in using object pooling in COM+ - 10-22-2004 , 03:29 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 ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #2  
Old   
Florin Lazar [MSFT]
 
Posts: n/a

Default Re: Performance gain in using object pooling in COM+ - 10-23-2004 , 01:25 AM






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.


"Alex" <AlexAlex (AT) hotmail (DOT) net> wrote

Quote:
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 ***
Don't just participate in USENET...get rewarded for it!



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.