Pregunta de entrevista de Atlassian

Write a function that performs rate limiting logic

Respuesta de la entrevista

Anónimo

13 sep 2020

I would use tocken approach: each X seconds token is being granted, calling a service consumes n tokens, then add a cap so you won't have too many tokens accumulated overnight for example and you're good to go!

1