[opensource-dev] User Story: Improved Cache

Kelly Linden kelly at lindenlab.com
Sun Sep 19 15:32:35 PDT 2010

On Sun, Sep 19, 2010 at 3:13 PM, Aidan Thornton <makosoft at gmail.com> wrote:

> On 9/19/10, Argent Stonecutter <secret.argent at gmail.com> wrote:
> > Perhaps Tateru was referring to the prim data changing (eg, geometry)
> while
> > the prim UUID stays the same. I don't think the viewer makes any
> assumptions
> > about prims being unchanged from session to session, so that's not
> something
> > that would need to be verified in the cache.
> Actually, I'm pretty sure it does, at least in viewer versions where
> caching hasn't accidentally been rendered totally ineffective by a Linden
> Labs
> typo. In fact, there's a fairly elaborate system for caching prim data
> to disk. As I recall, it detects changed prims using the CRC field,
> which is completely misnamed and is really a generation counter that
> records the number of changes to the prim. Then there's the CacheID,
> which invalidates the whole sim's cached data where necessary (e.g. if
> the sim moves or crashes, or perhaps even if it just restarts at all -
> would have to ask one of the Lab folks).
This is pretty accurate. I think the CacheID only changes if the format of
the cache changes, and so should be pretty rare. I'm not 100% sure on that
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20100919/b729bd9c/attachment.htm 

More information about the opensource-dev mailing list