Edit detail for #993 /setupTracker also required for good large wiki performance now revision 1 of 1

1
Editor: simon
Time: 2005/01/30 16:09:04 GMT+0
Note:

changed:
-
Any page display results in call(s) to pages(), pageNames() and/or pageIds(). All these methods make use of pages(), which, in turn, results in ensureCompleteMetadataIn() being called for each page in the zwiki web. This methods verifyes that all metadata mentioned in PAGE_METADATA is present in ZCatalog, and if not - looks it up in ZODB.

What happens if you do not have run /setupTracker? Tracker.py registers additional metadata in PAGE_METADATA,  and ensureCompleteMetadataIn() tries to look it up in ZODB. For each page display. Againg and again. Until /setupTracker populates catalog with these additional metadata fields.

But if admin does not want to use tracker, this will mean constant speed penalty during each page display.

From simon Thu Jan 27 15:14:07 -0800 2005
From: simon
Date: Thu, 27 Jan 2005 15:14:07 -0800
Subject: property change
Message-ID: <20050127151407-0800@zwiki.org>

Name: '#993 Modern ZWiki gets speed penalty for not having a catalog' => '#993 /setupTracker also required for good large wiki performance now' 


From simon Thu Jan 27 15:22:28 -0800 2005
From: simon
Date: Thu, 27 Jan 2005 15:22:28 -0800
Subject: clarification
Message-ID: <20050127152228-0800@zwiki.org>

Visiting 'PAGE/setupCatalog' used to be sufficient to set up a catalog for maximum large-wiki performance. But a dependency on some tracker fields has crept in, so for the moment you must run '/setupTracker', even if you're not using a tracker. You can delete the sample issue page it creates. 

From simon Sat Jan 29 17:03:57 -0800 2005
From: simon
Date: Sat, 29 Jan 2005 17:03:57 -0800
Subject: fixed for 0.38; /setupCatalog now adds all metadata fields
Message-ID: <20050129170357-0800@zwiki.org>

Status: open => closed 


From BobMcElrath Sat Jan 29 17:45:30 -0800 2005
From: Bob McElrath
Date: Sat, 29 Jan 2005 17:45:30 -0800
Subject: fixed for 0.38; /setupCatalog now adds all metadata fields
Message-ID: <20050130014526.GC8782@mcelrath.org>
In-Reply-To: <20050129170357-0800@zwiki.org>

simon [zwiki-wiki@zwiki.org] wrote:
> Status: open => closed 

Uh...I don't think this should be closed until one can set up a wiki
that doesn't require a tracker...IMHO...

Clearly not everyone wants one...



From simon Sun Jan 30 16:09:04 -0800 2005
From: simon
Date: Sun, 30 Jan 2005 16:09:04 -0800
Subject: 
Message-ID: <20050130160904-0800@zwiki.org>

You can.

Submitted by : Dmitry Astapov at: 2004-12-22T06:25:15+00:00 (14 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Any page display results in call(s) to pages(), pageNames() and/or pageIds(). All these methods make use of pages(), which, in turn, results in ensureCompleteMetadataIn() being called for each page in the zwiki web. This methods verifyes that all metadata mentioned in PAGE_METADATA is present in ZCatalog, and if not - looks it up in ZODB.

What happens if you do not have run /setupTracker? Tracker.py registers additional metadata in PAGE_METADATA, and ensureCompleteMetadataIn() tries to look it up in ZODB. For each page display. Againg and again. Until /setupTracker populates catalog with these additional metadata fields.

But if admin does not want to use tracker, this will mean constant speed penalty during each page display.

property change --simon, Thu, 27 Jan 2005 15:14:07 -0800 reply

Name: '#993 Modern ZWiki gets speed penalty for not having a catalog' => '#993 /setupTracker also required for good large wiki performance now'

clarification --simon, Thu, 27 Jan 2005 15:22:28 -0800 reply

Visiting 'PAGE/setupCatalog' used to be sufficient to set up a catalog for maximum large-wiki performance. But a dependency on some tracker fields has crept in, so for the moment you must run '/setupTracker', even if you're not using a tracker. You can delete the sample issue page it creates.

fixed for 0.38; /setupCatalog now adds all metadata fields --simon, Sat, 29 Jan 2005 17:03:57 -0800 reply

Status: open => closed

fixed for 0.38; /setupCatalog now adds all metadata fields --Bob McElrath?, Sat, 29 Jan 2005 17:45:30 -0800 reply

simon [zwiki-wiki@zwiki.org]? wrote: > Status: open => closed

Uh...I don't think this should be closed until one can set up a wiki that doesn't require a tracker...IMHO...

Clearly not everyone wants one...

... --simon, Sun, 30 Jan 2005 16:09:04 -0800 reply

You can.