Sharing RAID0 between LAMP servers?

Discussion in 'Storage' started by Gilles Ganault, Aug 25, 2008.

  1. Hello

    Our LAMP application is showing I/O latency. I was wondering if we
    could move to multiple Apache servers, each connected through their
    own disk controller to a single, shared RAID0 bay?

    Our hoster recommends that we use a NAS, but I'm concerned about
    network + NFS latency.

    Thank you for any tip.
     
    Gilles Ganault, Aug 25, 2008
    #1
    1. Advertisements

  2. You sound confused about all this.

    What is the problem you're experiencing, or how did you arrive at "showing
    I/O latency" as the bottlneck in this case?
     
    Cydrome Leader, Aug 25, 2008
    #2
    1. Advertisements

  3. Thanks guys for the input.

    It was between the www servers and the MySQL + JPGs server. We asked
    the hoster to add a filer, and performance is much better now, with
    the filter being shared between two Apache servers

    If demande keeps rising, I guess we'll have to investigate MySQL
    clusters, so that the DB doesn't become the bottleneck again.
    Yes, that's what I suspected :-/ So I guess the standard solution to
    scaling databases is to add some kind of load balancer, and 2 or more
    DB servers behind it.
     
    Gilles Ganault, Aug 26, 2008
    #3
  4. It's really to tune things first, then as a last resort, start adding more
    hardware. More hardware and more layers is always harder to manage.

    As junior as mysql is, there's lots of stuff that can be tweaked. The
    apps using it should be examined as well if you are running into
    performance problems.
     
    Cydrome Leader, Aug 27, 2008
    #4
  5. I'll make sure MySQL + queries are configured as best as possible.
    Thanks.
     
    Gilles Ganault, Aug 28, 2008
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.