Re: [Opensim-dev] asset_database = local or grid?

2009-02-04 Thread Dahlia Trimble
The only argument I can come up with to keep the current ability is if a
region may have content which would not be desirable to be shared with a
grid asset server, such as proprietary scripts or textures/sounds/etc with
restricted licensing.

On Mon, Feb 2, 2009 at 5:42 AM, Justin Clark-Casey jjusti...@googlemail.com
 wrote:

 Stefan Andersson wrote:
  I believe the general concensus was to support all three (four?) asset
  server configs (internal, local, grid, hg(?))  but refactor the code
 paths.

 Could you give a mailing list reference to this consensus discussion?  I
 don't remember seeing it but it may have been
 before my time (which means it was more than a year ago).

 Local mode has never made much sense to me, so I would like to see some of
 the arguments for it.

 
  While I do understand the confusion, I have already shown how we could
  re-arrange the services so that we get a uniform set of interfaces -
  ideally, the config option should turn from specifying a mode to
  specifying a module and its config.
 
  Best regards,
  Stefan Andersson
  Tribal Media AB
 
Date: Sun, 1 Feb 2009 22:29:18 +
From: mela...@t-data.com
To: opensim-dev@lists.berlios.de
Subject: Re: [Opensim-dev] asset_database = local or grid?
   
Hi,
   
funny you would suggest that. That is one of the code paths I
suggested removing a long time ago, and was booed and rejected.
   
Melanie
   
   
Justin Clark-Casey wrote:
 Chris Hart wrote:
 Setting asset_database to local will store your assets in a .db
  sqlite
 database on your file system, and not in MySQL at all. If you run
 in
 grid mode, you should always set this to grid to avoid confusion
 unless you are connecting to someone else's grid and want your
  assets to
 be stored locally and not on their asset server.

 I have to say I made that same mistake when first starting out with
 opensim and had to migrate all my assets over to my database
 server.
 Several others have made the same mistake and I've had to help them
 to
 migrate their assets too - is the local storage model really that
  widely
 used? Should it actually be the default? For standalone I'm
  guessing it
 is ignored(?), but in grid mode I've found it just causes pain and
 confusion.

 Chris is right - I find the asset_database switch annoying because
  it catches me out on occasion.

 The problem with using local assets on a grid is one of grid asset
  blakanization - people coming to your region can't
 see your assets (because their requests go to the grid asset
  service rather than your local asset store) and when you go
 to other people's regions you can't rez objects you created on your
  local region.

 But it strikes me that now, if you wanted to retain your regions
  assets locally, you could set up your region as a
 hypergrid enabled region, as Hypergrid regions use the local asset
  store (there is conceptually no global).

 In view of this, I'd like to completely remove the asset_database
  option. This would mean that in standalone and
 hypergrid modes, the db used would always be local and in grid mode
  the grid asset service would always be used.

 Are there any objections to this?


 Chris / Strawberry Fride

 -Original Message-
 From: opensim-dev-boun...@lists.berlios.de
 [mailto:opensim-dev-boun...@lists.berlios.de] On Behalf Of Ai
 Austin
 Sent: 01 February 2009 17:12
 To: opensim-dev@lists.berlios.de
 Subject: [Opensim-dev] asset_database = local or grid?

 I have MySQL running on the same system that the UGAIM servers are
 running on at the moment, though we want to separate some of them
  out...

 I am wondering if I set asset_database = grid rather than
 asset_database = local is there any performance penalty... or
 will
 it run identically if the assets are in fact local anyway?

 ___
 Opensim-dev mailing list
 Opensim-dev@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/opensim-dev

 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.0.233 / Virus Database: 270.10.16/1926 - Release Date:
 01/30/09 17:31:00
 ___
 Opensim-dev mailing list
 Opensim-dev@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/opensim-dev



___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev
 
 
  
 
  ___
  Opensim-dev mailing list
  Opensim-dev@lists.berlios.de
  https://lists.berlios.de/mailman/listinfo/opensim-dev


 --
 justincc

Re: [Opensim-dev] asset_database = local or grid?

