Hi everyone,<br><br>my proposal is to subdivide current assets table into 2 tables:<br>
user_assets : for user owned assets (mainly in inventory, appearance, attachment, ...)<br>
user_asset is used by UGAI servers<br>
region_assets: for region owned assets, sounds, textures(including sun, moon, ...)<br>
region_asset is used by region servers<br>
<br>
I wrote the whole, detailed idea at:<br><a href="http://opensimulator.org/wiki/User:Lulurun#proposal_to_subdivide_the_assets_table">http://opensimulator.org/wiki/User:Lulurun#proposal_to_subdivide_the_assets_table</a><br>
Please have a look at it, here is only a brief introduction.<br><br>This could bring us many advantages such as:<br>0. increase the dispersity of asset data, clarify the responsibility of each server.<br>Currently, all of the asset data is stored in assets table, managed by assetserver.<br>
This would cause some problems:<br> 1. assets table keeps growing in a fast pace.<br> 2. hard to determine which asset is belongs to inactive regions (when you want to "clean"<br>the assets table).<br> 3. assetserver not only serves users' data but also regions' data, if something happened to<br>
assetserver both of avatar and prims will become gray.<br>To separate assets table can not only solve these problems, but also brings minor benefits<br>such like: reduce the responsibility of assetserver, disperse the asset requests(especially<br>
for big grid service), lower the risk of losing data, ...<br><br>1. for Data Portability in virtual world<br>For grid admin,<br> * you can concentrate on managing only user(not region owner) relavent information<br> like "users, avatarappearance, inventory"<br>
* it can reduce the vulnerability caused by foreign assets.<br> * when a region leaves your grid, you don't have to worry about its assets becoming garbage.<br> - on the other hand, this also good for region owners.<br>
For when a user registers their region server with a grid,<br> * When you want to switch your sim to a new grid, "prims, primshapes, terrain, region_asset"<br> are always tied-up together. the only thing you need to do is to edit UGAI servers URI in<br>
your OpenSim.ini<br><br>For more advantages, please have a look at<br><a href="http://opensimulator.org/wiki/User:Lulurun#Advantages">http://opensimulator.org/wiki/User:Lulurun#Advantages</a><br><br>If this is a good way to go, not so many changes is needed:<br>
* UGAI servers would remain as they used to be.<br>* VW user won't feel anything different.<br>* Of course this should be a option in OpenSim.ini so that we can enable/disable/config<br>* Just need to add supports for a new table "RegionAssets" with the same structure as "assets".<br>
* AssetClient in RegionServer should be improved to be able to get assets from mutilple servers.<br><br>For more detailed plan of the implementation, please have a look at<br><a href="http://opensimulator.org/wiki/User:Lulurun#Implementation">http://opensimulator.org/wiki/User:Lulurun#Implementation</a><br>
<br>Any advice, comment, thought is appreciate.<br><br>-- <br>Lulurun<br>regards<br><br>