On Fri, 7 Feb 2003, Kjetil Kjernsmo wrote: > Hi! > > I'm going to be involved in an event which will probably bring us about > 2 million pageviews in one day... The server that is going to be hit > will have a gigabit connection, and there are two load-balanced > machines. But, they are getting fairly old, allready.
Should be enough... > Since it is just this one day, getting more hardware is out of the > question, we have to do what we have. > > However, the content served will not change fast, so caching is going to > be important. Also, the front page and the images on that page is going > to be viewed far more than the pages underneath. So, I had this idea, > how about caching the most requested files in the RAM, rather on the > disc...? That would eliminate a quite significant bottleneck, wouldn't > it? I doubt it. Are you on Linux? As long as you've got enough RAM the disk probably won't get hit anyway. I can serve up 90 un-gzipped hits/sec on axkit.org. That's enough for about 8 million page views/day. It's a PIII-550 with 512M of RAM. So just use AxKit - it'll make things fast enough I think. And for images just use mod_mmap_static (in the experimental directory) - it makes a huge difference. -- <!-- Matt --> <:->get a SMart net</:-> Spam trap - do not mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
