----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
David Morton wrote:
> So what is the best current solution? I want to build a production
> system. Currently I am considering:
>
> Solaris/Intel/Jserv/Apache/MySql/SUN 1.1 JDK (or 1.2 if people say is the
> way to go)
> Linux/Intel/Jserv/Apache/MySql/Blackdown 1.1 JDK
>
> What else should I consider? Should I be buying a Sparc, although that
> requires more resources at this time? Who has the largest production
> system out there that consumes the most resources? has mission-critical
> use, etc..
Slow down! You said at first you were going to have a "light load."
Light compared to what? Amazon.com? Or your monkey's uncle's philately
web site?
Your best bet is to try to estimate your load and plan accordingly:
Will there be database connectivity? (you said yes, mySQL)
How long will the database requests usually take?
How many HTTP requests per second do you expect to get at peak loads?
Are you doing JSP or servlets or both?
Are the servlets going to sloppy and slow or tight and fast?
How much RAM do you have?
How fast is your hard drives' IO access? How many RPMs?
What's the CPU speed going to be? How many CPUs?
The heaviest duty customers I deal with at my job are using Sun Solaris
OS with Sun JDKs, multi-gigabytes of RAM and 4-8 CPUs per machine.
Linux doesn't scale as well as Solaris yet, but a very important
consideration is whether you will ever even approach a level where you
would start to notice the difference.
Major bottlenecks at high loads can be oft overlooked things, like hard
disk speed and the code quality/efficiency of servlets. There's no
question that Solaris with a Sun JDK and Hotspot is faster than
Blackdown (see the latest Volano reports). But actually the fastest JVM
in the world right now (judging from Volano) is TowerJ on Linux! But
that costs dough.
Netscape/Sun's iPlanet will serve up JSP and servlets faster than Apache
can serve CGI programs written in C (according to a recent study by
Mindcraft). Hell, if you're going to buy a Sparc, you might as well get
iPlanet too and forget about Apache.
> Or am I kidding myself and I need to buy a Sparc and Solaris....use Apache
> and WebLogic and Sun's JDK?
If you think your load is going to be truly "light," go with the open
source stuff. How important is ideology to you? How important is the
freedom and configurability? Personally, I believe Apache is _much_
more configurable than any other web server out there. Think of the
future too, though. Solaris is probably not going to change much in the
next few years, whereas the performance and scalability of Linux,
Apache, JServ, Linux JVMs, etc. will undoubtedly improve at a rapid
rate.
--
Scott Stirling
West Newton, MA
[EMAIL PROTECTED]
http://www.gis.net/~sstirlin
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]