[Mono-list] Re: Maintaining just one DB (Npgsql) connection for web services

Christopher Nehren apeiron+usenet at coitusmentis.info
Fri May 20 14:40:06 EDT 2005


On 2005-05-20, Joe Audette scribbled these
curious markings:
> I think trying to use just 1 connection is not a good
> idea. You want to use connection pooling to re-use
> connections but not just 1 connection or your app
> won't scale to many users.

Hmm, thanks for the advice. Connection pooling does sound like what I
want.

> Support for connection pooling is built in to the .NET
> data providers.

Aha, that's the rub! This automagic "Just Works" is why I love the .NET
platform.

Thanks again, and thanks especially for the very speedy reply!

Best Regards,
Christopher Nehren
-- 
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
If you ask the wrong questions, you get answers like "42" and "God".
Unix is user friendly. However, it isn't idiot friendly.



More information about the Mono-list mailing list