Page MenuHomePhabricator

Too Many Requests on loading complex dynamic maps
Open, LowPublic


Recently, when I open pages with multi-region maps, the dinamic map fails to load, only the static fallback image is shown. The Kartographer extension tries to load GeoJSON for each regions, but some of them are rejected by the server '' with response '429 Too Many Requests'.

It can be easily reproduced on the following pages:

Possible solutions are:

  1. Configure the map server to allow more mapshape requests per client at once.
  2. Modify the client JavaScript code to not load mapshapes in parallel, just after each other.
  3. Implement some caching mechanism to reduce the number of requests, and reduce load.

Related discussion:'_pub#Too_Many_Requests_on_loading_complex_dynamic_maps

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 31 2019, 11:14 AM
LGoto triaged this task as Low priority.Jan 8 2020, 4:46 PM