Umbraco is turning 5!
There's already 322 people signed up for the February 16th celebrations, what about you? join now

remote database speed

7/2/2009 7:06:12 PMAvatarHendy RacherLocation: llandoveryposts: 77Karma: 131

Hi, does anyone have any tips as to how a local Umbraco install to a remote database can be sped up ? Connections via SQL Management studio to the remote server are fine, but from local IIS (using same connection details, same packet sizes etc) are very sluggish.

Does anyone else develop against a remote db ?

TIA,

Hendy

7/3/2009 12:15:54 AMAvatarPaul SterlingLocation: Bellingham, WashingtonMVP.Core.posts: 392Karma: 236
Comment with ID: 8483

Hendy -

We had a client use a remote MySQL instance (at Amazon EC2) and didn't notice any significant latency for DB-specific actions.  I'd expect MS SQL to perform as good or better.  The likely suspect is a firewall or routing issue, IMO.

Can you do a trace to see if you're dropping connections that have to be re-established?

-Paul

7/4/2009 11:49:40 AMAvatarHendy RacherLocation: llandoveryposts: 77Karma: 131
Comment with ID: 8557

Hi Paul,

Thanks for the suggestion. I'm using SQL Express so don't have the profiler tool, but have used wireshark to have a quick look at the traffic - lots of "Reassembled PDU"... and then lots of TDS query / response packets. Not sure what to try next !

TIA,
Hendy

Please login or Sign up To post replies