On Tue, Feb 7, 2012 at 10:28 PM, John Armstrong <[email protected]> wrote: > Hi, everybody. > > I'm trying to use GeoServer in an instance where we have thousands of > layers to register, with tens to hundreds of new layers each day. It > seemed a perfect situation for dbconfig, but I'm having a lot of > difficulty getting that module to work. > > This can't be all that unusual a use case, though; does anyone here have > any suggestions for strategies to make GeoServer scale better so that > keeping the catalog around in memory doesn't become too onerous, and > loading from disk if the webapp has to be reset doesn't take forever?
The most common cause of "tons of layers", that is, dealing with time/elevation based data, has been taken care of on trunk with the true time and elevation support, which means those thousands of layers magically turned back to being one. The residual case is actually having thousands of unrelated layers. I am afraid this case has yet to find a proper solution. What matters is not wheter there are few or many users in this case, but wheter there is at least one either putting his own developer resources or sponsoring a core developer to get the issue fixed. So far neither of the above events occurred. Having to deal with tens of thousands of layes in memory is not actually problematic, the source of slowness is the checks we do layer by layer in certain occasions such as resets and capablities generation that make GeoServer phisically access the resource. Changing this is not trivial, but it's orthogonal to having the configuration in a database and it's likely to be easier to solve that get a working db config layer (which, as I said, is not likely to solve the slowness). Similarly to dbconfig the above requires resourcing that so far hasn't showed up. Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
