Report this

What is the reason for this report?

Local development using a remote DB on a DO Droplet

Posted on February 29, 2020

Hi all!

My company has a workflow right now where 2+ developers may be working on one Wordpress site at the same time. Due to the nature of our setup, we have remote developers as well so we cannot just run a server within the office that everyone can work off, unfortunately.

Currently, to handle this, we have a remote database server that we all connect to via an ssh tunnel that binds to address 127.0.0.0:5555 locally. We then configure our WP Config files to use that address as well as the proper db name, username, password for the remote server.

This does work and allows for a secure connection to the database server, however, the second we start to actually add content, plugins, pages, etc, our page load speeds locally seem to plummet. I’m talking sometimes 10 - 20 seconds for a page to load. These databases aren’t getting large by any means, the largest we are working with is probably 100mb or less.

I’m wondering if anyone has a similar workflow, and has any suggestions on how we could improve this on our end. Should we ditch the SSL tunnel and opt for a different method to allow all of our developers to connect?

Appreciate any help or tips!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.