Rate limiting task queues and workers

Hi, where can I read more about the options for rate limiting?

I am interested in:

  • rate limiting at the task queue level
  • rate limiting at the worker level

My understanding is that both are possible, but I must be missing something obvious.

Thank you,
Jacques

1 Like

Just noticed that there is a property with a different name across Java and Go SDKs:

Java SDK

Use WorkerOptions properties to configure.

  • maxActivitiesPerSecond - worker specific rate limit
  • maxConcurrentActivityExecutionSize - worker specific limit on number of parallel activities
  • taskQueueActivitiesPerSecond - global task queue limit across all the workers

Go SDK

Use WorkerOptions properties to configure

  • WorkerActivitiesPerSecond - worker specific rate limit
  • MaxConcurrentActivityExecutionSize - worker specific limit on number of parallel activities
  • TaskQueueActivitiesPerSecond - global task queue limit across all the workers
1 Like

This is exactly what I was looking for. Thank you Max!