2009-02-04 Thread Justin Clark-Casey
I looked at this and when I came to OpenSimBase.InitialiseAssetCache() I 
discovered a host of other undocumented options 
for asset_database (cryptogrid, file, etc.)

So I did a typical open-source kludge (or perhaps allowed everybody as much 
freedom as possible :) and implemented a 
default setting for asset_database instead.  If this setting is there, then 
local is used when in standalone mode, 
and grid when in grid mode.  It's still possible to explicitly set this as 
before.

default is now also the default setting for asset_database.

I also changed the explanative text but it only currently talks about 
default, local and grid (only local and 
default were there before).  I shall leave it up to other folks to document 
the other options if they want to.

Dahlia Trimble wrote:
 The only argument I can come up with to keep the current ability is if a 
 region may have content which would not be desirable to be shared with a 
 grid asset server, such as proprietary scripts or textures/sounds/etc 
 with restricted licensing.
 
 On Mon, Feb 2, 2009 at 5:42 AM, Justin Clark-Casey 
 jjusti...@googlemail.com mailto:jjusti...@googlemail.com wrote:
 
 Stefan Andersson wrote:
   I believe the general concensus was to support all three (four?)
 asset
   server configs (internal, local, grid, hg(?))  but refactor the
 code paths.
 
 Could you give a mailing list reference to this consensus
 discussion?  I don't remember seeing it but it may have been
 before my time (which means it was more than a year ago).
 
 Local mode has never made much sense to me, so I would like to see
 some of the arguments for it.
 
  
   While I do understand the confusion, I have already shown how we
 could
   re-arrange the services so that we get a uniform set of interfaces -
   ideally, the config option should turn from specifying a mode to
   specifying a module and its config.
  
   Best regards,
   Stefan Andersson
   Tribal Media AB
  
 Date: Sun, 1 Feb 2009 22:29:18 +
 From: mela...@t-data.com mailto:mela...@t-data.com
 To: opensim-dev@lists.berlios.de
 mailto:opensim-dev@lists.berlios.de
 Subject: Re: [Opensim-dev] asset_database = local or grid?

 Hi,

 funny you would suggest that. That is one of the code paths I
 suggested removing a long time ago, and was booed and rejected.

 Melanie


 Justin Clark-Casey wrote:
  Chris Hart wrote:
  Setting asset_database to local will store your assets in
 a .db
   sqlite
  database on your file system, and not in MySQL at all. If
 you run in
  grid mode, you should always set this to grid to avoid
 confusion
  unless you are connecting to someone else's grid and want your
   assets to
  be stored locally and not on their asset server.
 
  I have to say I made that same mistake when first starting
 out with
  opensim and had to migrate all my assets over to my
 database server.
  Several others have made the same mistake and I've had to
 help them to
  migrate their assets too - is the local storage model
 really that
   widely
  used? Should it actually be the default? For standalone I'm
   guessing it
  is ignored(?), but in grid mode I've found it just causes
 pain and
  confusion.
 
  Chris is right - I find the asset_database switch annoying
 because
   it catches me out on occasion.
 
  The problem with using local assets on a grid is one of grid
 asset
   blakanization - people coming to your region can't
  see your assets (because their requests go to the grid asset
   service rather than your local asset store) and when you go
  to other people's regions you can't rez objects you created
 on your
   local region.
 
  But it strikes me that now, if you wanted to retain your regions
   assets locally, you could set up your region as a
  hypergrid enabled region, as Hypergrid regions use the local
 asset
   store (there is conceptually no global).
 
  In view of this, I'd like to completely remove the
 asset_database
   option. This would mean that in standalone and
  hypergrid modes, the db used would always be local and in
 grid mode
   the grid asset service would always be used.
 
  Are there any objections to this?
 
 
  Chris / Strawberry Fride
 
  -Original Message-
  From: opensim-dev-boun...@lists.berlios.de
 mailto:opensim-dev-boun...@lists.berlios.de
  [mailto:opensim-dev-boun...@lists.berlios.de
 mailto:opensim-dev-boun...@lists.berlios.de] On Behalf Of Ai Austin

