modperl_and_java_together_plus_proxy_hints

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: Terry Newnham <terry.newnham@showads.com.au>
From: Perrin Harkins <perrin@primenet.com>
Subject: Re: mod_perm and Java servlets
Date: Wed, 17 Jan 2001 17:39:37 -0800 (PST)

I've heard mod_perm costs a lot more than its worth.  There was an
open-source clone called mod_home_perm but it wasn't very successful.  
Some people say you should skip it altogether and just use mod_hat.

On Thu, 18 Jan 2001, Terry Newnham wrote:
> My boss has asked me to set up a web server on Solaris 8 with mod_perl
> and (if possible) Java servlet capabilities as well. Has anybody done
> this ? Any issues ?

None that I know of, except that you really don't want the additional
memory overhead of mod_perl in a process that isn't using mod_perl.  You
might save some memory by having a separate server that runs just
mod_perl, and having your jserv (or whatever) server send requests for
mod_perl apps to it using mod_proxy.  See the mod_perl Guide for more info
on using a proxy with mod_perl.

- Perrin

===

To: Terry Newnham <terry.newnham@showads.com.au>
From: Andrew Ho <andrew@tellme.com>
Subject: Re: mod_perm and Java servlets
Date: Wed, 17 Jan 2001 21:01:16 -0800 (PST)

Hello,

TN>My boss has asked me to set up a web server on Solaris 8 with mod_perl
TN>and (if possible) Java servlet capabilities as well. Has anybody done
TN>this ? Any issues ?

I've experimented with mod_perl and JRun on Solaris, and they've played
together nicely. As long as you're hefty on memory, it'll likely be a
while before you hit any significant memory problems as long as your load
is distributed evenly between Perl and Java.

If you use mostly one above the other, I'd do a proxied setup so you can
scale them separately. The management is also easier. However, for a dev
environment or a low-traffic one, having them co-exist is just fine.

===
To: "Terry Newnham" <terry.newnham@showads.com.au>,
From: "Les Mikesell" <lesmikesell@home.com>
Subject: Re: mod_perm and Java servlets
Date: Thu, 18 Jan 2001 01:18:11 -0600


"Terry Newnham" <terry.newnham@showads.com.au> wrote:

> My boss has asked me to set up a web server on Solaris 8 with mod_perl
> and (if possible) Java servlet capabilities as well. Has anybody done
> this ? Any issues ?


If you expect the server to be busy you will probably want to set up a
lightweight front end apache without mod_perl and let it proxy the
mod_perl jobs to another server.   In this scheme it works well to
put apache jserve in the front end because it also uses a proxy-like
mechanism to hand off to the servlet engine (with load balancing
if you want to spread the servlets over multiple machines).  The
only problem I've seen have been memory leaks in the servlets
causing the jvm to grow, but apache will restart it for you if you
have to kill it once in a while.

===

To: "Les Mikesell" <lesmikesell@home.com>,
From: Gunther Birznieks <gunther@extropia.com>
Subject: Re: mod_perm and Java servlets
Date: Thu, 18 Jan 2001 19:25:42 +0800

I understand that mod_jk is more efficient than mod_jserv. My sysadmin has 
not complained about any problems integrating mod_perl or mod_jk (but then 
mod_jk is in the front-end as stated below where mod_perl is in the backend 
apache server).

===

To: mod_perl list <modperl@apache.org>
From: JR Mayberry <jr.mayberry@e-vend.net>
Subject: Re: mod_perm and Java servlets
Date: Thu, 18 Jan 2001 09:20:39 -0500

I've done both mod_perl and mod_jserv compiled and working on the same
server..

I think it was a 2.5 meg httpd ;)

=====

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu