Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I just read Stas Bekman's advice for ISPs running mod_perl and it seems like he paints a pretty gloomy picture of shared hosting. Are there any web hosters out there that support mod_perl, and support it well? I have checked out a few, but the details are sketchy and the list looks fairly old. Does anyone have good or bad experiences to share with someone in the market for a mod_perl hoster?

Replies are listed 'Best First'.
Re: ISPs Supporting mod_perl
by ncw (Friar) on Mar 02, 2001 at 03:46 UTC
    I've some experience on this matter from both sides of the fence as a mod_perl programmer and inside experience with a hosting company.

    My experiences as a mod_perl programmer would lead me to believe that the users running mod_perl on Apache have to trust each other. End of story. This pretty much rules out mod_perl hosting IMHO.

    You could run multiple apaches on multiple IP addresses but this means your server is going to need a lot of RAM and some trust of the users. Our e-commerce server (mod_perl/Apache) frequently has 50 Mb mod_perl processes - this just isn't going to be acceptable to an ISP.

    I think the only way you'd get this to work is to run virtual processors using vmware or IBM's linux on a mainframe. This would then hard limit the resources each subserver could use and make sure there was no interaction between users. You could probably only run a few dozen per server though making it a premium service.

    I hate to admit this but PHP is a lot easier from the ISP's point of view. In fact it is easier to manage than CGI which can easily cause a server to get out of control if you aren't careful.

    I wish there was a half way house for mod_perl which wasn't so embedded into the web server but still had the advantages of persistent processes. There is always FastCGI I suppost...

    My conclusion is that if you want to run mod_perl you'll have to get your own server (or club together with some friends).

Re: ISPs Supporting mod_perl
by Anonymous Monk on Mar 02, 2001 at 05:39 UTC

    Check out Iserver. They have virtual servers that are chroot'd (i believe) so you have your own copy of apache, sendmail, etc.

    Since you have your own copy that is isolated from anyone else's on the server you can modify all the config files, restart your server, etc without having to worry about other users.

    We have a fairly high traffic website hosted with them and have been using mod_perl for a while now without any problems.

(fongsaiyuk)Re: ISPs Supporting mod_perl
by fongsaiyuk (Pilgrim) on Mar 02, 2001 at 07:53 UTC