dbTalk Databases Forums  

Re: Connection Pooling

mailing.database.myodbc mailing.database.myodbc


Discuss Re: Connection Pooling in the mailing.database.myodbc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Re: Connection Pooling - 05-09-2006 , 09:14 AM






------=_Part_33107_10613571.1147184036687
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Has anyone implemented connection pooling in C# .NET?

On 5/8/06, romyd misc <romydmisc (AT) gmail (DOT) com> wrote:
Quote:
What i meant by implementing connection pooling i meant if i need to do
any code changes other than changes in connection string.

Thanks,
Romy



On 5/8/06, Tim Lucia <timlucia (AT) yahoo (DOT) com> wrote:

I don't hear "you need to implement connection pooling". Maybe, but I
think
you might still have errors under load, as you approach the maximum
connection count in the pool.

Tim


-----Original Message-----
From: romyd misc [mailto:romydmisc (AT) gmail (DOT) com ]
Sent: Monday, May 08, 2006 2:37 PM
To: mysql (AT) lists (DOT) mysql.com
Subject: Connection Pooling

Hi Everyone,

I'm developing an application using C# .NET and mysql as database. It's
a
multithreaded application, we open a mysql database connection at the
very
beginning when the application is started and all the database requests
use
the same connection. But under stress or when more than one request try
to
access database, i get "object reference errors". I don't get this erro=
r

when frequency of database calls is low. Does it sounds like i need to
implement connection pooling?

I tried to lookup online, but couldn't find any help under mysql
documentation. Can someone help me setting up mysql connection pooling
with
C#.NET.

Thanks in advance,
Romy



------=_Part_33107_10613571.1147184036687--


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.