Is 100+ hit's per sec is too much to core2duo 2.11 -2GB ram server

Discussion in 'Apache' started by ravish_83, Mar 18, 2009.

  1. #1
    I am having a server with following configuration

    Core2Duo 2.11
    2GB Ram
    120 GB sata
    100 MBps UPLink
    Apache 2+
    Cent OS

    at peak i am having 100 hit's per second and they all are coming to the static page as i have made that page to act as static. But at that point my server get's slow. It' takes some good time to start loading page like wise 3-6 sec. But the page generation using mysql still stands at .001 sec. If i keep on browsing the page at rapid pace they work fast but if I happens to stop for a 7-10 Sec it's takes time.

    any idea what we should do. We are also thinking to have one more server to host that static page and in future we expect some 5K-8K hit's per second but only to static page. And if they happens to be dynamic the page geneation time stands ten thousand fraction of second

    To me this seems to be the problem with Apache ! what you say ?

    any suggestion how we should go around ????????
     
    ravish_83, Mar 18, 2009 IP
  2. helaughs

    helaughs Peon

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you changed the number of workers in apache? Default seems to be 64 and with a dual core you can go up to 1028 after that you'll probably hit hardware limits.

    100 hits/second is an awful lot of traffic for that hardware even sending to a static page. You may want to consider setting up a small cluster. Pushing server limits is all well and good, but having your server go down at peak time can be very expensive especially if you are buying traffic.

    I should note I am not an expert by any stretch of imagination, however I do run an ad server that get a million hits a day.
     
    helaughs, Mar 21, 2009 IP
  3. victor9191

    victor9191 Active Member

    Messages:
    615
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Try to get harddrives on RAID, that would greatly improve performance.
     
    victor9191, Mar 21, 2009 IP
  4. rathin

    rathin Peon

    Messages:
    1,377
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    use lightspeed web server for good performance
     
    rathin, Mar 21, 2009 IP
  5. vinug

    vinug Peon

    Messages:
    207
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    employ caching...
     
    vinug, Mar 22, 2009 IP