镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add rate limiting capabilities for api calls - #19

Open
sarslanhan wants to merge 2 commits into
embedly:masterfrom
sarslanhan:master
Open

sarslanhan wants to merge 2 commits into
embedly:masterfrom
sarslanhan:master

Conversation

@sarslanhan

Copy link
Copy Markdown

No description provided.

Since each api call on embedly has its own rate limit, they are defined
using an `Object` rather than a single `Number`.
@sarslanhan

Copy link
Copy Markdown
Author

I think there are 2 things still to be addressed here:

  • How to test these rate limits
  • Support for checking rate limits in a distributed environment.

Maybe the second one can be achieved by using something like Redis for storing limits instead of timequeue package which requires some implementation.

I would love to hear your suggestions on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant