Pergunta de entrevista da empresa The Lead Group

Enforce API rate limiting at 1,000 requests per minute

Resposta da entrevista

Sigiloso

17 de set. de 2020

1. Grab the IP address of the request 2. Get the value of key, key being ip address appended by colon and current minute 3. If value of key 1000 return a 400 error