On Mon, 2011-06-13 at 17:40 +0200, Andrés Maneiro wrote:
> Hello devs,
> 
> I'm getting ready a bunch of data in postgis to be published by 
> geoserver. In order to make geoserver responses to webbrowser petitions 
> quicker, I'm  polishing the data with the "common suspects" operations:
> 
> - set the projection of data in postigs with the one geoserver asks for 
> commonly
> - simplifying geometries by scale
> - ...
> 
> I'd like to have a method to measure quantitatively the effect of that 
> changes in geoserver processing time[1], to decide if going further or 
> is ok as it is. Some idea?
Use JMeter http://jakarta.apache.org/jmeter/
Run it from another machine in the same LAN if you can.
easiest is to first create a proxy in jmeter that records the requests
from the browser, configure the browser to use that proxy, access the
layer preview through that browser and do what you expect a user to do,
letting jmetter record the session. You can create a thread group in
jmeter and tell its proxy to record all the requests that match a given
mime type to go to that thread group. Beware with tiled requests the
number of generated requests is gonna be large. Be sure to configure it
to use http keep alive or you'll also be measuring HTTTP connect
latency.
Add an aggregate report listener as a sibling of the thread group, save
the jmeter project file, and run it after each improvement with the
number of threads you consider necessary.
How to do all of that properly is on the jmeter documentation.

hope that helps,
Gabriel

> 
> best,
> amaneiro
> 
> [1] geoserver processing time: I mean the time from a petition is done 
> until geoserver starts to deliver the results to webbrowser.
> 
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
[email protected]
Expert service straight from the developers


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to