in reply to Re: Re^3: Is mod_perl for Windoze not ready for prime time?
in thread Is mod_perl for Windoze not ready for prime time?

Both Linux and FreeBSD have good SMP support. I haven't personally seen benchmarks for them on SMP, though. Either one is an excelent choice.

Note that MySQL doesn't like the way FreeBSD does multi-threading. You'll be OK on low-traffic sites, but high-traffic ones can get bogged down fast (as Perl Monks often does).

Definately go with mod_perl 1 unless you have specific requiments that need mod_perl2. Even then, I would fight to hold off on mod_perl2 for a while. Just be sure the developers read the mod_perl2 migration docs, as they should probably code with the idea twards migrating later.

----
: () { :|:& };:

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re^6: Is mod_perl for Windoze not ready for prime time?
by Aristotle (Chancellor) on Mar 17, 2004 at 05:11 UTC
    Hasn't the MySQL on FreeBSD issue been resolved for quite some time? At least that's what tye has been saying.

    Makeshifts last the longest.

Re: Re^5: Is mod_perl for Windoze not ready for prime time?
by Anonymous Monk on Mar 17, 2004 at 15:09 UTC
    Thank you for the advice. MySQL isn't an issue. We're running the db on a seperate box behind the firewall.

    Actually, that's what started this current migration. The old machine used to run MySQL and the search scripts, but was getting overloaded, so we added a new dedicated db server and redeployed the old box, switching to Apache to get output compression, persistent db connections and so forth.

    Interestingly, I benchmarked MySQL (4.016, I think) on FreeBSD on the new machine (dual 2.8Mhz P4s) versus Windows 2003. Who'd have thunk? On loading 2.5 million records, Windows 2003 was faster by a fair margin. The same was true for W2K as it was either about the same or slower than FreeBSD. As I recall, the reasons were largely due to hyperthreading on the P4 as W2K3 sees 2 CPUs for each processor along with other performance improvements in W2K3.

    I've got the FreeBSD 4.9 install disks, so I'll give it a go. I appreciate the porting tips. We're trying to keep the code as generic as possible so that it can also run in a standard perl environment, so we should be ok there, but will take a hard look at the migration docs.

    Rod