I think you are right here. Instead of collection prefetching, we should use multiple Threads for fetching data for multiple layers. Each layer fetches its data in an own thread.
We had a short discussion about this, seems to be a matter of your resources. Andrea Aime writes: > Hi, > as you know I've been working on these idea of having > a feature iterator that does pre-fetch data over a separate > thread allowing some overlap between data reading and > data processing (be it gml encoding, rendering). > > I've done various tests with them and whilst in some > cases there was a speedup, in most the speedup > was negligible or required a prefetch queue of a very > big size (10k elements). > > The extra complexity introduced by the prefetching > is probably not worth the pain. Yet, I figure someone > might be interested in those? > > I've attached the last working version of these > collections to this mail. Anyone interested in picking > them up? > > Worst case the ml archive will back them up in case > someone wants to give them a shot. > > Ah, I release them under the same license as GeoTools. > > Cheers > Andrea > > > -- > Andrea Aime > OpenGeo - http://opengeo.org > Expert service straight from the developers. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel