Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Geoserver

You're reading from  Mastering Geoserver

Product type Book
Published in Nov 2014
Publisher
ISBN-13 9781783287697
Pages 420 pages
Edition 1st Edition
Languages
Author (1):
Colin Henderson Colin Henderson
Profile icon Colin Henderson

Table of Contents (19) Chapters

Mastering GeoServer
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Installing GeoServer for Production 2. Working with Raster Data 3. Working with Vector Data in Spatial Databases 4. Using GeoServer to Serve Complex Features 5. Using GeoServer as a Proxy 6. Controlling the Output of GeoServer 7. Using GeoServer to Print Maps 8. Integrating GeoServer in a Spatial Data Infrastructure 9. GeoServer as a Spatial Analysis Platform 10. Enterprise Security and GeoServer 11. Monitoring the Performance and Health of GeoServer 12. Optimizing GeoServer for Production Index

Database connection pooling


Before we get into the details of setting up specific database platforms, it is worth having a conversation about database connection pooling, what it is, and why we should care about it.

Understanding database connection pools

If database connection pooling was not utilized, every time GeoServer receives a request for the data stored in a spatial database, the following sequence of events occurs:

  • A connection to the database is made

  • SQL commands are executed to select data

  • The results from the query are read and processed

  • The database connection is closed

A lot of things happen to fetch some data to be rendered (WMS) or processed and streamed (WFS). Consider this happening for a lot of requests, and you can imagine things getting very busy with connections being opened and closed all the time. A lot of the connections from GeoServer to spatial databases are short-lived; in most cases, they might only need to gather a few hundred features. This means that the opening...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}