This is the project graph stuff that has been discussed and is reasonably 
well documented.  I had to deal with it some months ago, at this point I'm 
a bit hazy on the specifics.

You might want to search for contributions by Andy Cohen on this subject.

A project graph is a set consisting of one copy of each object in the 
project (page, data object, etc.).  During the life of a web event, your 
session (thread) is given exclusive access to one project graph.

ND has an algorithm for when it instantiates new project graphs.  Part of 
that includes whether it instantiates an entire project graph, or just the 
requested objects.

If an object contains references to other objects, and especially if you 
have 'init' code to instantiate the references, ND's instantiation of a 
single object can cause cascading instantiation of referenced objects, with 
a noticeable time lag.

You should look at project preloading (under CP options in console).  You 
can specify that a certain number of project graphs be preloaded when the 
app server is started, avoiding runtime instantiation delays.

-- Curt  Springer, Team ND


At 01:26 PM 1/6/00 -0800, peter cheung wrote:

>I have seen this quite often especially in the beginning of running a project.
>
>I am not sure whether this only happens to large projects because you will 
>not notice the delay if the project is small.
>
>Normally it should only happen if there are more users then the # of 
>projects instatiated.
>I believe it does happen quite often even if that is not the case.
>I like to hear from more people on this subject.
>
>
>
>"Bryant Brabson" <[EMAIL PROTECTED]> wrote:
> >
> >I have inherited a rather large (200+ pages)
> >project. This project has the annoying habit
> >of reinstantiating itself while in use. I have
> >examined the project and haven't seen anything
> >too exotic in the code or the studio properties.
> >I am wondering what the general rules for
> >project instantiation are. In other words,
> >why would a click on a random button or href
> >cause my project to reload? Is there some
> >session object that is misbehaving that
> >could be causing this phenomenon?
>
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
>For dire need help, email: [EMAIL PROTECTED]

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to