Hi folks,

I'm working on a project where I would like to be able to produce some
metrics around reading data from a database via GeoTools/GeoServer. Some
things like:

   - how long it takes from the initial query to reading the last row
   - the time it takes to run the initial query against the database before
   it starts returning data
   - etc...

To facilitate this what I am proposing is to introduce an interface called
JDBCMetrics (or something along those lines). This interface would simply
be a callback that the JDBC classes (most notably JDBCFeatureReader) would
invoke at various times during its life cycle. Implementations of the
interface would be responsible for gathering timing, counts, etc... as it
needs.

I have a few ideas regarding implementations of the interface but before I
go down that road I just wanted to poll the dev group to see if such a
thing would be welcomed, or if folks would have any concerns about this
approach.

Thanks!

-Justin
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to