Explain object pooling?



Explain object pooling?..

Answer / vadivel

In computer programming, a Object pool is a software design
pattern. An object pool is a set of initialised objects
that are kept ready to use, rather than allocated and
destroyed on demand. A client of the pool will request an
object from the pool and perform operations on the returned
object. When the client has finished with an object, it
returns it to the pool, rather than destroying it. It is a
specific type of factory object.

Object pooling can offer a significant performance boost;
it is most effective in situations where the cost of
initializing a class instance is high, the rate of
instantiation of a class is high, and the number of
instantiations in use at any one time is low.

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More COM DCOM Interview Questions

Can I use com components from .net programs?

0 Answers  


how to call a dll as a COM dll?

0 Answers  


How does a DCOM component know where to instantiate itself?

1 Answers  


How do we create dcom object in vb6?

0 Answers  


Can I use .net components from com programs?

0 Answers  






Which namespace do the classes, allowing you to support COM functionality, are located?

0 Answers  


Can you explain what is dcom?

0 Answers  


How do you make a NET component talk to a COM component?

3 Answers   TCS,


What is IUnknown? What methods are provided by IUnknown?

3 Answers   IBM,


Suppose we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C?

0 Answers  


Differentiate normal DLL to COM DLL

7 Answers   Talisma,


Which tool is used to configure the port range and protocols for DCOM communications?

1 Answers  


Categories