All Questions
Api Design easy

A client needs to create 500 users. Making 500 individual POST /users requests is slow. What's a better approach?

  1. A Implement a Bulk API endpoint (e.g., POST /users/bulk) that accepts an array of user objects.
  2. B Use GraphQL mutations to batch requests into a single query.
  3. C Increase the client's rate limit to 500 requests per second temporarily.
  4. D Require the client to upload a compressed CSV file to an S3 bucket instead.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions