Back to problems

Request Routing System

Algorithm · Stripe · Medium

Global Request Router Problem Overview Create the control-plane logic for a request router deployed across multiple regions. Every incoming client request includes latitude and longitude, and it must be assigned to the nearest healthy datacenter that has remaining capacity. Build a command-based program that consumes commands from standard input and writes exactly one output line for each command. The work is organized into three cumulative stages: Part 1 — Registry: support…

Checking your access…