Skip to main content
Queues allow you to organize and route tasks to specific worker pools, enabling efficient resource allocation and task prioritization.

Queue Configuration

Basic Queue Usage

Assign tasks to queues using the queue configuration:

Queue with Concurrency Limits

Control concurrent task execution with queue objects:

Worker Queue Selection

Workers can subscribe to specific queues or patterns:

Glob Pattern Support

Queue patterns support standard glob syntax:
  • * - Matches any characters
  • ? - Matches single character
  • [abc] - Matches any character in brackets
  • {a,b,c} - Matches any of the comma-separated patterns

Dynamic Queue Assignment

Override queue at send time:

Queue Organization Patterns

By Priority

By Resource Type

By Business Domain

Worker Deployment Strategies

Dedicated Workers by Queue

Resource-Based Workers

Queue Monitoring

Monitor queue depths and worker health through Hyrex Studio to:
  • View pending tasks per queue
  • Monitor worker connections per queue
  • Track queue processing rates
  • Identify bottlenecks

Best Practices

  1. Use Descriptive Queue Names
  2. Set Appropriate Concurrency Limits
  3. Organize Workers Logically
  4. Use Queue Patterns for Flexibility

Next Steps

Tasks

Configure tasks for queues

Monitoring

Monitor queue performance

Retries

Handle failures in queues