-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wttr.in out of datasource capacity #53
Comments
Please excuse the above if you did implement caching. I didn't see it when I read through srv.py but perhaps it is implemented in wego or some other dependency. I did go to worldweatheronline.com and found in their FAQ the following entry requesting that free API users cache requests in 15 minute intervals (even longer than I was thinking):
|
see also: #9 |
Is there a rate limit on the public service? |
@alexellis Yes, but it can be hardly reached. Why? Are you experiencing some problems currently? |
Curious how much it can be used by an individual user. 100 times? 1k times? 100k times? I might accept it into the OpenFaaS Function Store |
@alexellis currently we have the following limits (per IP):
but they will be increased soon I've just gone through the issue you've mentioned, I would like to make a couple of remarks:
|
The query limits are removed now. |
Love the service and the text weather!
Just found this project after installing LXLE.
I'm not sure what the datasource capacity is. Based on the error message on your webpage, it sounds like it could be 1M queries per day.
Doing some quick math, you can serve up
I'd be curious to see the traffic log and see how many different locations are being served and at what rate. If a lot of traffic comes from a few locations, caching either using srv.py or at the client could help. Weather doesn't change by the second usually, so it might be useful to cache weather for between 5 seconds and 5 minutes to reduce the number of queries sent to your datasource.
I may try to implement something like that given some time free after my day job :)
The text was updated successfully, but these errors were encountered: