Grokking Concurrency in Go
Vote

0% completed

​

Case Study: A Rate Limited API Client

Suppose the documentation of a paid API makes a few promises to every client. It accepts 10 requests per second, with a short burst of up to 3 requests at once. It handles at most 2 open requests from one client, and a request beyond either limit is rejected.

The same documentation leaves several things unpromised. A request may fail with 503 Service Unavailable and succeed when sent again a moment later. A request may take far longer than usual, with no stated upper limit. A request that the client gave up on may still have been processed on the server.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content