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
What is the intermediate language between asp and asp.net1.0?
What are the differences between an interface and an abstract class in .net?
Is .net core stable?
Do I have any control over the garbage collection algorithm?
Tell me about secure socket layer? How to make use of the technology?
What are virtual destructures?
Types of evidence in .net with context to CAS
What is RCW (Run time Callable Wrappers)?
What is the difference between function and stored procedure?
How does the generational garbage collector in the .net clr manage object lifetime? What is non-deterministic finalization?
Describe the Managed Execution Process
Difference between dispose and finallize method?
How to debug failed assembly binds?
How many namespaces are in .net version 1.1?
What is the difference between an abstract class and an interface?