Slowdown when idle
Posted: Fri 13 Apr 2007 22:23
First of all, I have to say I am very impressed with MySQLDirect .NET. Performance is tons better than the Access databases I was using with Visual Basic .NET, and it really was not that hard to convert my application to MySQL with the help of CoreLabs products.
Anyways, this probably is not anything related to MySQLDirect, but I wondered if anybody would have any ideas.....
When connecting to my MySQL server, things move very fast, especially once all the connections are up and running. But, if my VB application sits idle for 20 minutes or so, and then I try to do something, there is a 10-15 second delay before it comes back 'online' again (and then it's all very quick again). I have connection pooling enabled (it's on by default, right?) and Persist Security Info set to True.
Any thoughts? I'm connecting to the server via a VPN, so I guess it could be the VPN going idle as well.... Not sure..
Anyways, this probably is not anything related to MySQLDirect, but I wondered if anybody would have any ideas.....
When connecting to my MySQL server, things move very fast, especially once all the connections are up and running. But, if my VB application sits idle for 20 minutes or so, and then I try to do something, there is a 10-15 second delay before it comes back 'online' again (and then it's all very quick again). I have connection pooling enabled (it's on by default, right?) and Persist Security Info set to True.
Any thoughts? I'm connecting to the server via a VPN, so I guess it could be the VPN going idle as well.... Not sure..