Maintaining an API count #18242
Unanswered
valentinedwv
asked this question in
Q&A
Replies: 1 comment
-
Hi David, If your intent is to track the number of calls to the webservice over the course of a day, you'll likely need to use some sort of external data store which allows this count to be shared between runs. You could use a resource to track this count, but that resource would need to read and write from the external store - generally, runs happen in different Python instances & potentially even different containers if deployed to something like Docker or Kubernetes. You can see this discussion which mentions a couple libraries that might help with this goal: #5878 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a web service that has a daily rate limit, and i would like to reset it to zero on a daily basis.
Can I store that in a resource somehow so it's shared across calls, or do I make it an asset.
Beta Was this translation helpful? Give feedback.
All reactions