I develop websites, often on Wordpress using MAMP. Using a database running on localhost, the site runs really fast. Sometimes I need to use a shared database running on a dev server we host at DigitalOcean, so that multiple developers can work on the site. When switching to this remote database the site is much slower.
I can ping the server in 30ms, and we have a fast Internet connection.
Are there any tweaks we can do to make the remote setup work better? And how can I best benchmark the speed difference?