Shankar, Sangeetha (2024) GeoServer Monitor PostgreSQL Extension - Persist the monitoring metrics of your GeoServer in a PostgreSQL database. FOSS4G Europe 2024, 01-07 July 2024, Tartu, Estonia. doi: 10.5281/zenodo.12906275.
PDF
551kB |
Offizielle URL: https://2024.europe.foss4g.org/
Kurzfassung
Optimal performance of GeoServers in production environments is essential to provide high quality of service to the users. A GeoServer deployed in production environment may host several layers that serve data from multiple data sources (datastores). GeoServer offers a monitor extension (https://docs.geoserver.org/latest/en/user/extensions/monitoring/index.html) that tracks the requests received by the GeoServer and collects information such as resources requested, response time, response status and so on. The monitor extension supports two methods of storing these metrics. The first option is memory storage, where the metrics on the last 100 requests are stored in memory. However, this storage is volatile and information is lost when the GeoServer is restarted. Additionally, this option is insufficient for GeoServers receiving hundreds of requests every day. The second option is audit logging, which stores the metrics in a file on the server. However, a secondary application will have to process them to analyze or visualize the data. Apart from these, the Hibernate Monitor community module (https://docs.geoserver.org/latest/en/user/community/monitor-hibernate/index.html) was available to store the metrics in a database. However, this community module is not available for the newer versions of the GeoServer and also seems to be unmaintained for a long time. The GeoServer Monitor PostgreSQL module presented in this talk aims to overcome the aforementioned limitations by offering a solution to persist the metrics in a PostgreSQL database. This module is an extension to the official Monitoring extension of the GeoServer. It fetches the metrics generated by the Monitoring extension after a request is post-processed and persists them in a PostgreSQL database. The persistent storage of metrics enables the administrators as well as the users of the GeoServer to analyze the performance of their GeoServer layers. The GeoServer Monitor PostgreSQL module offers a simple, low-level approach to write records to the database through the use of native Java libraries and PostgreSQL JDBC Driver. Lesser dependency on external modules makes this extension easy to maintain and update. The module was developed in 2022 and has been installed in a GeoServer instance managed by the Institute of Transportation System, German Aerospace Center (DLR). This GeoServer instance receives more than 7000 requests every day. The request metrics are being persisted since October 2022 and bug fixes and improvements have been carried out during this test run. The open-source publication of the module is currently in progress and is expected to be completed by March 2024. This work is being carried out as a part of the DLR-funded cross-domain project called "Digitaler Atlas 2.0" (https://verkehrsforschung.dlr.de/de/projekte/digitaler-atlas-20-domaenenuebergreifende-softwareanwendungen-und-geodateninfrastrukturen).
elib-URL des Eintrags: | https://elib.dlr.de/202575/ | ||||||||
---|---|---|---|---|---|---|---|---|---|
Dokumentart: | Konferenzbeitrag (Vortrag) | ||||||||
Titel: | GeoServer Monitor PostgreSQL Extension - Persist the monitoring metrics of your GeoServer in a PostgreSQL database | ||||||||
Autoren: |
| ||||||||
Datum: | 5 Juli 2024 | ||||||||
Referierte Publikation: | Ja | ||||||||
Open Access: | Ja | ||||||||
Gold Open Access: | Nein | ||||||||
In SCOPUS: | Nein | ||||||||
In ISI Web of Science: | Nein | ||||||||
DOI: | 10.5281/zenodo.12906275 | ||||||||
Status: | veröffentlicht | ||||||||
Stichwörter: | geoserver, monitoring, postgresql, geodata services | ||||||||
Veranstaltungstitel: | FOSS4G Europe 2024 | ||||||||
Veranstaltungsort: | Tartu, Estonia | ||||||||
Veranstaltungsart: | internationale Konferenz | ||||||||
HGF - Forschungsbereich: | keine Zuordnung | ||||||||
HGF - Programm: | keine Zuordnung | ||||||||
HGF - Programmthema: | keine Zuordnung | ||||||||
DLR - Schwerpunkt: | Digitalisierung | ||||||||
DLR - Forschungsgebiet: | D DAT - Daten | ||||||||
DLR - Teilgebiet (Projekt, Vorhaben): | D - Digitaler Atlas 2.0 | ||||||||
Standort: | Braunschweig | ||||||||
Institute & Einrichtungen: | Institut für Verkehrssystemtechnik > Informationsgewinnung und Modellierung, BS | ||||||||
Hinterlegt von: | Shankar, Sangeetha | ||||||||
Hinterlegt am: | 05 Aug 2024 15:21 | ||||||||
Letzte Änderung: | 05 Aug 2024 15:21 |
Nur für Mitarbeiter des Archivs: Kontrollseite des Eintrags