[sldev] Changes to eliminate storage wasted by single-use, temporary assets.

Soft soft at lindenlab.com
Thu May 29 10:20:53 PDT 2008


On Thu, May 29, 2008 at 12:08 PM, Joshua Bell <josh at lindenlab.com> wrote:
>
> This is what's internally known as "single reference attachments" work... I
> thought it had some mention on sldev, but I'm not finding it now.
>
> On logoff, attachment state is serialized as assets. On login it is
> reconstituted into the in-memory representation of the sim. At this point,
> the serialized copy of the data is unnecessary and will never be used again
> (the single reference to it is now discarded), so it can be purged from the
> asset store and save us precious storage space.

Minor clarification - it it matches the design I saw, the purge
happens at logoff after successfully serializing the new version, and
only if no copy of the object was made during the usage session.
There's no room for data loss in the event of a crash.


More information about the SLDev mailing list