<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Diva, Tommil,<BR>
 <BR>
as being the one actually introducing the Get/SetAssetStreamHandlers, I can tell you that they are quite simply just that - handlers for incoming requests for assets.<BR>
 <BR>
Whether they should be cached or not is of course subject to the same questions as any 'should this be cached' discussion.<BR>
 <BR>
I see no reason why they shouldn't be. The reason they aren't is because they are jurassic - stemming from the 'true alpha' days when caching would just add another layer to debug.<BR><BR>Best regards,<BR>Stefan Andersson<BR><BR><BR><BR> <BR>> Date: Sun, 26 Apr 2009 09:40:44 -0700<BR>> From: diva@metaverseink.com<BR>> To: opensim-dev@lists.berlios.de<BR>> Subject: Re: [Opensim-dev] GetAssetStreamHandler, grid mode and caching<BR>> <BR>> Tommil,<BR>> <BR>> RegionAssetService is meant to be an http service to get assets from <BR>> regions when they run in standalone mode. Hence that original logic it <BR>> had for being enabled on the Hypergrid. In gridmode+HG, that module is <BR>> not enabled.<BR>> <BR>> If you want to get assets from regions when you are in gridmode, you <BR>> should use the AssetCache, obviously. I suggest you don't touch <BR>> GetAssetStreamHandler, because (I think) that's meant to be what it is: <BR>> the raw request. It's your code's business to figure out what to do in <BR>> these different modes.<BR>> <BR>> We can go into the old discussion about the complexity of managing <BR>> standalone vs grid mode, and all the headaches, but that's a much deeper <BR>> issue...<BR>> <BR>> Crista<BR>> <BR>> Tommi Laukkanen wrote:<BR>> > Hello<BR>> > <BR>> > Does someone know why GetAssetStreamHandler is not using cache but<BR>> > fetching data directly from database with asset data plugin? This can<BR>> > cause pretty heavy load on database when a lot of assets is loaded via<BR>> > HTTP.<BR>> > <BR>> > I noticed this when debugging why RegionAssetService does not work in<BR>> > grid mode. It fails as GetAssetStreamHandler tries to load the assets<BR>> > via data plugin which is not present in region instead of using<BR>> > assetcache which is used by ll clients.<BR>> > <BR>> > I would like to propose changing GetAssetStreamHandler to use<BR>> > AssetCache to enable MXP enabled client to load assets via region in<BR>> > grid mode (ll viewers load assets via region in grid mode but use<BR>> > UDP).<BR>> > <BR>> > -tommi<BR>> > _______________________________________________<BR>> > Opensim-dev mailing list<BR>> > Opensim-dev@lists.berlios.de<BR>> > https://lists.berlios.de/mailman/listinfo/opensim-dev<BR>> > <BR>> _______________________________________________<BR>> Opensim-dev mailing list<BR>> Opensim-dev@lists.berlios.de<BR>> https://lists.berlios.de/mailman/listinfo/opensim-dev<BR></body>
</html>