Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Message Queue
  • Getting started
    • Quick start
    • Supported tools
    • Sample code
      • Python
      • Node.js
      • PHP
      • Celery
      • JMS
      • Laravel
      • Terraform
      • Golang
  • Step-by-step instructions
    • Overview
    • Creating a new message queue
    • Sending messages
    • Receiving and deleting messages
    • Deleting a message queue
    • Monitoring processes in queues
  • Concepts
    • Overview
    • Message queues
    • Messages
    • Deduplication
    • Visibility timeout
    • Long Polling
    • Dead Letter Queue
    • Delay queues
    • Quotas and limits
    • Comparison with Yandex Data Streams
  • Practical guidelines
    • Converting a video to a GIF in Python
  • Access management
  • Pricing policy
  • API Yandex Message Queue
    • Overview
    • Queue
      • CreateQueue
      • DeleteQueue
      • GetQueueAttributes
      • GetQueueUrl
      • ListQueues
      • PurgeQueue
      • SetQueueAttributes
    • Message
      • ChangeMessageVisibility
      • ChangeMessageVisibilityBatch
      • DeleteMessage
      • DeleteMessageBatch
      • ReceiveMessage
      • SendMessage
      • SendMessageBatch
    • Data types
      • BatchResultErrorEntry
      • ChangeMessageVisibilityBatchRequestEntry
      • ChangeMessageVisibilityBatchResultEntry
      • DeleteMessageBatchRequestEntry
      • DeleteMessageBatchResultEntry
      • Message
      • MessageAttributeValue
      • SendMessageBatchRequestEntry
      • SendMessageBatchResultEntry
    • Common errors
  • Public materials
  • Questions and answers
  1. Concepts
  2. Quotas and limits

Quotas and limits in Message Queue

Written by
Yandex Cloud

    Yandex Message Queue has the following limits:

    • Quotas are organizational restrictions that can be changed by technical support on request.
    • Limits are technical limitations due to Yandex Cloud architectural features. The limits cannot be changed.

    Quotas

    Messages
    Type of limit Value
    Number of SendMessage and SendMessageBatch calls per queue 300 calls per second for standard queues

    30 calls per second for FIFO queues
    Number of ReceiveMessage calls per queue 300 calls per second for standard queues

    30 calls per second for FIFO queues
    Number of DeleteMessage and DeleteMessageBatch calls per queue 300 calls per second for standard queues

    30 calls per second for FIFO queues
    Number of ChangeMessageVisibility and ChangeMessageVisibilityBatch calls per queue 300 calls per second for standard queues

    30 calls per second for FIFO queues
    Number of CreateQueue calls per cloud 2 calls per second
    Number of DeleteQueue calls per cloud 5 calls per second
    Number of other request calls per cloud 100 calls per second
    Number of queues per cloud 10

    Limits

    Queues
    Type of limit Value
    Minimum message enqueue delay (DelaySeconds parameter) 0 seconds
    Maximum message enqueue delay (DelaySeconds parameter) 900 seconds (15 minutes)
    Number of messages being processed per standard queue 120,000
    Number of messages being processed per FIFO queue 20,000
    Queue name Maximum of 80 characters, including numbers, small and capital Latin letters, hyphens, and underscores. The name of a FIFO queue must end with the .fifo suffix.
    Messages
    Type of limit Value
    Batch entry ID Maximum of 80 characters, including numbers, small and capital Latin letters, hyphens, and underscores.
    Maximum number of message attributes 10
    Maximum number of entries per batch 10
    Message content XML, JSON, and unformatted text. The following Unicode characters are supported:
    • #x9
    • #xA
    • #xD
    • from #x20 to #xD7FF
    • from #xE000 to #xFFFD
    • from #x10000 to #x10FFFF
    Maximum period for retaining messages in a queue 1209600 seconds (14 days)
    Minimum period for retaining messages in a queue 60 seconds (1 minute)
    Maximum message enqueue delay (DelaySeconds parameter) 900 seconds (15 minutes)
    Minimum message enqueue delay (DelaySeconds parameter) 0 seconds
    Maximum message size 262144 bytes (256 KB)
    Minimum message size 1 byte
    Maximum message visibility timeout 12 hours
    Minimum message visibility timeout 0 seconds
    Maximum client message wait time in an empty queue. (the WaitTimeSeconds parameter) 20 seconds

    Was the article helpful?

    Language / Region
    Yandex project
    © 2023 Yandex.Cloud LLC