Re: [Opensim-dev] asset_database = local or grid?

2009-02-03 Thread MW
Yeah, I don't think we should just remove the option to set what sort of asset 
system is used. As although I'm not sure if anyone does it, I think a important 
part of our system is that we allow modes in between full standalone and full 
grid, like someone could have a mostly standalone system but using a asset 
server (which might be shared with another standalone region). 

So my vote is not just to remove that whole option but for us to aim to 
refactor it so as Stefan said the option is to set what dll/module is used for 
asset access. 

Stefan Andersson ste...@tribalmedia.se wrote:.hmmessage P { margin:0px; 
padding:0px } body.hmmessage { font-size: 10pt; font-family:Verdana }   I 
believe the general concensus was to support all three (four?) asset server 
configs (internal, local, grid, hg(?))  but refactor the code paths.
  
 While I do understand the confusion, I have already shown how we could 
re-arrange the services so that we get a uniform set of interfaces - ideally, 
the config option should turn from specifying a mode to specifying a module and 
its config.
  
 Best regards,
Stefan Andersson
Tribal Media AB

 Date: Sun, 1 Feb 2009 22:29:18 +
 From: mela...@t-data.com
 To: opensim-dev@lists.berlios.de
 Subject: Re: [Opensim-dev] asset_database = local or grid?
 
 Hi,
 
 funny you would suggest that. That is one of the code paths I 
 suggested removing a long time ago, and was booed and rejected.
 
 Melanie
 
 
 Justin Clark-Casey wrote:
  Chris Hart wrote:
  Setting asset_database to local will store your assets in a .db sqlite
  database on your file system, and not in MySQL at all. If you run in
  grid mode, you should always set this to grid to avoid confusion
  unless you are connecting to someone else's grid and want your assets to
  be stored locally and not on their asset server. 
  
  I have to say I made that same mistake when first starting out with
  opensim and had to migrate all my assets over to my database server.
  Several others have made the same mistake and I've had to help them to
  migrate their assets too - is the local storage model really that widely
  used? Should it actually be the default? For standalone I'm guessing it
  is ignored(?), but in grid mode I've found it just causes pain and
  confusion.
  
  Chris is right - I find the asset_database switch annoying because it 
  catches me out on occasion.
  
  The problem with using local assets on a grid is one of grid asset 
  blakanization - people coming to your region can't 
  see your assets (because their requests go to the grid asset service rather 
  than your local asset store) and when you go 
  to other people's regions you can't rez objects you created on your local 
  region.
  
  But it strikes me that now, if you wanted to retain your regions assets 
  locally, you could set up your region as a 
  hypergrid enabled region, as Hypergrid regions use the local asset store 
  (there is conceptually no global).
  
  In view of this, I'd like to completely remove the asset_database option. 
  This would mean that in standalone and 
  hypergrid modes, the db used would always be local and in grid mode the 
  grid asset service would always be used.
  
  Are there any objections to this?
  
  
  Chris / Strawberry Fride
  
  -Original Message-
  From: opensim-dev-boun...@lists.berlios.de
  [mailto:opensim-dev-boun...@lists.berlios.de] On Behalf Of Ai Austin
  Sent: 01 February 2009 17:12
  To: opensim-dev@lists.berlios.de
  Subject: [Opensim-dev] asset_database = local or grid?
  
  I have MySQL running on the same system that the UGAIM servers are 
  running on at the moment, though we want to separate some of them out...
  
  I am wondering if I set asset_database = grid rather than 
  asset_database = local is there any performance penalty... or will 
  it run identically if the assets are in fact local anyway?
  
  ___
  Opensim-dev mailing list
  Opensim-dev@lists.berlios.de
  https://lists.berlios.de/mailman/listinfo/opensim-dev
  
  No virus found in this incoming message.
  Checked by AVG - www.avg.com 
  Version: 8.0.233 / Virus Database: 270.10.16/1926 - Release Date:
  01/30/09 17:31:00
  ___
  Opensim-dev mailing list
  Opensim-dev@lists.berlios.de
  https://lists.berlios.de/mailman/listinfo/opensim-dev
  
  
  
 ___
 Opensim-dev mailing list
 Opensim-dev@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/opensim-dev

