Page MenuHomePhabricator

Map tiles load way slower than before
Closed, InvalidPublic

Description

Try scrolling through https://maps.wikimedia.org/ on a mid zoom level like 12, tiles load noticeably slowly. Times over 0.5s are typical, worst I've seen is 35 seconds. This is very different from before, so I suspect that caches migration to upload cluster (T164608) is the cause.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Are you comparing cache hits to cache misses? From where? What was the timing like before?

Another thought - could we be maxing out parallel connections to the kartotherian machines? We've always had a max_connections of 1000 (per varnish backend, to kartotherian), but the number of varnish backends has multiplied with this change, which could have multiplied the overall limit on connections opened from varnish to kartotherian, and then hit some limit causing further connections to stall?

I can't seem to reproduce the problem from my browser. Looking at the varnish response time stats, I don't see much variation over the last 30 days. The 95%-ile seem to be between 150ms and 400ms, the 99%-ile between 1.5s and 3.5s, with a few peaks up to 4s. Visually, not much has changed.

@MaxSem how did you do those measurements?

debt triaged this task as Medium priority.Jun 6 2017, 7:42 PM
debt moved this task from Backlog to Stalled/Waiting on the Maps-Sprint board.
debt subscribed.

We haven't been able to reproduce this, closing.