hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Website too large for one server... what now?
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

Website too large for one server... what now?

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-27-2005, 04:08 AM
noreason296 noreason296 is offline
Junior Guru Wannabe
 
Join Date: Feb 2004
Posts: 69

Website too large for one server... what now?


As the title implies, our website is too large for one dual Xeon 2.8 / 2 GB RAM / 2 x 78 SCSI, etc.

We've actually put our website over two servers and updated the 2nd database somewhat weekly.

The website is very database intensive and I am wondering what our options would be in expanding. Budget is a concern and getting a dedicated load balancer from TP seems a bit too pricey for us right now.

I have looked up some information and it seems like we have a few solutions...

1) DNS round robin

2) load balancer dedicated hardware

3) load balancing with software on server

We think apache + mysql could both use some more help but how would the data be kept in sync? Two servers would most likely be the best for us right now but do we setup two servers with the same data and keep it in sync or one dedicated mysql server and one apache be more effective? How would the we connect an apache server with the mysql server, with a private switch?

As you can see we have no experience with multiple server solutions and need some help with it. Any insight would be helpful. Thanks!

Reply With Quote


Sponsored Links
  #2  
Old 12-27-2005, 04:43 AM
darksoul darksoul is offline
Junior Guru
 
Join Date: Oct 2002
Posts: 229
The best setup would be to split apache and mysql on different servers.
You can interconnect them through a private net or if its not too much
traffic between the two a regular connection will do as well.

__________________
Server Admin Services

Reply With Quote
  #3  
Old 12-27-2005, 08:08 AM
TDMWeb TDMWeb is offline
Web Hosting Evangelist
 
Join Date: Mar 2002
Location: UK
Posts: 458
Use a separate database server, and tune MySQL as best you can. You can use round-robin DNS to balance between the two webservers.

If the database is read-only then it should be easy enough to have multiple database servers and update both, otherwise you are into database server clustering which is a whole different ballgame...

__________________
Chris at TDMWeb.com
Windows & Linux hosting and fully managed dedicated servers with great customer service!
UK-based but serving the world...

Reply With Quote
Sponsored Links
  #4  
Old 12-27-2005, 08:28 AM
dkitchen dkitchen is offline
Managed Hosting Expert
 
Join Date: Jan 2004
Location: North Yorkshire, UK
Posts: 4,163
Two machines:

One frontend for Apache
One backend for MySQL

Stick them both in the same vLan and you're sorted.

__________________
█ Dan Kitchen | Technical Director | Razorblue
█ ddi: (+44) (0)1748 900 680 | e: dkitchen@razorblue.com
█ UK Intensive Managed Hosting, Clusters and Colocation.
█ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).


Reply With Quote
  #5  
Old 12-27-2005, 09:25 AM
mahinder mahinder is offline
Web Hosting Master
 
Join Date: Aug 2001
Location: Matrix
Posts: 2,469
host on a sun based server ?

__________________
CPHosting - Web Hosting Experts Since 1998.
United States | Europe | Singapore | Australia
Visit Us! www.cphosting.com

Reply With Quote
  #6  
Old 01-07-2006, 09:49 PM
noreason296 noreason296 is offline
Junior Guru Wannabe
 
Join Date: Feb 2004
Posts: 69
Thanks for the input guys:

With the one apache and one mysql server.. a person accessing the website would be going to the apache server and say we're in The Planet (connected the server with a switch) would that mean that our server is down to 2000 GB a month instead of the 4000 GB from both servers?

Also what are some places you guys would recommend for dual xeons or opterons?

we are considering

ThePlanet (but they have server availability issues)
Ev1servers
Serverwizards (they do all our management right now)
Serverplace (they seem cheap but are in GNAX?)

Reply With Quote
  #7  
Old 01-07-2006, 11:01 PM
mycroftx mycroftx is offline
WHT Addict
 
Join Date: May 2005
Posts: 155
On this cases i would strongly recommend to use cluster.

Reply With Quote
  #8  
Old 01-07-2006, 11:20 PM
eWebtricity eWebtricity is offline
Junior Guru Wannabe
 
Join Date: Oct 2004
Location: Tampa, Florida
Posts: 80
Do like they say, split them out. If your site is database intensive be sure to get a "private link" between the servers. Not everybody does this, Rackspace does but 1and1.com for instance doesn't. Just check with whoever you go with otherwise you'll be paying for the bandwidth between the servers and that's not cool. Your bandwidth won't be reduced by much if any just becuase your going to one frontend server maybe two. Your still going to have just as many people coming to the site as before.....hopefully more right so you'll end up with 4000GB from one server instead.

__________________
eWebtricity
Hosting | Web Design | Server Administration
http://www.ewebtricity.net | sales@ewebtricity.net
http://www.1and1faq.com 1and1 Customer Support

Reply With Quote
  #9  
Old 01-08-2006, 05:19 AM
packetm0nkey packetm0nkey is offline
WHT Addict
 
Join Date: Oct 2004
Posts: 150
I would start off with what the others have suggested. One frontend web server and 1 DB server and see if that helps.

If that doesnt improve performance much there are companies that make really nice LAMP clustering solutions such as http://www.continuent.com/ With their setup you can have load balancing, fail over, and split the apache and MySQL load across 2 or more servers. Fully redundant, fast, and works well.

There are a few hosting providers that offer this, but it isn't cheap so that may be out of your league right now.

Reply With Quote
  #10  
