oam-browser
oam-browser copied to clipboard
Catalog initializes by reading all data
While watching the Network Inspector, I noticed that multiple requests are made to the Catalog's /meta
API, including one with ?limit=9999
(which is currently ~5.8MB when uncompressed).
Last week after migrating the database from mLab to MongoDB Atlas, we ran into 504 timeout issues on this query so the footprints wouldn't load at all. After upgrading to a larger tiered cluster, this went away. We should consider modifying what gets returned in the API call to only what data is needed to generate the footprints. Now it is ~26MB download.