Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance of overpass.osmcha.org and / or enable switching overpass providers #725

Open
tordans opened this issue Mar 25, 2024 · 1 comment

Comments

@tordans
Copy link
Contributor

tordans commented Mar 25, 2024

I see in my network tab that it takes 11 seconds for the overpass request to finish before I can see the changes.
It looks like the overpass server at overpass.osmcha.org is overloaded.

A kind of workaround would be to allow to change the servers in the frontend.

But of course a better way would be to have a server that can handle the load.
I read in https://www.openstreetmap.org/user/wille/diary/403465#comment56731 that this is a know problem.

We need to do more work on it, as the performance of the API is not good yet. We had to reduce the configuration of the database, so the costs can fit the OpenStreetMap US budget.

Are there any updates on it? (Assuming this quote talks about the overpass server.)

@tordans tordans changed the title Improve Performance of overpass.osmcha.org and / or enable switching overpass providers Improve performance of overpass.osmcha.org and / or enable switching overpass providers Mar 25, 2024
@mmd-osm
Copy link

mmd-osm commented Apr 14, 2024

Assuming this quote talks about the overpass server

I don’t think this particular quote has anything to do with overpass, since none of the following applies:

We have also made some optimizations on the database, for example evaluating the indexes and changing some SQL queries to be more efficient.

On the topic of Overpass performance, this is likely a side effect of #719 (lack of caching causes all requests to hit Overpass in the end)

Then the Overpass instance used by Osmcha is about two years old. No compression for response message in place.
I tried a few queries on overpass-api.de, and they were much faster there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants