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
Who is using .net core?
What data providers available in .net to connect to database?
What are the new features of Framework 1.1 ?
which methos do you invoke on the dataadapter control to load your generated dataset with data?
How do I spawn a thread?
Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column
What is func in .net 3.5?
Please explain what are an inheritance, polymorphism, and encapsulation?
What is interface and abstract class in .net?
What is DTS and explain the purpose of it?
What are the deferred execution and the immediate execution in linq?
Is Driver Script any how related to AOM?
Please explain what is reflection and what is it for?
Explain difference between panel and groupbox classes using .net?
Explain the difference between task and thread in .net?