On Wed, Feb 18, 2009 at 5:25 PM, Andrew wrote:
...
> In a production environment, how do we handle the fact that we have
> 10s or 100s of requests going to the MG app as it's starting up?
> Ideally I'd like to hold off all the traffic until we know the MG app
> is completely loaded, because my suspicion is that CF is getting
> bogged down with all these concurrent requests.

Hrm.  In the past, I just used a plain CFM file as a place-holder, and
then switched it out with the real deal, once loaded.

There was only one server where this was a real problem (Xserve)...
since switching to a cluster (which rocks!  Clusters are the
bomb-diggity--) it hasn't been an issue, but I'm sure if we have the
whole shi-bang go down, we'd run into something like that, for a bit
at least, so...

How about using onRequest in Application.cfc to see if MG is loaded,
and if not, pass the request off to a vanilla CFM "upgrading app,
please wait" or whatnot page?

Haven't tried it, but it's what jumps to mind for some type of
automated (without using bash scripts, etc. ;]) process.

Real world solutions welcome!  =]
:DeN

-- 
There is nothing makes a man suspect much, more than to know little.
Francis Bacon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to