[openstreetmap/openstreetmap-website] Why are some diff uploads slow? (#1710)

Matt Amos notifications at github.com
Fri Dec 22 11:16:37 UTC 2017

Thanks @tomhughes!

[Changeset 54833679](http://www.openstreetmap.org/changeset/54833679) has 1465 ways and 3103 nodes, which is large but doesn't seem excessive.

Do you know how the 237s in activerecord breaks down? Can we assume that's all database and network time, or is activerecord doing any significant processing?

It looks, from the timestamps of the nodes and ways in that changeset, that they span the whole 8 minutes. Which would seem to imply the other 266s is spent in per-element processing on the node. I'm not aware of any external requests that are happening (i.e: non activerecord ones), so the implication appears to be it's in the parsing code?

The next step will be for me, or anyone else who wants to help, to reproduce this locally as part of a test or other automated process so that we can analyse it more thoroughly.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20171222/dba87d86/attachment.html>

More information about the rails-dev mailing list