Book Image

GeoServer Cookbook

By : Stefano Iacovella
Book Image

GeoServer Cookbook

By: Stefano Iacovella

Overview of this book

Table of Contents (17 chapters)
GeoServer Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Setting a per-request limit


Setting the per user limit is nice, but you may want to have a more fine-grained control on how requests are processed by GeoServer. For instance, you may want to have some service, for example, WMS, be given priority over WFS or WCS.

The control flow module lets you set specific limits for each service and you can also configure limits at the request-type level, as we will do in this recipe.

Getting ready

In this recipe, we need to test the control flow module against a higher number of concurrent requests. Unless you're running this recipe on a GeoServer production site, where several real users run ten or more requests each second, you may find it difficult to send many requests by your browser just interactively.

Hence, I want to introduce you to an open-source tool that can help you in creating a stress test. Although there are many similar tools available, JMeter is the most famous and probably the simplest one to use.

JMeter is an open source project from the...