![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
$6 PER EMAIL JOiN
Industry Role:
Join Date: Feb 2003
Location: California
Posts: 13,185
|
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!
__________________
9 Years of SOLID payouts and conversions! ![]() ADULT DATING - $100 PPS LIVE CAMS - $214 PPS WWW.DATINGGOLD.COM ICQ: 27442303 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,119
|
Quote:
This doesn't answer his question at all ![]() 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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
|
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.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats." --H.L. Mencken |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jan 2004
Posts: 868
|
you shouldn't need more than one dedicated mysql box. fire your programmer, now.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
So Fucking Banned
Join Date: Oct 2003
Location: ICQ 306440898
Posts: 653
|
just steal an idea from someone
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
|
Quote:
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats." --H.L. Mencken |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
|
Quote:
Or 1 goes haywire and goes down, youll go SHIT I wish I had another backup. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,119
|
Quote:
It'd be more efficient to run web and database on the same server too! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
|
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.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats." --H.L. Mencken |
|
![]() |
![]() ![]() ![]() ![]() ![]() |