[WEBINAR] The New Normal: Dealing with the Reality of an Unsecure World

Object Pooling

Definition - What does Object Pooling mean?

Object pooling is an automatic service that allows a pool of active component instances to be maintained for usage by any requesting client.

Object pooling provides a repository of active and ready-made objects that may be used by clients requesting configured pooling components. Pool objects may be configured and monitored by specifying required options, such as pool size and time-out value for object creation.

Techopedia explains Object Pooling

The key benefit of object pooling is a reduction in object construction and initialization time. Object pooling works well with expensive and heavyweight objects that increase memory overhead, resulting in optimized resources that may be allocated prior to starting the application. Object pooling also suits Web server components created when responding to multiple simultaneous client requests. Object pooling facilitates the sharing of required but expensive object access resources.

Originally, object pooling was implemented in COM+ in Windows 2000 to configure pooling by reusing objects for performance and scaling benefits. This service also may be used in applications built in .NET frameworks and in .NET components. It also works with legacy applications written with COM/COM+. Unlike Visual Basic 6.0 components, Visual Basic .NET components make use of object pooling.

Object pooling depends on an operating system's application domain. In Windows 2000 and for library mode of application activation, the object pool is created in the default application domain. In Windows XP and Windows Server 2003 each application domain has its own object pool. For server mode, clients use the object pool created in the application domain.

When combined with Just-In-Time (JIT) activation, object pooling yields good performance by speeding object reactivation time while controlling dedicated client resources.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
"Techopedia" on Twitter

Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.