Currently, the Kartographer extension converts ExternalData in mapframe tags to a maps.wikimedia.org URL with the appropriate geoshape request to fetch the shape. Each dynamic map or snapshot tile request will query the geoshape service to expand the shape. It's possible that it would be more efficient to immediately query the geoshape and stuff into the extension ParserCache data.
- Investigate parser cache storage requirements for a typical shape.
- Initial results from T322351 found an average of 3kB per shape for a small sample.
- Take a larger sample, eg. for all of Germany or Europe data.
- Show the difference between "native", binary geometry data and seralized GeoJSON.
- How many articles have a geoshape on all wikis? (maybe using search_insource)
- Estimate the impact this might have on the infrastructure, internal and external traffic, storage, and processing.
- Parse time: how long do these geoshape requests take?
- Internal traffic is increased by average geoshape payload, multiplied by roughly number of pages with geoshapes.
- External traffic changes somehow because clients get the geoshape through ResourceLoader in wgKartographerLiveData.
- How many fewer calls will the geoshape endpoint receive?