GeoServerDataDirectory is implemented using ResourceStore.

Jody Garnett


On Thu, Jul 10, 2014 at 3:58 AM, Mauro Bartolomeoli <
[email protected]> wrote:

> Hi Jody,
> I'm moving the discussion about GEOS-6245 pull req to dev list.
>
>
> 2014-07-09 20:48 GMT+02:00 Jody Garnett <[email protected]>:
>
>> Resource store has a delete, no need to unpack into a file.
>>
>> Resource and ResourceStore is primarily intended for managing
>> configuration files, rather than "cache" files of this nature. How do you
>> expect these samples to be handled in a clustered environment? Do you want
>> them stored in a database and unpacked onto each machine? Or do you want
>> each machine to generate its own samples as needed?
>>
>
> Thinking about your comments, probably it is better to avoid using
> Resource / ResourceStore for samples reading / writing.
>
> I was thinking to use GeoServerDataDirectory functionality instead, to
> store samples directly on a dedicated data_dir folder (legendsamples?) also
> if configuration is using, for example, jdbcconfig.
>
> I would not add cluster support for now (each node will have its own copy
> of the samples cache).
> Resource / ResourceStore will still be used to access sld resources (just
> to check samples freshness, without calling the file() method on the
> Resource).
>
> What do you think?
>
> Mauro
>
>
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
> Dott. Mauro Bartolomeoli
> @mauro_bart
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to