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 |
Explain synchronous and asynchronous operations?
Which are the access modifiers available in c#?
How assembly versioning in .NET prevent DLL Hell problem?
Does c# support try-catch-finally blocks?
What is ado c#?
Is datetime value type c#?
How do you mark a method obsolete?
What is list array in c#?
How do switch statements work?
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...
How do I link two windows forms in c#?
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...
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)