Skip to content
This repository has been archived by the owner on Jan 3, 2022. It is now read-only.

POLL - Should we make the smallest time interval less than the current 1 minute limit ? #14

Open
abhinavdc opened this issue May 20, 2021 · 1 comment
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@abhinavdc
Copy link
Owner

The current script will not allow you to provide a time interval less than 1 minute (was 5 before). Should this be further reduced to something like 10-20 seconds ?

I don't want the cowin-pinger tool to be a cowin API abusing tool as there are a high number of people using this script. If everyone starts to make calls every few seconds it could badly effect the Cowin Portal. I feel 1 minute interval is more than enough but I still wanted your opinion. Comment down your thoughts under this if you happen to see this issue.

@abhinavdc abhinavdc mentioned this issue May 20, 2021
@yashgorana
Copy link

The Co-WIN API documentation page mentions the following

... APIs are subject to a rate limit of 100 API calls per 5 minutes per IP.

So it rate-limits by default.
Meanwhile, CoWIN is running on AWS - CloudFront + WAF + API Gateway. The AWS infra can handle the load, but subject to how CoWIN have built their backed and what redundancies and fail-overs they have added.

Overall, I believe 1 minute is more than enough, because the portal itself is updated occasionally every day. High frequency polling will offer no benefit.

@abhinavdc abhinavdc added question Further information is requested help wanted Extra attention is needed labels May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants