A public GraphQL API

A architecture exercise of about 35 minutes: read the statement, solve «A public GraphQL API» in the browser and get a review like in a real interview.

Architecture · 35 min
Loading…

Statement

Your company opens its catalog and orders to partners through a public GraphQL API: third-party apps, price comparison sites and affiliate sites. Before launch, a load test takes the database down with a handful of queries, and the CDN doesn't help at all. Design how to serve this API fast, cheaply and without any client being able to take it down.