Home  >  Article  >  Detailed explanation of storm

Detailed explanation of storm

Patricia Arquette
Patricia ArquetteOriginal
2024-08-15 15:44:151179browse

This article introduces Apache Storm, a distributed real-time computation system. It presents the key concepts of Storm, including topologies, spouts, bolts, tuples, and streams. It also discusses the architecture of Storm, which includes Nimbus, Sup

Detailed explanation of storm

What are the key concepts and architecture of Storm?

  • Key Concepts of Storm:

    1. Topology: The topology is a directed graph of computational units (spouts, bolts) connected by streams.
    2. Spout: A data source that continuously produces data tuples.
    3. Bolt: A processing unit that consumes tuples and optionally produces new tuples.
    4. Tuple: A collection of named values that represents a data item.
    5. Stream: A sequence of tuples that is processed by the topology.
  • Architecture of Storm:

    1. Nimbus: The master node that manages the topology and assigns tasks to workers.
    2. Supervisor: A daemon process that runs on each worker node and manages the tasks on that node.
    3. Worker: A node that runs the tasks of the topology.
    4. Zookeeper: An external dependency used by Storm for coordination and fault tolerance.

The above is the detailed content of Detailed explanation of storm. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn