[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static Site Alternative



-----BEGIN PGP SIGNED MESSAGE-----


On Tue, 27 Apr 1999, Robert Myers wrote:

> On Tue, 27 Apr 1999, Aaron D. Turner wrote:
> 
> > Most people are going to use the search engine.  The drill down will be
> > used too a lot too.  The real bottleneck for most high-traffic web servers
> > is RAM not CPU.  You need enough httpd processes and enough free RAM to
> > fork() your search engine without swapping.  Once you swap to serve a
> > request you're hosed big time.
> > 
> 
> 	I can attest to this.  Whiterose is only a 486, my biggest problem
> here is Disk I/O.  Ram is important as well, just take a look at
> frp.cdrom.com, I beleive that is still a p200.

Last time I heard it was a PP200 quad (I think).  But considering that
ftp.cdrom.com consistantly does more traffic than any other single site
that's damn amazing.
 
> > Hence, let's get the site going ASAP.  We've all agreed that 6-12 months
> > from now it's going to require a total rewrite anyways.  So if making the
> > site more dynamic will give us a quicker go-live date, let's do it.  If we
> > start getting hosed we can look into getting more hardware, some sort of
> > proxy, or moving to static pages.
> > 
> 
> 	Can I ask sumn here?  Do you mean instead of perl scripts to gen
> static pages that people hit, make php pages that hit the base directly?

PHP or mod perl.  As long as we stay away from plain CGI's that have to
fork() we'll be OK for a while at least.

> I might be guessing here, although I do think either way sill take as much
> time as the other.  I do not code perl, so I might be talkin out my arse
> here.

I think actually doing the static gen will be more difficult.  Basically
with dynamic pages, you don't have to worry about directory paths or
filenames (or keeping them unique).  The DB does it all for you.  By
making the pages static you negate the biggest advantage of a DB- letting
it worry about the datastructures for you.

Perl can definataly do it though.  My gut and experiance says that it's
more work though.

- -Aaron


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNyX9+jM3jpXy1kJtAQH+ngQAuOX/G2kp3F171D+kGbI/cCvZRoLW0cuF
ZGu+RWr2Bdt316q2wW1vlISinzqVLh4rl0D9AeWJOHtMEkgayRLcP6B6vtXxg3lJ
TW6oZgri6Pr82/eqDg14ab8BN42rW2e9j2alIKZDBQuvMrcgdxHRB8EL9WKitFMu
CDPgH7mn6GE=
=/DTH
-----END PGP SIGNATURE-----