![]() |
![]() |
![]() |
||||
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 |
Confirmed User
Join Date: May 2003
Posts: 719
|
For Server gurus
This will seem like a silly question to many - but it's genuine.
What are the KEY factors, in building a server, that determine it's ability to handle a heavy load, not just in terms of traffic, but in processing heavy requests, eg, video, php/mysql, etc? CPU? RAM? Both? What's recommended in terms of those for a server that can really take a beating? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Oct 2003
Location: Apollo Beach, FL
Posts: 128
|
![]() CPU (s) (as much as you can afford)
RAM (as much as you can afford) Disk i/o, RAID if you're gonna run SQL the faster the disk(s) the better off you will be. Production SQL clusters running on quad Xeon 2GHz ea w/1GB RAM and 10K rpm drives (RAID 5 for the data) 8 SCSI drive array. Production Web Servers, CPU not so important, but RAM and fast disk i/o more important. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: May 2003
Posts: 719
|
![]() Thanks!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Shank-A-Potamus
Join Date: Jan 2002
Location: Atlanta, Georgia USA
Posts: 1,756
|
Cody....
How have you been, dude? Please tell Mona I said "Hi". I would be happy to help you figure out anything you need to know....as long as we can talk about some things that I have been wanting to ask you about ;) Give me a call at the office 1.877.471.9075 x222 Thanks! --T |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: May 2003
Location: The Netherlands
Posts: 2,543
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Mar 2002
Location: NY
Posts: 4,994
|
RAM will limit the number of processes you can run, so it will limit the number of connections if you run a ton. CPU is mainly for CGI, php, and other script processing, so if you plan to do alot of SQL or other scripts then make sure that you have enough cpu power to handle it.
Disk I/O is not usually that important for a lot of things so you can avoid having to go for a RAID, but if you want a boost in performance get a 15K drive. Again though if you want to squeeze the most out of your system go for RAID, but then only do it if your scripts require a lot of disk access, for plain reads and HTML,images it may not be as necessary, but it also depends on how many files you serve, etc. Focus on RAM, then CPU, harddrives are almost never the bottleneck. And if you run more scripts then focus on CPU before RAM. Hit me up on icq at 36837470 if you have any questions. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: May 2003
Posts: 719
|
T - Great talking to you again.
Moe - sent auth request on ICQ. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Oct 2003
Location: Apollo Beach, FL
Posts: 128
|
Quote:
Thx... 10 Yrs in the IT biz... last 3 yrs in the Adult biz... lurking on GFY fer a year... I thought it was time... ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
wow, i'm glad ya'll do porn. Look,
all of the components of a machine are important. Disk _IS_ important. Where do you think you DB lives? Slow diskhahahahaslow dbhahahahaslow site. Also pay attention to bus speed and link. The fastest proc/ram/disk in the world won't do you much good on a 100Mhz bus. I'd be curious to see how many of the people with 'super huge' machines actually really need them. My experience in mainstream and _some_ adult work is that they don't. They DO however need to write better code, and learn how to build a db that makes sense and use indexes.
__________________
http://www.flickr.com/photos/zoddler/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Feb 2003
Location: Netherlands
Posts: 1,109
|
Quote:
__________________
![]() Multihomed quality BW for less ICQ 51034232 - MSN [email protected] - Email keydet(at)vibehosting.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
Quote:
__________________
http://www.flickr.com/photos/zoddler/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Feb 2003
Location: Netherlands
Posts: 1,109
|
Quote:
__________________
![]() Multihomed quality BW for less ICQ 51034232 - MSN [email protected] - Email keydet(at)vibehosting.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Aug 2003
Posts: 146
|
If your server has enough RAM to cache the files used in the most common requests, then io bottlenecks are meaningless.. but when you start optimizing servers in this way, you have to analyse the application more closely than the general description you gave.
When you are planning on serving large numbers of requests, you get multiple servers, each optimized to its task. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Join Date: Oct 2003
Location: Apollo Beach, FL
Posts: 128
|
Quote:
and the Xeon 2GHz was an example of a box in service already, not a shopping list for a new SQL box. When building hardware for general internet consumption & use it has been my experience that using IDE drives is french for go back to the store 2 monthes from now and buy SCSI this time, they are built for multi-user(process) reads & writes, an IDE drive just can't take the beating (for long). You can put the OS on an IDE but anything served should be on a SCSI... ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
Quote:
RAID is NOT interesting if you need 'speed' alone. In fact in many cases RAID will slow you down, but in those cases the integrity of your data is/should be more important to you. Should probably throw out here that I deal with a LOT of solaris and linux machines, some free/open bsd, and very little windows.
__________________
http://www.flickr.com/photos/zoddler/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Join Date: Feb 2003
Location: Netherlands
Posts: 1,109
|
Quote:
'Multi hundred Gig databases'? Best choice would be a separate mysql server with SCSI RAID, preferably on a 64bit CPU (like dual AMD Opteron) and OS, certainly. Considering the speed increase if you use the 64 bits version of mysql. But if we are talking about databases of a few gigs or less, that shit just gets loaded into RAM.
__________________
![]() Multihomed quality BW for less ICQ 51034232 - MSN [email protected] - Email keydet(at)vibehosting.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
Quote:
__________________
http://www.flickr.com/photos/zoddler/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Join Date: Feb 2003
Location: Netherlands
Posts: 1,109
|
Quote:
__________________
![]() Multihomed quality BW for less ICQ 51034232 - MSN [email protected] - Email keydet(at)vibehosting.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Join Date: Sep 2002
Location: UKStyle.UKFlow
Posts: 1,767
|
keyDet79 vs. toddler
we must settle this with mortal combat |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Join Date: Nov 2002
Location: Blah
Posts: 217
|
This is funny
![]() I'm with toddler on this one. Plenty of RAM and CPU power is good but it also heavily depends on how the site(s) is/are written. keyDet79 needs to do some reading on RAID and it's different levels aswell as how MySQL caches queries/data in memory. Not whole databases/tables ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
Quote:
__________________
http://www.flickr.com/photos/zoddler/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 | |
Confirmed User
Join Date: Nov 2003
Location: New Joisey
Posts: 3,087
|
I have 10 years IT experience, the last 4 in designing and building websystems for IBM. Buy the most you can afford, the Xeon processors machines are your best bet, they can handle many more instructions than the normal pentium 4 processors and the faster cache and bus speed will make a huge difference. Also whatever you do DO NOT RUN WINDOWS on the server if you want the best performance, we have had the best luck running Debian linux on dual processor cheaper servers (dual 800mhz servers with 1 gig of ram in each and 2 18 gig scsi drives) setup in a lvs cluster (so you can pop in machines as your traffic grows)
All this software is free and availible on the web and with just alittle linux experience you can have a smoking system for very little money. ICQ me and i can explain it more to anyone interested Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Registered User
Join Date: Oct 2002
Location: FL
Posts: 30
|
![]() I didn't see a mention of a real operating system.. What good is all that hardware if you aren't running FREEBSD?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
Quote:
__________________
http://www.flickr.com/photos/zoddler/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Registered User
Join Date: Oct 2002
Location: FL
Posts: 30
|
Code.... yes true...
BSD runs virtually all Linux binaries and in some cases a lot faster than Linux. We keep throwing kudos around in here.. I think the folks at FreeBSD and Apache deserve metals. Honestly though all operating systems have progressed to the point where they are decent.... BSD they are not but definitely quite stable and useful. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
Quote:
![]()
__________________
http://www.flickr.com/photos/zoddler/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
Registered User
Join Date: Oct 2002
Location: FL
Posts: 30
|
![]() I can't believe I just spelled medals meTals........
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 | |
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
Quote:
__________________
http://www.flickr.com/photos/zoddler/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 | |
Confirmed User
Join Date: Jul 2002
Location: A warm place.
Posts: 634
|
Quote:
Nobody mentioned redundant power supplies. Most colocation facilities have 2 power backbones, A and B. If you get redundant supplies you are pretty much secure as far as power goes, provided your facility has reliable battery and diesel backup. My toys: ![]() If you have more than 1 server, connecting them with fiber and intalling MOSIX might be a very good idea, solves a lot of heavy traffic issues. Cluster-up baby!
__________________
I couldn't possibly know what I'm talking about, I'm completely, absolutely and definitively out of my fucking mind. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 | |
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
Quote:
![]() You need to make damn sure those dual lines are from seperate feeds however. I can tell you we moved 400 servers out of verio SD because they told us they did, and they didn't. Also a good thing to make sure you see their maint schedule for that backup gen. and enough fuel either on hand, or a preagreed contract for the petrol for a few days running at load. Many colo's I know personally don't.
__________________
http://www.flickr.com/photos/zoddler/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 |
Confirmed User
Join Date: May 2003
Posts: 1,025
|
Nobody mentioned the nick card either. The wrong one and/or lack of two will most definitely present a bottleneck when trying to push 100+GB per day out of a server P4, Xeon or otherwise regardless of the OS.
|
![]() |
![]() ![]() ![]() ![]() ![]() |