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 ????????
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.