Quiz · URL shortener · lesson 3 of 10Quiz — requirements and estimatesQuestion 1 of 212A URL shortener gets 40 new links and 4,000 redirects a second: why do redirects get their own path?[A]Both paths stay in one service, since one database easily takes 40,000 requests a second at peak. The split that matters is replicas: writes go to the leader, reads to the followers, and a cache adds nothing at this ratio.[B]The split exists for security only: redirects are public and creating a link needs sign-in. They run as two services with one shared database and one shared pool of instances, scaled together as one system at about 4,400 requests a second.[C]Reads outnumber writes about 100 to 1: 4,000 redirects a second on average and 40,000 at peak against 40 new links. A stateless redirect service with a cache of hot codes scales on its own, and slow link creation never delays a click.[D]Writes outnumber reads, since every click also stores a new row. So the link-creation service gets the cache and most of the instances, and redirects read straight from the database with no cache of their own.← BackLoad estimatesNext →API and data model