On Fri, 2002-11-01 at 11:49, Nick Murtagh wrote:
> Hi
> 
> This looks like a handy feature, but I have a couple of questions:
> 
> Can you use this in production, or will there be a period where no
> requests can be handled while the AppServer restarts?

The AppServer will complete all queued requests before shutting down, so
it's most likely that you won't miss any requests.  However, AutoReload
is only being recommended for development at this point (i.e. the
Webware team won't take any responsibility -- you're on your own. :)

> Why restart the AppServer? Wouldn't it be possible to reload
> modules when they have changed, or is this a massive can
> of worms that shouldn't be opened?

Due to dependencies between modules, it's not possible to figure out
what all needs to be reloaded, nor is it possible to reload modules 100%
cleanly.

Just for example, consider a module which adds a global-level variable
to itself when you call one of its functions.  If you reloading this
module the variable wouldn't be there anymore, but some other module
might be expecting it.

The only way for reloading to work in the general case is to restart the
entire server.

-- 
Jason D. Hildebrand
[EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to