This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Why does osm make multiple db calls to get the same resource?

0
1

I have a private osm server and i have a problem with it's performance. I noticed that the server make multiple requests to the db when potlatch is waiting (loading data). I believe these requests are from different threads because the timing is very similar.

[Massive log dump deleted for readability]

asked 14 Nov '11, 12:06

alexz's gravatar image

alexz
225212226
accept rate: 0%

edited 14 Nov '11, 17:25

Jonathan%20Bennett's gravatar image

Jonathan Ben...
8.3k1785108


2 Answers:

1

Your question is actually about how Ruby on Rails works, rather than anything to do with OSM specifically. If you'd like to know how Rails works there's plenty of information available.

answered 14 Nov '11, 17:20

Jonathan%20Bennett's gravatar image

Jonathan Ben...
8.3k1785108
accept rate: 18%

0

This question is probably better suited for potlach or apis mailing list.

answered 14 Nov '11, 16:20

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249
accept rate: 19%