Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bull
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 175
    • Issues 175
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OptimalBits
  • bull
  • Issues
  • #1150
Closed
Open
Issue created Dec 06, 2018 by Administrator@rootContributor

Question about rate limiting

Created by: matthiasfeist

Hi!

I have bull running a queue on 2 machines with the same redis cluster which is working fine. Both machines take a job from the queue and process it correctly. Since these jobs call some rate limited APIs I'd like to configure the rate limit in bull.

I'm not really certain however if the rate limit is a global setting or would only apply for one machine. So in my case if the external API could do max 60 requests per minute and I have 2 machines processing the jobs, do I need to set the rate limit to 60/m since it's global per redis server or to 30/m since I'm having 2 machines? This is not entirely clear to me from the docs.

Thanks for the help.

Assignee
Assign to
Time tracking