Results 1 to 7 of 7
  1. #1

    Mirroring Sites?

    I own a site thats getting extremly large amounts of traffic and i'm unsure how to mirror my site onto another server to divide the traffic up. This is my first 'larger', help me out!

  2. #2
    Join Date
    Apr 2004
    Location
    San Jose
    Posts
    902
    What type of site is it? Active or static content?

    Is the goal of division to distribute CPU load, or bandwidth?
    Specializing in MySQL and website tuning for high traffic sites. cmwsci.com/

  3. #3
    Join Date
    Oct 2005
    Location
    Quebec
    Posts
    60
    yes more information please,

    you can do round robbin dns to split traffic on many servers.

  4. #4
    Join Date
    Aug 2004
    Location
    Karachi, Pakistan
    Posts
    747
    It would help if you provided more information about the OS and web/application server used, db, etc. and what exactly is it that you want done. Budget would help also.
    "I drink too much. The last time I gave a urine sample it had an olive in it. ".
    Rodney Dangerfield (from "I Get No Respect!").

  5. #5
    The goal is to distrubute CPU load. I'm currently on a Linux DirectAdmin reseller account. The server is mostly for myself, with a few other sites on it. The site is semi-static (some content rotates). It is coded mainly in HTML, with a several <?php includes('') ?> throughout the layout.

    Lowest budget possible. I'm on a free package currently (I refer users, he gives me free hosting). I have another friend who has an unlimited cpanel shared user with me.

  6. #6
    Join Date
    Apr 2004
    Location
    San Jose
    Posts
    902
    So, no database activity.

    Do you know if the PHP is being invoked as a CGI, or through mod_php? If as a CGI, this is horribly CPU expensive because it has to keep forking and exec'ing the PHP interpreter.

    If as mod_php, does your host run a PHP accelerator, such as APC or PHP Accelerator? If not, PHP is quite inefficient because it has to keep recompiling the PHP it's executing in your pages.

    For most servers with most bandwidth limits, you should be able to max out the bandwidth before the CPU, unless you're doing complex computation.
    Specializing in MySQL and website tuning for high traffic sites. cmwsci.com/

  7. #7
    Join Date
    Oct 2005
    Location
    Quebec
    Posts
    60
    Try setting you round robbin dns
    and use something like unison or rsync to keep directories synced

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •