Grokking Modern API Design Interview
0% completed
Bulk and Batch Operations
Lesson 11 introduced POST /notification-delivery-batches, whose body carries an items array of independent deliveries.
Batching reduces the number of requests, but it also requires additional rules.
If item two fails, should item one stay created? How many items may one request carry? What happens after a timeout? Does one request consume one rate-limit unit, or a hundred? Which failures appear in the HTTP status, and which appear inside results?
A batch contract defines both the overall request and the result of each item. This lesson covers those two levels.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%