New answers tagged

1

The answer depends on the environment you are running. If only a single machine will be accessing the database, in other words you only have one web server then ideally you would run the database on that same server and use a named pipe instead of a socket connection to access the database from your website, this eliminates the network latency of your ...


6

It's not necessarily a bad idea, assuming DB server/node/gear/droplet/etc is in the same "cloud" and stays on internal bogon routes. A couple cons that could come into play though, depending on the remote-ness are: Speed, as in round trip time to contact DB and get a reply back to the app. Caching, as in how and where will the cache be maintained ...



Top 50 recent answers are included