The Reindexer Ate the Catalog
Easy · system design problem
An internal reindex job calls catalog-api 40× harder than usual. Shoppers share the same API and database — and the job’s client retries every 429.
Shoppers browse through the load balancer; the search reindexer calls catalog-api directly from inside the cluster. At T+20s someone starts a full reindex with no throttle: it sends 40× its normal rate for the rest of the day, and its client library retries failures twice. catalog-api’s database cannot grow today. The reindex can take as long as it needs — only shoppers count toward the SLO. Inside the cluster, the shared rate-limit service is the only limiter you can put in that path.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.