Differentiate between object pooling and connection pooling in c#?



Differentiate between object pooling and connection pooling in c#?..

Answer / Samsher Singh

Object pooling is a technique to reuse previously created objects, instead of creating new ones each time they are needed. This can improve performance by reducing the overhead associated with object creation and destruction. Connection pooling is specifically used for database connections and works similarly by keeping a cache of previously established connections. When a request comes in for a connection, it is taken from the pool rather than establishing a new one.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What are handlers in c#?

1 Answers  


What is a Jagged Array in C#?

1 Answers   Arigo Infotech,


Explain manifest & metadata in c#.

1 Answers  


What is the difference between dynamic type variables and object type variables in c#?

1 Answers  


What is Satellite Assemblies ?

1 Answers   MCN Solutions,


What?s an abstract clas?

5 Answers   Mind Tree,


what is unit testing

2 Answers  


What is the difference between string keyword and system.string class?

1 Answers  


Which is faster hashtable or dictionary?

1 Answers  


Why do we use partial class in c#?

1 Answers  


Asha buys 16 Chocolates for rs 12 and 24 chocolates for rs 20, if she sold them 30 chocolates for rs 30 then what is the Gain/Loss percentage? Gain(700/19 %) Loss(700/19 %) Gain(500/19 %) Loss(500/19 %) If one person ate 100 grapes in 5 days and 6 more each day from starting, what was the no of grapes he ate on first day? 6 8 10 7 If seven men P, Q, R, S, T, U, V parked his car, P and Q something like that. 6 student J, K, L, M, N, O went for picnic in 2 batches, K and L have to go together, M and O do't go together, if O and L go in one batch then which of these combination will be wrong. Jmnp Jklo klop JKLO a boat can go upstream and down stream, if it goes 5/2 times of downstream at the speed of 6 kmph then what will be the speed of upstream? 15 KMPH 12 KMPH 10 KMPH 11 KMPH A, B, C, D, E sitting on a table, A sits 2 seat left from B and C sits 2 seat right from B then what will not be the combination ACDE

1 Answers   Symphony,


What is a delegate?

5 Answers   Siebel Systems,


Categories