On Fri, Apr 29, 2011 at 1:38 AM, Jody Garnett <[email protected]> wrote:
> What a great idea; wonder if we could make a "FeatureCollection" or
> FeatureIterator wrapper that maintained an internal buffer of features that
> it could fill with one thread; while providing access from another?
> Internally WFS has some similar code; but doing it as a wrapper would be
> great :-)

I wrote prefetching wrappers around feature source and feature collection
a couple of years ago to try and speedup GeoServer. Unfortunately that failed,
most likely because I was not really hitting the major bottleneck.

I still have the implementations lying around, no idea if they even still
compile, but back at the time they were functional.
If someone wants to take care of them they are attached to this mail

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

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

-------------------------------------------------------

Attachment: PrefetchingFeatureCollection.java
Description: Binary data

Attachment: PrefetchingFeatureLocking.java
Description: Binary data

Attachment: PrefetchingFeatureSource.java
Description: Binary data

Attachment: PrefetchingFeatureStore.java
Description: Binary data

Attachment: PrefetchingIterator.java
Description: Binary data

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to