paint-brush
Why Every API Needs a Clockby@chintant
547 reads
547 reads

Why Every API Needs a Clock

by Chintan Thakker9mApril 16th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Chintan Thakker

Chintan Thakker

@chintant

Startup Hacker, Product Builder at Saaras

About @chintant
LEARN MORE ABOUT @CHINTANT'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Chintan Thakker HackerNoon profile picture
Chintan Thakker@chintant
Startup Hacker, Product Builder at Saaras

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Campaign-archive
Angel
Tefter
Coinerblog