What are object pooling and connection pooling and difference?

Answer Posted / guest

Connection Pooling:-
-Creation is on the same thread, so if there is nothing in
the pool, a connection is created on your behalf.
-There is nothing like minimum value or maximum value.
Object pooling :-
-The pool might decide to create a new object. However, if
you have already reached your maximum, it instead gives you
the next available object. This is crucial behavior when it
takes a long time to create an object, but you do not use it
for very long.
-We can set minimum and maximum values of object pooling.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the intermediate language between asp and asp.net1.0?

1464


What are the differences between an interface and an abstract class in .net?

514


Is .net core stable?

495


Do I have any control over the garbage collection algorithm?

551


Tell me about secure socket layer? How to make use of the technology?

548






What are virtual destructures?

532


Types of evidence in .net with context to CAS

1644


What is RCW (Run time Callable Wrappers)?

1956


What is the difference between function and stored procedure?

584


How does the generational garbage collector in the .net clr manage object lifetime? What is non-deterministic finalization?

555


Describe the Managed Execution Process

1645


Difference between dispose and finallize method?

663


How to debug failed assembly binds?

602


How many namespaces are in .net version 1.1?

607


What is the difference between an abstract class and an interface?

507