![]() |
database question
We are starting two new sites and both have MySQL databases.
Would it better to use: 2 servers for each database with replication OR 4 servers for both databases with replication I've gotten different opinions and want to see what GFY techies think. Thanks! |
I would say 4 with replication. Only because I have seen several companies do it this way as opposed to having dbs on seperate servers.
|
Quote:
Hotswap drives Dual power inputs Make sure the card supports on-the-fly reconstruction of the array multiple nic cards set up a couple of web servers using DNS Round robin and you're good to go |
Quote:
This doesn't answer his question at all :warning But yeah, I'd go with the 4 replicating as well, you'll kick yourself later if one site uses a lot more resources than the other site, and hardware is sitting there idle when needed elsewhere. |
Depends. What is the read to write ratio for each site? If you're doing relatively few writes you're probably better off with 1 master and 3 slaves. If you're doing lots of writes, go with 2 masters and 2 slaves.
Also, don't overlook the value of http accelerators (reverse caches) on heavily dynamic sites. |
you shouldn't need more than one dedicated mysql box. fire your programmer, now.
|
just steal an idea from someone
|
Quote:
|
Quote:
Or 1 goes haywire and goes down, youll go SHIT I wish I had another backup. |
Quote:
It'd be more efficient to run web and database on the same server too! |
Quote:
As for web and database on the same server, if you're running a small site it certainly is more efficient. If you're doing any sort of traffic you're best off running them seperate (and probably running seperate webservers for static and dynamic pages). Any savings by running both on the same server are miniscule. Not to mention if you're that concerned with efficiency round robin dns is NOT the way to go. |
All times are GMT -7. The time now is 09:47 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123