[Opensim-dev] terrain and blank assets, do they need to be non temporary?
Sean Dague
sean at dague.net
Wed Mar 12 15:30:04 UTC 2008
On Wed, Mar 12, 2008 at 02:09:42PM +0000, Justin Clark-Casey wrote:
> Sean Dague wrote:
> > On Wed, Mar 12, 2008 at 09:22:38AM +0000, Michael Wright wrote:
> >
> >> I would need to check what the blank assets are, but think they might
> >> be baked textures. But anyway we have to remember that we have a
> >> temporary flag and a local flag, and we need to treat them
> >> differently. At the moment we treat temporary as though it means
> >> local, when it shouldn't. Temporary should mean it gets sent to the
> >> asset server but is only kept for a certain amount of time. Local
> >> should mean a asset isn't sent to the asset server, but is only stored
> >> locally. While having both local and temporary set to true, should
> >> result in what we currently do for temporary assets, that is keep them
> >> local and only around for a short period of time.
> >>
> >
> > Does local need to survive a reboot?
> >
> Is there a use case for this?
If we can avoid storing the database, because things regen on start,
it's on less thing to keep track of.
> > I think we also need to build in a reaper at some point, which looks for
> > references to assets in the system, and deletes those not referenced.
> >
> It seems to me that there are two problems with reaping assets
>
> 1) Many LSL functions allow you to reference assets directly by UUID,
> so they could not be referenced in the database yet are still expected
> to exist.
>
> 2) In grid mode, currently disconnected regions may be references
> assets in their region stores. Checking whether any of these reference
> an asset would be a difficult (if not effectively impossible) task.
It's going to be hard, but something that will need to be sorted out at
some point, otherwise you've got a massive denial of service attack of
just uploading textures until you fill up the grid server filesystem.
If you can never delete anything, ever, you'll blow all your storage at
some point.
The grid can easily cross reference with Inventory, as well as putting a
parser in for scripts looking for UUID like things.
Then there should be some way for regions to tell the grid all the
assets they are currently using (by looking at prims).
While I think the problem is hard, I don't think it is intractably hard.
-Sean
--
__________________________________________________________________
Sean Dague Mid-Hudson Valley
sean at dague dot net Linux Users Group
http://dague.net http://mhvlug.org
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080312/dce33bae/attachment-0001.pgp>
More information about the Opensim-dev
mailing list