What are object pooling and connection pooling and difference between them?



What are object pooling and connection pooling and difference between them?..

Answer / Yogendra Pratap Singh

Object pooling is a technique used to reuse objects by keeping them in a pool. Instead of creating new instances each time they're needed, previously used instances are retrieved from the pool and reused. This reduces the overhead associated with object creation and garbage collection.

Connection pooling is a specific type of object pooling, used for database connections. It keeps a pool of open connections to databases so that when a connection is needed, it can be quickly obtained without the time-consuming process of establishing a new one.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Explain synchronous and asynchronous operations?

1 Answers  


Which are the access modifiers available in c#?

1 Answers  


How assembly versioning in .NET prevent DLL Hell problem?

1 Answers   DELL,


Does c# support try-catch-finally blocks?

1 Answers  


What is ado c#?

1 Answers  


Is datetime value type c#?

1 Answers  


How do you mark a method obsolete?

1 Answers  


What is list array in c#?

1 Answers  


How do switch statements work?

1 Answers  


FOR EXAMPLE : CLASS Dotnet { } creating object: Dotnet dn=new Dotnet(); NOW THE QUESTION IS WHICH IS CALLED AS OBJECT ? EITHER dn OR new Dotnet() and CAN YOU PROVE YOUR ANSWER????? PLEASE REPLY...

2 Answers  


How do I link two windows forms in c#?

1 Answers  


if i used stored procedure for retrieving the data from sql server.in front end i had used data reader.when 100 records are there in table.when it has displayed ten records in frontend database has been collapsed.then where should our data available...

2 Answers   CybAge, Wipro,


Categories