Reusing Objects via Resource Pooling

JIT activation on the server means that objects are created and destroyed with great frequency. There is a great deal of time and CPU cycles expended each time a COM+ object is created. This is the reason that COM+ has introduced the concept of a resource pool. Instead of destroying an object, COM+ simply returns it to its original state and places it in a pool. The next time a client request an object, COM+ simply retrieves it from the resource pool and does not have to re-create it.

Monitoring Pool Usage with Component Services

You can configure and monitor the usage of the pool at a component level. Using the Component Services administrative tools, you're able to define the minimum and maximum size of ...

Get Sams Teach Yourself Microsoft® Windows® DNA Programming in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.