___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


   ___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


Re: [Opensim-dev] asset_database = local or grid?

2009-02-03 Thread Justin Clark-Casey
MW wrote:
 I think Stefan is talking more about the general discussion on keeping 
 standalone mode vs just having Grid mode that we talked about about a 
 month ago. And the most common agreement was to aim to refactor the 
 interfaces and classes so they shared more between the standalone dlls 
 and grid mode dlls. And then have config options to set what dlls would 
 be used.

I certainly don't disagree with this general aim as it's common sense, but 
often one has to move one step at a time.
 
 As I said in the email I wrote a few minutes ago, I think the local vs 
 grid wasn't ever really there for having local assest when running in 
 grid mode but rather it was there to be able to use a asset server when 
 running in standalone mode. And I think that use case is still valid. I 
 think we should be able to have a standalone mode where it uses both 
 external asset and inventory server.

In that case, would it be okay to move the asset_database paramter from 
[Startup] into [Standalone]?  This would mean 
it's still possible to use an asset service that isn't the standalone one in 
standalone mode, but would remove the 
confusion of using local assets in grid mode.

 
 */Justin Clark-Casey jjusti...@googlemail.com/* wrote:
 
 Stefan Andersson wrote:
   I believe the general concensus was to support all three (four?)
 asset
   server configs (internal, local, grid, hg(?)) but refactor the
 code paths.
 
 Could you give a mailing list reference to this consensus
 discussion? I don't remember seeing it but it may have been
 before my time (which means it was more than a year ago).
 
 Local mode has never made much sense to me, so I would like to see
 some of the arguments for it.
 
  
   While I do understand the confusion, I have already shown how we
 could
   re-arrange the services so that we get a uniform set of interfaces -
   ideally, the config option should turn from specifying a mode to
   specifying a module and its config.
  
   Best regards,
   Stefan Andersson
   Tribal Media AB
  
Date: Sun, 1 Feb 2009 22:29:18 +
From: mela...@t-data.com
To: opensim-dev@lists.berlios.de
Subject: Re: [Opensim-dev] asset_database = local or grid?
   
Hi,
   
funny you would suggest that. That is one of the code paths I
suggested removing a long time ago, and was booed and rejected.
   
Melanie
   
   
Justin Clark-Casey wrote:
 Chris Hart wrote:
 Setting asset_database to local will store your assets in
 a .db
   sqlite
 database on your file system, and not in MySQL at all. If
 you run in
 grid mode, you should always set this to grid to avoid
 confusion
 unless you are connecting to someone else's grid and want your
   assets to
 be stored locally and not on their asset server.

 I have to say I made that same mistake when first starting
 out with
 opensim and had to migrate all my assets over to my database
 server.
 Several others have made the same mistake and I've had to
 help them to
 migrate their assets too - is the local storage model really
 that
   widely
 used? Should it actually be the default? For standalone I'm
   guessing it
 is ignored(?), but in grid mode I've found it just causes
 pain and
 confusion.

 Chris is right - I find the asset_database switch annoying
 because
   it catches me out on occasion.

 The problem with using local assets on a grid is one of grid
 asset
   blakanization - people coming to your region can't
 see your assets (because their requests go to the grid asset
   service rather than your local asset store) and when you go
 to other people's regions you can't rez objects you created
 on your
   local region.

 But it strikes me that now, if you wanted to retain your regions
   assets locally, you could set up your region as a
 hypergrid enabled region, as Hypergrid regions use the local
 asset
   store (there is conceptually no global).

 In view of this, I'd like to completely remove the
 asset_database
   option. This would mean that in standalone and
 hypergrid modes, the db used would always be local and in
 grid mode
   the grid asset service would always be used.

 Are there any objections to this?


 Chris / Strawberry Fride

 -Original Message-
 From: opensim-dev-boun...@lists.berlios.de
 [mailto:opensim-dev-boun...@lists.berlios.de] On Behalf Of
 Ai Austin
 Sent: 01 February 2009 17:12
 To: opensim-dev@lists.berlios.de
 Subject: [Opensim-dev] asset_database = local

Re: [Opensim-dev] asset_database = local or grid?

2009-02-01 Thread Chris Hart
Setting asset_database to local will store your assets in a .db sqlite
database on your file system, and not in MySQL at all. If you run in
grid mode, you should always set this to grid to avoid confusion
unless you are connecting to someone else's grid and want your assets to
be stored locally and not on their asset server. 

I have to say I made that same mistake when first starting out with
opensim and had to migrate all my assets over to my database server.
Several others have made the same mistake and I've had to help them to
migrate their assets too - is the local storage model really that widely
used? Should it actually be the default? For standalone I'm guessing it
is  ignored(?), but in grid mode I've found it just causes pain and
confusion.

Chris / Strawberry Fride

-Original Message-
From: opensim-dev-boun...@lists.berlios.de
[mailto:opensim-dev-boun...@lists.berlios.de] On Behalf Of Ai Austin
Sent: 01 February 2009 17:12
To: opensim-dev@lists.berlios.de
Subject: [Opensim-dev] asset_database = local or grid?

I have MySQL running on the same system that the UGAIM servers are 
running on at the moment, though we want to separate some of them out...

I am wondering if I set  asset_database = grid rather than 
asset_database = local  is there any performance penalty... or will 
it run identically if the assets are in fact local anyway?

___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.233 / Virus Database: 270.10.16/1926 - Release Date:
01/30/09 17:31:00
___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


Re: [Opensim-dev] asset_database = local or grid?

2009-02-01 Thread Justin Clark-Casey
Chris Hart wrote:
 Setting asset_database to local will store your assets in a .db sqlite
 database on your file system, and not in MySQL at all. If you run in
 grid mode, you should always set this to grid to avoid confusion
 unless you are connecting to someone else's grid and want your assets to
 be stored locally and not on their asset server. 
 
 I have to say I made that same mistake when first starting out with
 opensim and had to migrate all my assets over to my database server.
 Several others have made the same mistake and I've had to help them to
 migrate their assets too - is the local storage model really that widely
 used? Should it actually be the default? For standalone I'm guessing it
 is  ignored(?), but in grid mode I've found it just causes pain and
 confusion.

Chris is right - I find the asset_database switch annoying because it catches 
me out on occasion.

The problem with using local assets on a grid is one of grid asset 
blakanization - people coming to your region can't 
see your assets (because their requests go to the grid asset service rather 
than your local asset store) and when you go 
to other people's regions you can't rez objects you created on your local 
region.

But it strikes me that now, if you wanted to retain your regions assets 
locally, you could set up your region as a 
hypergrid enabled region, as Hypergrid regions use the local asset store (there 
is conceptually no global).

In view of this, I'd like to completely remove the asset_database option.  This 
would mean that in standalone and 
hypergrid modes, the db used would always be local and in grid mode the grid 
asset service would always be used.

Are there any objections to this?

 
 Chris / Strawberry Fride
 
 -Original Message-
 From: opensim-dev-boun...@lists.berlios.de
 [mailto:opensim-dev-boun...@lists.berlios.de] On Behalf Of Ai Austin
 Sent: 01 February 2009 17:12
 To: opensim-dev@lists.berlios.de
 Subject: [Opensim-dev] asset_database = local or grid?
 
 I have MySQL running on the same system that the UGAIM servers are 
 running on at the moment, though we want to separate some of them out...
 
 I am wondering if I set  asset_database = grid rather than 
 asset_database = local  is there any performance penalty... or will 
 it run identically if the assets are in fact local anyway?
 
 ___
 Opensim-dev mailing list
 Opensim-dev@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/opensim-dev
 
 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.0.233 / Virus Database: 270.10.16/1926 - Release Date:
 01/30/09 17:31:00
 ___
 Opensim-dev mailing list
 Opensim-dev@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/opensim-dev
 


-- 
justincc
Justin Clark-Casey
http://justincc.wordpress.com
___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


Re: [Opensim-dev] asset_database = local or grid?

2009-02-01 Thread Ai Austin
At 18:29 01/02/2009, Chris Hart ch...@codetorque.co.uk
wrote:
Setting asset_database to local will store your assets in a .db sqlite
database on your file system, and not in MySQL at all. If you run in
grid mode, you should always set this to grid to avoid confusion
unless you are connecting to someone else's grid and want your assets to
be stored locally and not on their asset server.


Thanks Chris.   Wierd -  we have been running for sometime definitely 
with MSQL no SQLite data bases are around or created... and all the 
settings are for grid and the opensim MySQL db we are using 
fine.  but asset-storage said local in our opensim.ini.  maybe it 
was ignored ?

Anyway, I flipped it to asset-storage=grid in my test setup and it 
works fine.  I was just concerned there might be a performance penalty.

It would be great if this was made less confusing as Justin suggested.  

___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


Re: [Opensim-dev] asset_database = local or grid?

2009-02-01 Thread Melanie
Hi,

funny you would suggest that. That is one of the code paths I 
suggested removing a long time ago, and was booed and rejected.

Melanie


Justin Clark-Casey wrote:
 Chris Hart wrote:
 Setting asset_database to local will store your assets in a .db sqlite
 database on your file system, and not in MySQL at all. If you run in
 grid mode, you should always set this to grid to avoid confusion
 unless you are connecting to someone else's grid and want your assets to
 be stored locally and not on their asset server. 
 
 I have to say I made that same mistake when first starting out with
 opensim and had to migrate all my assets over to my database server.
 Several others have made the same mistake and I've had to help them to
 migrate their assets too - is the local storage model really that widely
 used? Should it actually be the default? For standalone I'm guessing it
 is  ignored(?), but in grid mode I've found it just causes pain and
 confusion.
 
 Chris is right - I find the asset_database switch annoying because it catches 
 me out on occasion.
 
 The problem with using local assets on a grid is one of grid asset 
 blakanization - people coming to your region can't 
 see your assets (because their requests go to the grid asset service rather 
 than your local asset store) and when you go 
 to other people's regions you can't rez objects you created on your local 
 region.
 
 But it strikes me that now, if you wanted to retain your regions assets 
 locally, you could set up your region as a 
 hypergrid enabled region, as Hypergrid regions use the local asset store 
 (there is conceptually no global).
 
 In view of this, I'd like to completely remove the asset_database option.  
 This would mean that in standalone and 
 hypergrid modes, the db used would always be local and in grid mode the grid 
 asset service would always be used.
 
 Are there any objections to this?
 
 
 Chris / Strawberry Fride
 
 -Original Message-
 From: opensim-dev-boun...@lists.berlios.de
 [mailto:opensim-dev-boun...@lists.berlios.de] On Behalf Of Ai Austin
 Sent: 01 February 2009 17:12
 To: opensim-dev@lists.berlios.de
 Subject: [Opensim-dev] asset_database = local or grid?
 
 I have MySQL running on the same system that the UGAIM servers are 
 running on at the moment, though we want to separate some of them out...
 
 I am wondering if I set  asset_database = grid rather than 
 asset_database = local  is there any performance penalty... or will 
 it run identically if the assets are in fact local anyway?
 
 ___
 Opensim-dev mailing list
 Opensim-dev@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/opensim-dev
 
 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.0.233 / Virus Database: 270.10.16/1926 - Release Date:
 01/30/09 17:31:00
 ___
 Opensim-dev mailing list
 Opensim-dev@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/opensim-dev
 
 
 
___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


Re: [Opensim-dev] asset_database = local or grid?

2009-02-01 Thread Cristina Videira Lopes
Justin Clark-Casey wrote:
 But it strikes me that now, if you wanted to retain your regions assets 
 locally, you could set up your region as a 
 hypergrid enabled region, as Hypergrid regions use the local asset store 
 (there is conceptually no global).

 In view of this, I'd like to completely remove the asset_database option.  
 This would mean that in standalone and 
 hypergrid modes, the db used would always be local and in grid mode the grid 
 asset service would always be used.

 Are there any objections to this?
   
I don't understand enough of the asset_database issue, but what you say 
here is not entirely correct. Hypergrid regions can be in grid mode too. 
I have several HG regions connected to OSGrid, and all of the regions in 
the UCI Grid are HG-ed. They're all configured with asset_database = grid.

___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


Re: [Opensim-dev] asset_database = local or grid?

2009-02-01 Thread Stefan Andersson

I believe the general concensus was to support all three (four?) asset server 
configs (internal, local, grid, hg(?))  but refactor the code paths.
 
While I do understand the confusion, I have already shown how we could 
re-arrange the services so that we get a uniform set of interfaces - ideally, 
the config option should turn from specifying a mode to specifying a module and 
its config.
 
Best regards,Stefan AnderssonTribal Media AB Date: Sun, 1 Feb 2009 22:29:18 
+ From: mela...@t-data.com To: opensim-dev@lists.berlios.de Subject: Re: 
[Opensim-dev] asset_database = local or grid?  Hi,  funny you would 
suggest that. That is one of the code paths I  suggested removing a long time 
ago, and was booed and rejected.  Melanie   Justin Clark-Casey wrote:  
Chris Hart wrote:  Setting asset_database to local will store your assets 
in a .db sqlite  database on your file system, and not in MySQL at all. If 
you run in  grid mode, you should always set this to grid to avoid 
confusion  unless you are connecting to someone else's grid and want your 
assets to  be stored locally and not on their asset server. I have 
to say I made that same mistake when first starting out with  opensim and 
had to migrate all my assets over to my database server.  Several others 
have made the same mistake and I've had to help them to  migrate their 
assets too - is the local storage model really that widely  used? Should it 
actually be the default? For standalone I'm guessing it  is ignored(?), but 
in grid mode I've found it just causes pain and  confusion.Chris is 
right - I find the asset_database switch annoying because it catches me out on 
occasion.The problem with using local assets on a grid is one of grid 
asset blakanization - people coming to your region can't   see your assets 
(because their requests go to the grid asset service rather than your local 
asset store) and when you go   to other people's regions you can't rez 
objects you created on your local region.But it strikes me that now, if 
you wanted to retain your regions assets locally, you could set up your region 
as a   hypergrid enabled region, as Hypergrid regions use the local asset 
store (there is conceptually no global).In view of this, I'd like to 
completely remove the asset_database option. This would mean that in standalone 
and   hypergrid modes, the db used would always be local and in grid mode the 
grid asset service would always be used.Are there any objections to 
this?  Chris / Strawberry Fride-Original 
Message-  From: opensim-dev-boun...@lists.berlios.de  
[mailto:opensim-dev-boun...@lists.berlios.de] On Behalf Of Ai Austin  Sent: 
01 February 2009 17:12  To: opensim-dev@lists.berlios.de  Subject: 
[Opensim-dev] asset_database = local or grid?I have MySQL running 
on the same system that the UGAIM servers are   running on at the moment, 
though we want to separate some of them out...I am wondering if I set 
asset_database = grid rather than   asset_database = local is there any 
performance penalty... or will   it run identically if the assets are in 
fact local anyway?___  
Opensim-dev mailing list  Opensim-dev@lists.berlios.de  
https://lists.berlios.de/mailman/listinfo/opensim-devNo virus found 
in this incoming message.  Checked by AVG - www.avg.com   Version: 
8.0.233 / Virus Database: 270.10.16/1926 - Release Date:  01/30/09 17:31:00 
 ___  Opensim-dev mailing 
list  Opensim-dev@lists.berlios.de  
https://lists.berlios.de/mailman/listinfo/opensim-dev   
___ Opensim-dev mailing list 
Opensim-dev@lists.berlios.de 
https://lists.berlios.de/mailman/listinfo/opensim-dev___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev