The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Rate Limiting API in Golang for distributed sytems.
Given
You are given an external API endpoint which allows to check that given user-id does have the limit for the request on the given application or not.
Example HTTP calls
curl -X GET http://localhost:8888/rate
Request Headers:
1. user-id:<userid>
2. application-id:<application-id>
Task
Design a rate limiting application or API.
Requirements
The API must support multiple users and multiple application support.
If the HTTP status 200 means user is allowed to make call on respective application, http status should 429 when user exceeds the request for the given application.