Skip to content
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

restdb.ioによるアクセス回数制限に引っかかった。汎用的なDBに対応したほうが良いのかもしれない #110

Open
komatti365 opened this issue Nov 3, 2023 · 4 comments

Comments

@komatti365
Copy link
Contributor

正式稼働のNucosenでrestdb.ioのアクセス回数制限に引っかかる
月額料金が非常に高額なので、ローカルホストのDBで動かせるようにできないだろうか。
エラーメッセージ
'''
429 Client Error: Too Many Requests for url: https://nico247-4804.restdb.io/rest/queue?q=%7B%7D&h=%7B"$orderby":%20%7B"priority":%201,"_id":-1%7D%7D, retrying in 1 seconds...
[14:49]
WARNING @ nucosen.db.dequeue (__retry_internal)
429 Client Error: Too Many Requests for url: https://nico247-4804.restdb.io/rest/queue?q=%7B%7D&h=%7B"$orderby":%20%7B"priority":%201,"_id":-1%7D%7D, retrying in 2 seconds...
[14:49]
WARNING @ nucosen.db.dequeue (__retry_internal)
429 Client Error: Too Many Requests for url: https://nico247-4804.restdb.io/rest/queue?q=%7B%7D&h=%7B"$orderby":%20%7B"priority":%201,"_id":-1%7D%7D, retrying in 4 seconds...
'''

@komatti365
Copy link
Contributor Author

{"msg":"API - too many requests in time window for free plan. Try again in 7:51:19 hrs:min:sec. Please upgrade to paid plan to avoid this message. :)"}
このメッセージから考えるに、当時より制限が厳しくなった?

@komatti365
Copy link
Contributor Author

https://github.com/parse-community/parse-server
このあたりとかで代用できないだろうか

@komatti365
Copy link
Contributor Author

komatti365 commented Nov 3, 2023

別のdbを指定すると再起動したことを確認
ただし、再び同様の制限に突っかかる可能性があることを考えると、やはり汎用的、且つセルフホストで安定的に稼働できるDBに乗り換えたほうがいいと考えます。
一応プランの制限はここに
https://restdb.io/pricing/
image

@komatti365
Copy link
Contributor Author

もしかしたら、二つのnucosenを同じDBで動かしていたからレートリミットにかかった可能性もあるかも。
1日に1600件も動画紹介するのは現実的ではないですし。

@sitting-cat sitting-cat self-assigned this Nov 21, 2023
@sitting-cat sitting-cat removed their assignment Jan 10, 2024
@sitting-cat sitting-cat removed this from the p1 fix for v6 milestone Jan 18, 2024
@sitting-cat sitting-cat self-assigned this Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants