osmcha-frontend icon indicating copy to clipboard operation
osmcha-frontend copied to clipboard

Too low or unstable for of loading of filtered Changesets

Open gram2222 opened this issue 1 month ago • 2 comments

Describe the bug

When I go to filtered changeset list page, it loading too slow, or evenutely failed to load the changeset set even after minutes, even my AOI have not have complicated polygons, the loading is unpredictable slow, and high change of fail to load such filtered changeset lists.

Such the page or click to your own filtered changeset list to test https://osmcha.org/filters?aoi=dae286e1-c4e4-47a7-b430-d12bffaf4c97

Changeset URL

https://osmcha.org/filters?aoi=dae286e1-c4e4-47a7-b430-d12bffaf4c97

Environment

Chrome 114 on Android

Additional information

No response

gram2222 avatar Nov 05 '25 11:11 gram2222

++ to this issue. In my Firefox on Win10 the same last time.

literannn avatar Nov 08 '25 11:11 literannn

One factor that makes loading lists of changesets very slow is the use of offset-based pagination; see #704

Switching to cursor-based pagination would substantially speed up the required database queries for these endpoints and is probably the best thing we can do right now to improve performance.

jake-low avatar Nov 10 '25 21:11 jake-low