- Practical Real-time Data Processing and Analytics
- Shilpi Saxena Saurabh Gupta
- 271字
- 2021-07-08 10:23:15
Storm architecture and its components
Let's discuss Storm architecture and how it works. The following figure depicts the Storm cluster:

- The Nimbus node acts as the master node in a Storm cluster. It is responsible for analyzing topology and distributing tasks to different supervisors as per their availability. Also, it monitors failure; if one of the supervisors dies, it redistributes the tasks among available supervisors. The Nimbus node uses Zookeeper to keep track of tasks to maintain it's state. If the Nimbus node fails, it can be restarted so that it reads the state of Zookeeper and starts from same point where it failed earlier.
- Supervisors act as slave nodes in the Storm cluster. One or more workers, that is, JVM processes, can run in each supervisor node. A supervisor coordinates with workers to complete the tasks assigned by Nimbus node. In the case of worker process failure, the supervisor finds available workers to complete the tasks.
- A worker process is a JVM running in a supervisor node. It has executors. There can be one or more executors in a worker process. A worker coordinates with an executor to finish up the task.
- An executor is a single thread process spawned by a worker. Each executor is responsible for running one or more tasks.
- A task is a single unit of work. It performs actual processing on data. It can be either a spout or a bolt.
- Apart from previous processes, there are two important parts of a Storm cluster; they are logging and Storm UI. The logviewer service is used to debug logs for workers and supervisors on Storm UI.
推薦閱讀
- Python 3.7網(wǎng)絡(luò)爬蟲快速入門
- C語(yǔ)言程序設(shè)計(jì)案例教程(第2版)
- 跟小海龜學(xué)Python
- Java加密與解密的藝術(shù)(第2版)
- SQL Server 2016數(shù)據(jù)庫(kù)應(yīng)用與開發(fā)
- Learning ArcGIS for Desktop
- Maker基地嘉年華:玩轉(zhuǎn)樂(lè)動(dòng)魔盒學(xué)Scratch
- RubyMotion iOS Develoment Essentials
- Instant Automapper
- Android高級(jí)開發(fā)實(shí)戰(zhàn):UI、NDK與安全
- UI動(dòng)效設(shè)計(jì)從入門到精通
- Unreal Engine Game Development Cookbook
- SQL Server 2014數(shù)據(jù)庫(kù)設(shè)計(jì)與開發(fā)教程(微課版)
- Go語(yǔ)言編程之旅:一起用Go做項(xiàng)目
- 測(cè)試基地實(shí)訓(xùn)指導(dǎo)