I do not know about IIS.  With apache when you install as a service you can
specify which config file to use (we also copy the apache exe to a new name
so that we can tell the services apart in Perfmon).  We install apache as a
service twice with the config files listening on different ip/ports.  If you
have a load balancer I recommend the same IP for both services but different
ports, if no load balancer then use different IP's.

I like to run different services because of the threading issues.  I do not
know how virtual servers within IIS work, but with this apache
configuration, I pretty much guarantee that one apache service bottlenecking
(i.e. more CF requests than it can handle) does not prevent the other for
servicing it's requests.  This does break down eventually as the TCP stack
is still a bottleneck in the end.

It is correct (as mentioned below) that all instances of the apache service
will use the same CF Service, so there is no value is having multiple
instances and running CF from all of them.  We do it specifically to allow
static files to be served regardless of how jammed the CFserver is.

On performance, We have found that we can generate enough static traffic on
a dual PIII box running apache to saturate our 100MB LAN (service 14K
files).  Serving 1K files we are able to serve about 800 connections/sec.  I
do not believe that for most people the performance of the web server
software itself is really an issue.  The performance of Cold Fusion itself,
the SQL code, etc are the bigger issues.  As soon as you add any back end
processing things really slow down.

Justin

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 04, 2001 12:14 AM
To: CF-Talk
Subject: RE: [RE: IIS or Apache? (WAS RE: can anyone help?)]


-- Spamex - Because sending you email is a privilege not a right.
-- Replies will be sent to [EMAIL PROTECTED]
-- Additional Info: http://www.spamex.com/i/?v=43

> > > 1. Run 2 instances of apache on each web server. 
> > > ...
> > 
> > How did you configure this? Did the different instances 
> > have different ports?
> > 
> > ALSO how did you get CF to run with all the instances?
>
> Did anyone ever answer this? I'm curious myself.. specifically 
> on IIS.

I don't think anyone answered the question with regard to IIS - it was an
Apache question.

You can't run multiple instances on IIS on a single server. However, you can
run multiple virtual servers within IIS, and each can have its own ISAPI
configuration. You can get the same effect doing this as the original writer
mentioned using Apache.

With either IIS or Apache - or any other web server - all instances or
virtual servers can use the same CF service, as long as they're configured
to do so.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to