T
T
Tyrion Lannister2017-05-01 00:45:07
Network administration
Tyrion Lannister, 2017-05-01 00:45:07

Where is the best place to host a database server?

I'm going to launch the site in production and I don't know how best to deal with the database, in which I already have little or no experience. Is it right to host the database server next to the site server or is it better to make it remote on other hostings. If the second then advise hosting for these purposes.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
T
tema_sun, 2017-05-01
@tema_sun

This is a hundred times premature optimization. Start with localhost.

S
solascriptura, 2017-05-01
@solascriptura

Of course, you need to start with localhost'a. Then, with a strong increase in load, you can transfer it to another server, but:
1. This is justified only with a really heavy load in order to increase performance. For many relatively large sites, this is not necessary at all.
2. It must definitely be in the same data center of the same hosting as the site files. So to speak, a neighboring server. Because the greater the distance between data centers, the more you lose in data exchange speed. And for an exchange with a DB it is critical for speed. Therefore, moving the database server to another hosting is a performance degradation.

X
x67, 2017-05-01
@x67

If the site is small, then a separate server will probably be redundant. You need a simple hosting that provides good performance of the disk subsystem.
On the other hand, I’m most interested in which hosting providers will be advised specifically for the database server

D
Dimonchik, 2017-05-01
@dimonchik2013

it's all marketing , a normal VPS on the same OVH without oversells will come out cheaper

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question