Dont you want more than one server (for stability and load balancing)? It may be better to think in terms of threads and resources. So, for example your 4 sites sharing the same database and 10 threads over 25 instances balanced over 3 servers might be ideal.
But a peak in load could exhaust one instance and you might wish you had divided up thread/resources differently. One sites' code could be a database connection hog and you might wish you had divided up thread/resources differently. > To: [email protected] > Subject: Re: Windows 2008 R2, IIS, CF9 Enterprise and Multiple Instances > Date: Mon, 4 Apr 2011 20:24:03 -0700 > From: [email protected] > > > You can certainly run multiple vhosts in front of a single CF > instance. The nitty-gritty will depend on what you're specifically > attempting to do, but it absolutely works. And so does the reverse > (running single vhost in front of multiple CF instances). > > The more instances you have, the more times you have to pay JVM > overhead. I.e., each JVM needs to load all the boilerplate Java > stuff, so with 25 instances, you're effectively loading the Java core > 25 times into memory. Obviously that's very desireable if you need > differentiation between your instances (different JVM version, > different security provider, etc.), but if you want the same thing for > everything, it can be needlessly expensive. > > Somewhere between running a single instance and running a bunch of > different instances is running multiple webapps within a single server > instances. Then you pay the CF overhead each webapp, but the JVM > overhead only once per server. > > The short answer is that you have a lot of options, and CF will > support the majority of them. The only place I've gotten into trouble > is trying to merge the CF webapp with other webapps and then run a > single combined webapp. But it doesn't sound like that's what you're > interested in, so I think you should be good. > > cheers, > barneyb > > On Mon, Apr 4, 2011 at 5:22 PM, Jennifer Lehmann <[email protected]> > wrote: > > > > I am in the planning stage of putting CF9 Enterprise on Windows 2008 R2. > > We are going to be setting up multiple instances in all environments, dev, > > test, qa and prod. We currently are on Windows 2003 with CF8 and using > > instances in dev only. > > > > I need to know a few things: > > 1. We have about 4 web sites that the developer wants to merge into 1 > > instance. I don't think I can do that, can I? > > 2. Is there a way to join 1 instance to multiple host header sites? Or > > can you do anything with host headers and 1 instance? > > 3. What overhead do I face with 25 instances on 1 server with 64 GB of RAM > > when I can create multiple jvm.configs and parse out that memory to the > > instances? > > > > This probably only skirts the questions I have but I have management > > pressing me for answers and I can't find any anywhere. > > . > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6944 Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-server/unsubscribe.cfm
