On Tue, 13 Nov 2001 09:11, Mircea Toma wrote:
> Hi,
>
> > Got ome part bad news. I spoke to someone on the phone today who said
> > installation/uninstallation is evil ;) They managed to convince me that
> > in some circumstances it can be a real PITA and we should just fully
> > unzip
>
> .sar
>
> > on filesystem and rebuild "installation" each run.
>
> Ok. Although, I would like to know too what those circumstances may be?!


oops I forgot to explain things fully. Heres the basic rundown of the 
argument as I remember it.

In most cases avalon phoenix apps will be restricted to one machine. 90% of 
the time it will be developers who are deploying phoenix applications and 
running phoenix (as part of develope-test cycle). So in their case it has to 
be fast and easy. Directories are far easier than archives to work with in 
this. 

So when running a single instance of phoenix it ends up being of lower cost 
if you just extract extract everything onto filesystem. (or you don't even 
use archive at all).

In the cases where it is deployer adding an app there is little advantage 
either way. As we don't yet have a mechanism for easy upgrades there is no 
penalty for extracting full jar. You still have to hand manage upgrades. This 
will be even more the case when we have a management console that deployers 
can use to deploy apps from automagically.

> > Oh well - I still think we
> > need installation for when Phoenix is clusterable.
>
> Why?

Well I am not sure if the reason is legitimate but ... I think not extracting 
them is the *right* thing to do ;)

If you are going to do clustering of apps then it becomes less likely that 
developer needs will be same. (They will probably develope on one machine and 
then deploy to all ... the deploy step would of course require the .sar 
archive - hence no way to skip that step).
 
I guess it is mainly because it is the *right thing to do*. In the future 
when/if we have better update mechanims it will become more relevent but I 
guess less so now ;)

-- 
Cheers,

Pete

"The fact that a believer is happier than a skeptic is no more to the
 point than the fact that a drunken man is happier than a sober one.
 The happiness of credulity is a cheap and dangerous quality."
        -- George Bernard Shaw

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to