Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Describe the difference between batch and streaming data

A worked example

Single answer

Latency measures how long it takes for data to arrive and then be processed. What latency is typical for stream processing?

Choose one answer
Why

Stream processing handles each data item as soon as it arrives instead of holding it for a scheduled batch run. Because of this, its latency is typically measured in seconds or even milliseconds. Batch processing, which collects a group of records before processing them together, typically has a latency of a few hours.

  • Not correct: About one day. Stream processing handles data as soon as it arrives, so its typical latency is seconds or milliseconds rather than a day.
  • Not correct: A few hours. A delay of a few hours is the typical latency for batch processing, not for stream processing.
  • Not correct: About one week. Stream processing does not wait for a scheduled processing interval; its typical latency is seconds or milliseconds rather than a week.
  • Correct: Seconds or milliseconds. Stream processing usually happens right away, so its latency is typically measured in seconds or even milliseconds.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free