Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Data Streams
    • Overview
    • Terms and definitions
    • Shards and partition keys
    • Quotas and limits
    • Comparison with Yandex Message Queue
    • Transactions involving data streams and YDB tables
  • Access management
  • Pricing policy
  • FAQ

In this article:

  • Yandex Message Queue
  • Yandex Data Streams
  • Yandex Message Queue and Yandex Data Streams comparison
  1. Concepts
  2. Comparison with Yandex Message Queue

Comparison with Yandex Message Queue

Written by
Yandex Cloud
Updated at July 15, 2025
  • Yandex Message Queue
  • Yandex Data Streams
  • Yandex Message Queue and Yandex Data Streams comparison

Yandex Cloud uses Yandex Data Streams and Yandex Message Queue for exchanging data.

The services of data buses and data streams solve similar tasks, but in different use cases:

  • Yandex Message Queue is focused on messaging between components of distributed applications.
  • Yandex Data Streams is designed for transmitting data streams (such as logs of application operation or user actions, database CDC streams, or data from devices) for their processing by applications.

Yandex Message QueueYandex Message Queue

Messaging buses help deliver separate, independent messages to application components (handlers) and function as a task processing queue. Tasks are enqueued and then picked up by a handler to run. Only one application can read messages from a single queue. A handler may have multiple instances running at the same time.

Messaging buses are suitable for processing independent tasks, each of which can be run by any handler. The main thing is that an event is processed, no matter in what order.

E.g., web crawlers use message queues. A web crawler finds page URLs and enqueues them. Parsers get these URLs, download the pages, and process them. A message queue acts as a task queue, boosting the fault tolerance and scalability of such a system.

Yandex Data StreamsYandex Data Streams

Yandex Data Streams is designed to transmit data streams, rather than individual messages, to applications. The throughput of processed data streams may range from kilobytes to terabytes or more per hour.

Data in Yandex Data Streams is transmitted through streams that consist of shards. All incoming records have keys that identify which shard the data will get into. Within a single shard, the data is read as it is written.

In Yandex Data Streams, unlike Yandex Message Queue, different applications can simultaneously read data from the same stream. At the same time, each application can read data from any position.

Reading data simultaneously by different applications may be necessary in the following cases:

  • When you need to process the same data by multiple applications at once.
  • To protect against errors. If an error occurs in the handler, you can fix it and recalculate the enqueued data properly.
  • When launching a new application. When developing a new application version, you can run it in parallel with the main one and test it on real data.

You can transmit any data via data buses, but most often these are application logs, user action logs, or data from devices. Yandex Data Streams supports an HTTP API to exchange data.

Yandex Message Queue and Yandex Data Streams comparisonYandex Message Queue and Yandex Data Streams comparison

Parameter Yandex Message Queue Yandex Data Streams
Primary use case Task queue for application components Transmitting data from one application to another, delivering data to Yandex Cloud data storages
Who receives data Components of a single application Independent applications
Guarantees At least once for a standard queue; exactly once for a FIFO queue At least once
Message order Guaranteed for a FIFO queue; not guaranteed for a standard queue Guaranteed
Throughput Up to 300 messages per second for a standard queue; up to 30 messages per second for a FIFO queue Not limited and defined by the number of shards
What you pay for Queries to read and write messages Shards, speed per shard, and amount of stored data
Supported protocol Amazon SQS API Amazon Kinesis Data Streams API
Yandex Cloud service integration Yandex Cloud Functions, Yandex API Gateway Yandex Cloud Functions, Yandex API Gateway, Yandex Data Transfer
Reliability Data is stored in all availability zones. Data is stored in all availability zones.
Scalability in terms of read access Server Client (KCL). KCL 1.x versions are supported.

Was the article helpful?

Previous
Quotas and limits
Next
Transactions involving data streams and YDB tables
© 2025 Direct Cursus Technology L.L.C.