Old 01-08-2006, 05:26 AM
DjMiX DjMiX is offline
Web Hosting Guru
 
Join Date: Nov 2004
Location: Lausanne, Switzerland
Posts: 260
Quote:
Originally Posted by packetm0nkey
I would start off with what the others have suggested. One frontend web server and 1 DB server and see if that helps.

If that doesnt improve performance much there are companies that make really nice LAMP clustering solutions such as http://www.continuent.com/ With their setup you can have load balancing, fail over, and split the apache and MySQL load across 2 or more servers. Fully redundant, fast, and works well.

There are a few hosting providers that offer this, but it isn't cheap so that may be out of your league right now.
That's what I would do too.

Reply With Quote
  #11  
Old 01-09-2006, 10:04 AM
MysticServer MysticServer is offline
Junior Guru
 
Join Date: Sep 2005
Posts: 181
Ditto for 1 apache server, and one database server. Get a Private switch and you should have the bandwidth/transfer caps, of both servers. Users would connect to the apache server, and all data between the two servers wouldn't count against your bandwidth.

I am pretty sure, if I read their order forms right, you could get this setup from layered tech (and many other dedicated hosting companies).

-Jason

__________________
Have you considered Semi-dedicated Hosting? 4 - 8 accounts per server. Less overhead than VPS, better performance for the price.
DopeDomains.com - 15,000 New Domains a day. indexed by Pagerank, backlinks, Hits, and Length.

Reply With Quote
  #12  
Old 01-09-2006, 12:47 PM
mmxsaro mmxsaro is offline
Newbie
 
Join Date: Apr 2005
Posts: 5
Quote:
Originally Posted by Chainsaw76
Ditto for 1 apache server, and one database server. Get a Private switch and you should have the bandwidth/transfer caps, of both servers. Users would connect to the apache server, and all data between the two servers wouldn't count against your bandwidth.

I am pretty sure, if I read their order forms right, you could get this setup from layered tech (and many other dedicated hosting companies).

-Jason
Yep, LayeredTech does this. I am considering going with this route myself on LT.

Reply With Quote
  #13  
Old 01-09-2006, 01:52 PM
dball256 dball256 is offline
Junior Guru Wannabe
 
Join Date: Feb 2004
Location: Alabama
Posts: 41
Quote:
Originally Posted by noreason296
As the title implies, our website is too large for one dual Xeon 2.8 / 2 GB RAM / 2 x 78 SCSI, etc.

We've actually put our website over two servers and updated the 2nd database somewhat weekly.
When you say your website is too large for one server, do you mean

1. Out of disk space? TP offers servers with more SCSI Drives.

2. Out of bandwidth? TP offers another 1000GB for $300 per month last time I looked. If you have a lot of graphics, you might move them to another server.

3. The disk is too busy? Add another SCSI drive or Upgrade the server with another GB or two of memory, which it can use as a disk cache. More memory will also help if you're using swap space. Another SCSI drive will mean that more disk I/O operations can be in progress at once.

4. Out of CPU? IIRC, They do have Dual 3.2 Xeon servers which you might be able to get as an existing user. I'm not sure if the FSB is faster on the 3.2.


You might get a server management company like Acunett (http://www.acunett.com/management/) to optimize your server. There are quite a few things that can be tuned to improve server and database performance.

-- David

Reply With Quote
  #14  
Old 01-09-2006, 02:11 PM
dball256 dball256 is offline
Junior Guru Wannabe
 
Join Date: Feb 2004
Location: Alabama
Posts: 41
Quote:
Originally Posted by mmxsaro
Yep, LayeredTech does this. I am considering going with this route myself on LT.
Look at their Layer 4 offerings. I'd love to try one of those.
  • 4 Opterons (either 4 842 single cores or 2 265 Dual Cores)
  • Up to 8 GB of ram. On the 2 x 265 system, this is only $175 per month.
  • Up to 4 SCSI drives of 73GB, 146GB, or 300GB.
  • They have some nice bandwidth upgrades too.

I've never dealt with LayeredTech, so I don't know how good they are, but they have some interesting offerings.

-- David

Reply With Quote
  #15  
Old 01-09-2006, 02:30 PM
juice99 juice99 is offline
Junior Guru Wannabe
 
Join Date: Mar 2005
Posts: 67
you can squeeze a lot from one server, if you have time for tuning. i mean A LOT. Analyze your statistics, look how many requests to your DB hits the cache, look how much of the cache is actually used.

if you use linux, install mtop and watch closely, then tweak my.cnf. If you dont know how, pay someone who can do it.

I'm pretty sure, that _IF_ this server was never tweaked you can have even 200% or more performance boost. (it can be even 500% or more, if default settings are not good for you)

You can also tweak apache a lot.

You can change scripts on your page that you are using, maybe there are a lot of SELECT * from something; statements.

There are a lot of possibilites, buying yet another server might not be always the best solution.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Server Sitters Adds Website Design Service for Web Hosts Web Hosting News 2012-12-21 16:57:19
Web Host 1&1 Internet Adds Server Restoration Tool for Virtual Machines Web Hosting News 2012-11-07 15:45:16
Peak Hosting Launches Dell R815 Dedicated Server for Large Scale Memory Requirements Web Hosting News 2012-07-13 14:31:31
Security Firm ArtSec Launches Website and Server Migration Service Web Hosting News 2011-12-09 18:43:03
Netcraft Web Server Survey Finds Large Growth of Amazon EC2 Sites Web Hosting News 2011-08-05 19:02:44


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?