Why Every API Needs a Clockby@chintant
535 reads

Why Every API Needs a Clock

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

In the API economy, the APIs are the shared resource for all your customers. Not all APIs and it’s callers are the same, but not all APIs are called by a variety of actors. API rate-limiting choices are dictated by multiple factors unlike for TCP, however the basic premise still remains the same - use a clock to count and limit access to a shared resource. We map “what do you count” to a token? Counting is then performed using redisate a new granularity can be found in the article on the actual code.

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Why Every API Needs a Clock
Chintan Thakker HackerNoon profile picture

@chintant

Chintan Thakker

About @chintant
LEARN MORE ABOUT @CHINTANT'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa