hi Dave,
The "internal object cache" referred to in the message below is the way that
Spectra programatically maintains a server based cache of recently used
Spectra objects. It's relevant to your discussion of
<cfa_contentObjectFind> because doing a <cfa_contentObjectfind> first uses
Verity to search for any matches, then retrieves any matching objects using
cfa_contentObjectget. You'll notice that cfa_contentObjectget first checks
to see if the object it's supposed to retrieve is in cache, if so, it's
obviously much faster to retrieve it from memory than from the DB, and does
so. Intelligent as the tag is, *if* it doesn't find the object in cache,
it'll retrieve it from the DB and then write that object to the cache.
HTH's.
Aaron Johnson, MCSE, MCP+I
Allaire Certified ColdFusion Developer
MINDSEYE, Inc.
<phn>617.350.0339
<fax>617.350.8884
<icq>66172567
[EMAIL PROTECTED]
> -----Original Message-----
> From: Dave Crosby [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 14, 2001 9:46 PM
> To: Spectra-Talk
> Subject: Re: General Search Performance question...
>
>
> What exactly is meant by "internal object cache"? Are structures that my
> program creates considered "internal object cache". Does this affect the
> speed of cfa_contentObjectFind?
>
> Dave Crosby.
>
> ----- Original Message -----
> From: "Maddison, David" <[EMAIL PROTECTED]>
> To: "Spectra-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, 15 March, 2001 12:20 AM
> Subject: RE: General Search Performance question...
>
>
> > What's more, the internal object cache inside spectra is set to
> only hold
> > 1000 items, that includes all the webtop, so if you've got a
> large amount
> of
> > items, there's going to be a lot of thrashing as objects get swapped out
> of
> > memory. The algorithm that chooses a victim object is quite slow, and
> > that's why it's going to take a long time to load 1000 items.
> >
> > Check out the file:
> >
> > program
> >
> files\allaire\spectra\customtags\system\tier0\objectstore\cfa_cont
> entobjectc
> > achewrite.cfm
> >
> > if you've got a large amount of objects, and a LOT of memory
> you may want
> to
> > change the lines :
> >
> > <cfset POOL_MAX_SIZE = 1000>
> > <cfset POOL_MIN_SIZE = 700>
> >
> > to better values. Remember that since the object id is unique, Spectra
> > stores all it's objects in the SAME pool regardles of the CODB.
> >
> > << David Maddison >>
> > wildfusion
> > -- The Spectra Specialists --
> >
> > W: http://www.wildfusion.com
> > E: [EMAIL PROTECTED]
> > M: +44 (7747) 024455
> > YahooIM: maddisondavid
> >
> >
> > >> -----Original Message-----
> > >> From: Daniel Niklasson [mailto:[EMAIL PROTECTED]]
> > >> Sent: 14 March 2001 11:07
> > >> To: Spectra-Talk
> > >> Subject: RE: General Search Performance question...
> > >>
> > >>
> > >> > I'm doing some testing with senmi-large (8000 items)
> > >> verity collections
> > >> > right now. Verity searches are very fast when whatever
> > >> you want to search
> > >> > for is not present in the collection. Unfortunately if
> > >> there are matches
> > >> > the search can take a very large amount of time. I am
> > >> seeing anything
> > >> > between 0 and 16 seconds over here.
> > >>
> > >> Verity searches are very fast. The reason that it takes a
> > >> lot of time must be that when you do a verity search with
> > >> a Spectra-tag like "cfa_allTypeSearch" it executes the
> > >> search and for every match it get it does a
> > >> cfa_contentObjectGet to get the data for the object. This
> > >> means that if you get 1000 answers from your verity-search
> > >> it would then do 1000 sql-questions to the database and
> > >> that takes some time.
> > >>
> > >> --------------------------------------------
> > >> Daniel Niklasson Resco Väst
> > >> Programmerare / Sysadmin
> > >>
> > >> Tel: 031-7439203, Mobil: 0708-903238
> > >>
> > >> Unix *is* user-friendly - It´s just selective who it´s
> > >> friends are.
> > >> --------------------------------------------
> > >>
> > >> �"nnu en Rescoproduktion på webben - Telias nya startsida!
> > >> Titta på www.startsidan.telia.se och njut av möjligheterna.
> > >>
> > >>
> > >>
> > >>
> > >>
> >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.