Skip to main content
1 of 3
b9s
  • 121
  • 5

Geoserver WFS-T performance degraded after upgrading to 2.20

After upgrading from Geoserver 2.16.1 to 2.20.4 we noticed that large WFS-T requests are getting stuck.

We have a JS openlayers client that sends inserts/updates/deletes via WFS-T in chunks of 50 features (so we don't exceed max request size), which get applied to a single table on a postgis database. Both geoserver and postgis are running in docker containers (kartoza/geoserver:2.20.4 and postgis/postgis:12-3.0-alpine).
Since updating, transactions with 50 features get stuck. Changing the chunksize to 20 'solves' the issue, but is much slower.

On version 2.16.1, the first chunk takes around 2s, and each following chunk ~0.5s.
On version 2.20.4, the first chunk takes 3.5s, and each following chunk ~2s.

Combined with changing chunk size to 20, saving changes now takes 5-10 times longer.

Were any settings added in recent geoserver releases that might cause this? Or are there other settings we can play with to improve performance?

b9s
  • 121
  • 5