Re: How should I cache database data for php?

From: Date: Mon, 21 Jan 2002 18:38:05 +0000
Subject: Re: How should I cache database data for php?
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-81407@lists.php.net to get a copy of this message
Even with straight HTML, a server's load capacity is not infinite. If my own server, an old Pentium with 4 GB of hard drive space, and which serves nothing but static HTML pages, got hit with more than a couple hundred hits in a short period of time, it would bomb. I must be misunderstanding your question. I've re-read your original post, and it seems to me that what you're trying to do is save webpage-bound database data in a way which will seriously reduce the load on a webserver; creating static HTML pages from database data instead of building pages dynamically when the user calls them would accomplish that goal, and that is what I was suggesting. val petruchek wrote:
It seems to me that the major problem with news sites such as cnn.com or msnbc.com on dates like 9/11 was the sheer number of visitors coming to the site. No matter how the pages were served up, the load was unbearable for the servers.
You see, giving user static or dynamic pages differs a lot. Just send html or generate it before with php is not the same. Valentin Petruchek (aki Zliy Pes) http://zliypes.com.ua mailto:val@zliypes.com.ua
-- Sliante, Richard S. Crawford mailto:rscrawford@mossroot.com http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Yahoo!: rscrawford MSN: underpope@hotmail.com "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupery "Push the button, Max!"

« previous php.general (#81407) next »