[Zope-dev] PANIC!!! That old refresh bug again.

Leonardo Rochael Almeida leo@hiper.com.br
18 Sep 2002 14:32:18 -0300


On Wed, 2002-09-18 at 13:09, Toby Dickenson wrote:
> On Wednesday 18 Sep 2002 4:23 pm, Lennart Regebro wrote:
> 
> > Having to restart each time I make a change is slowing down my development
> > to a complete halt. 
> 
> Something is wrong here. You should be able to restart Zope within a few 
> seconds.
> 
> Are you using FileStorage? I guess you are not shutting Zope down cleanly. An 
> unclean shutdown means FileStorage needs to rebuild its in-memory index at 
> the next startup, which is a slow process.
> 
> Even with a clean shutdown that preserves the index, startup can be slower if 
> your database is huge. Using ZEO eliminates this.

True! I had a Zope with a Huge Data.fs that took up to 5 mins to
(re)start. With ZEO, this time dropped to between 2 and 10 secs.

I highly recommend ZEO for development. It's great for debugging too,
when you have to freeze debug Zope (i.e. inside pdb or gdb), you can
keep another ZEO client running.

Cheers, Leo

-- 
Ideas don't stay in some minds very long because they don't like
solitary confinement.