Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-16 Thread shane

 ]- I'm not sure but I think phttpd is included in RH6.2

Wow..., you're right.  What a trip.  Okay, I'm going to grab the srpm
for RH's site, and extract it into a tarball.  It'll be on my anonymous
ftp under the pub/matofali directory if anyone's interested.

Thanks,
Shane.
(Thanks BTW :-)

(Ftp to isupportlive.com, and cd into pub/matofali)



Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread shane

On Mon, May 15, 2000 at 09:48:07AM -0700, Jeffrey W. Baker wrote:
 On Mon, 15 May 2000 [EMAIL PROTECTED] wrote:
 
  On Mon, May 15, 2000 at 04:37:06PM -0400, raptor wrote:
   hi,
   
   My question is instead of using two Apache servers OR Apache+proxy scenario
   (static vs dynamic pages) will it be possible to leave static pages to kHTTPD
   and run only one APACHE server.
   Did someone tried it...
  
  Well, I'm not sure specifically about khttpd..., I'm generally against
  in kernel httpd serving outside of an embedded device.  However, you
  might want to look at phhttpd (people.redhat.com/zab/).  It's faster
  than khttpd, and it runs in userland.
  
  Thanks,
  Shane.
 
 Shane,
 
 I noticed that all the phhttpd pages have disappeared.  What's up?

Hmm.., you are right.  Well..., Zach doesn't work for redhat anymore.
I don't have a copy of the latest source..., well, I do, but it's
riddled with my own changes.  I was wondering when they were going to
take down his page..., damn redhat!  Hrm.., well, I'll send an email
off to Zach today, and try to get a mirror of the last version.  (a
clean one with out all my patches)

Zachs website is www.zabbo.net, I'm sure he'll be posting a local copy
soon.  If not I'll mirror it, and let anyone know that's interested.
So if you are, drop me a note.

Thanks,
Shane.

 
 -jwb
 



Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread shane

  I noticed that all the phhttpd pages have disappeared.  What's up?
 
 Hmm.., you are right.  Well..., Zach doesn't work for redhat anymore.
 I don't have a copy of the latest source..., well, I do, but it's
 riddled with my own changes.  I was wondering when they were going to
 take down his page..., damn redhat!  Hrm.., well, I'll send an email
 off to Zach today, and try to get a mirror of the last version.  (a
 clean one with out all my patches)
 
 Zachs website is www.zabbo.net, I'm sure he'll be posting a local copy
 soon.  If not I'll mirror it, and let anyone know that's interested.
 So if you are, drop me a note.
 
 Thanks,
 Shane.

*Update*  I just got an email reply to Zach (man that was like 5
minutes..., very cool), anyhow.  He said that they pulled a bunch of
his stuff, but he's getting together backup stuff.  It will likely be
on zabbo.net in a couple days.  If anyone has a tarball handy toss it
my way, and I'll put it on an anonymous ftp.

Thanks,
Shane.



Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread Perrin Harkins

On Mon, 15 May 2000, raptor wrote:
 My question is instead of using two Apache servers OR Apache+proxy scenario
 (static vs dynamic pages) will it be possible to leave static pages to kHTTPD
 and run only one APACHE server.

It will, but you're missing part of the benefit from the proxy
scenario.  As the guide explains, running a proxy in front of your dynamic
page server will help keep the number of processes down by dealing with
slow clients for you.

A super fast server for images and truly static pages is a good idea,
although a simple stripped-down apache will probably handle more static
page traffic than you can afford the bandwidth for anyway.

- Perrin




Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread shane

On Mon, May 15, 2000 at 12:20:19PM -0700, Perrin Harkins wrote:
 On Mon, 15 May 2000, raptor wrote:
  My question is instead of using two Apache servers OR Apache+proxy scenario
  (static vs dynamic pages) will it be possible to leave static pages to kHTTPD
  and run only one APACHE server.
 
 It will, but you're missing part of the benefit from the proxy
 scenario.  As the guide explains, running a proxy in front of your dynamic
 page server will help keep the number of processes down by dealing with
 slow clients for you.
 
 A super fast server for images and truly static pages is a good idea,
 although a simple stripped-down apache will probably handle more static
 page traffic than you can afford the bandwidth for anyway.
 
 - Perrin

Perrin,

These httpd static accelerators do 100 times better than apache does.
They only have ONE process per CPU :-).  No matter how many clients
their dishing out to simultaneoulsy.

Thanks,
Shane.


 



Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread Ask Bjoern Hansen

On Mon, 15 May 2000 [EMAIL PROTECTED] wrote:

[...]
 These httpd static accelerators do 100 times better than apache does.

I don't believe that's true. 

And it doesn't change Perrin's point (that apache is sufficient for most
pipes anyway).


 - ask

-- 
ask bjoern hansen - http://www.netcetera.dk/~ask/
more than 70M impressions per day, http://valueclick.com




Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread shane

It was an overstatement in my Zeal :-).  Clearly not.  Up to maybe
10x.  That's the best improvement I've ever seen.  But...,
realistically with a well tuned apache vs. a well tuned static
accelerator, probably 4x is tops.  (Sorry :-)  Static accels handle
the thundering herd problem better as well, and can dish out to more
clients simultaneously.  However, I think that apache will incorporate
a lot of the stuff used in Static accel's soon..., so the gap will be
small.  But this is very OT..., we're dynamic remember! :-)

Thanks,
Shane.

On Mon, May 15, 2000 at 12:49:12PM -0700, Ask Bjoern Hansen wrote:
 On Mon, 15 May 2000 [EMAIL PROTECTED] wrote:
 
 [...]
  These httpd static accelerators do 100 times better than apache does.

100 times is not limited to performance by the way.  If you take into
account simultaneous clients the memory overhead is drastically
different.  In terms of performance, 4x would be a slightly likely
number.  As the number of concurrent clients went up it would favor on
the side of the static accel.  With just a single client hitting the
box, I would imagine the difference would be nominal.  That's really
were static accelorators pay off..., LOTS of simultaneous clients.

 
 I don't believe that's true. 
 
 And it doesn't change Perrin's point (that apache is sufficient for most
 pipes anyway).
 
 
  - ask
 
 -- 
 ask bjoern hansen - http://www.netcetera.dk/~ask/
 more than 70M impressions per day, http://valueclick.com
 



Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-15 Thread Vivek Khera

 "r" == raptor  [EMAIL PROTECTED] writes:

r My question is instead of using two Apache servers OR Apache+proxy
r scenario (static vs dynamic pages) will it be possible to leave
r static pages to kHTTPD and run only one APACHE server.  Did
r someone tried it...

Even without knowing what kHTTPD is, I can say yes.  Just change all
of your images and href links to point to the proper places.  That is,
make anything that needs mod_perl point to the web server running
Apache+mod_perl, and anything that is static to kHTTPD.

This is covered in the mod_perl_tuning docs that come with your
mod_perl and also in the Guide, I'm sure.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-301-545-6996
GPG  MIME spoken herehttp://www.khera.org/~vivek/