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
Is there built-in support for logging?
Explain me what is the .net framework and how does it work?
What is common type system (cts)?
When we go for html server controls and when we go for web server controls?
How is .net core cross platform?
Explain what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?
What is .net debug & trace?
What are the purposes of using .net?
What does cli do?
What is the advantage of packaging over xcopy in .net?
Tell us the difference between managed and unmanaged code?
What is RPC? What is the use of it?
Tell us why do we use the “using” statement?
Different levels of priority provided by .net.
Explain what is the difference between constants and read-only variables?