首頁> 常見問題> 主體

storm详解

DDD
發布: 2024-08-15 15:44:15
原創
987 人瀏覽過

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

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.

以上是storm详解的詳細內容。更多資訊請關注PHP中文網其他相關文章!

來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
作者最新文章
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!