[Opensim-dev] GetAssetStreamHandler, grid mode and caching

Diva Canto diva at metaverseink.com
Sun Apr 26 16:40:44 UTC 2009


Tommil,

RegionAssetService is meant to be an http service to get assets from 
regions when they run in standalone mode. Hence that  original logic it 
had for being enabled on the Hypergrid. In gridmode+HG, that module is 
not enabled.

If you want to get assets from regions when you are in gridmode, you 
should use the AssetCache, obviously. I suggest you don't touch 
GetAssetStreamHandler, because (I think) that's meant to be what it is: 
the raw request. It's your code's business to figure out what to do in 
these different modes.

We can go into the old discussion about the complexity of managing 
standalone vs grid mode, and all the headaches, but that's a much deeper 
issue...

Crista

Tommi Laukkanen wrote:
> Hello
> 
> Does someone know why GetAssetStreamHandler is not using cache but
> fetching data directly from database with asset data plugin? This can
> cause pretty heavy load on database when a lot of assets is loaded via
> HTTP.
> 
> I noticed this when debugging why RegionAssetService does not work in
> grid mode. It fails as GetAssetStreamHandler tries to load the assets
> via data plugin which is not present in region instead of using
> assetcache which is used by ll clients.
> 
> I would like to propose changing GetAssetStreamHandler to use
> AssetCache to enable MXP enabled client to load assets via region in
> grid mode (ll viewers load assets via region in grid mode but use
> UDP).
> 
> -tommi
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
> 



More information about the Opensim-dev mailing list