Storm (event processor)
Apache Storm is a distributed stream processing computation framework written predominantly in the Clojure programming language. Originally created by Nathan Marz and team at BackType, the project was open sourced after being acquired by Twitter. It uses custom created "spouts" and "bolts" to define information sources and manipulations to allow batch, distributed processing of streaming data. The initial release was on 17 September 2011.
Distributed and fault-tolerant realtime computation
2.1.0 / 6 September 2019
|Written in||Clojure & Java|
|Type||Distributed stream processing|
|License||Apache License 2.0|
A Storm application is designed as a "topology" in the shape of a directed acyclic graph (DAG) with spouts and bolts acting as the graph vertices. Edges on the graph are named streams and direct data from one node to another. Together, the topology acts as a data transformation pipeline. At a superficial level the general topology structure is similar to a MapReduce job, with the main difference being that data is processed in real time as opposed to in individual batches. Additionally, Storm topologies run indefinitely until killed, while a MapReduce job DAG must eventually end.
Storm became an Apache Top-Level Project in September 2014 and was previously in incubation since September 2013.
Apache Storm is developed under the Apache License, making it available to most companies to use. Git is used for version control and Atlassian JIRA for issue tracking, under the Apache Incubator program.
Apache Storm Architecture
The Apache Storm cluster comprises following critical components:
- Nodes- There are two types of nodes: Master Nodes and Worker Nodes. A Master Node executes a daemon Nimbus which assigns tasks to machines and monitors their performances. On the other hand, a Worker Node runs the daemon called Supervisor which assigns the tasks to other worker nodes and operates them as per the need. As Storm cannot monitor the state and health of cluster, it deploys ZooKeeper to solve this issue which connects Nimbus with the Supervisors.
- Components- Storm has three critical components: Topology, Stream, and Spout. Topology is a network made of Stream and Spout. Stream is an unbounded pipeline of tuples and Spout is the source of the data streams which converts the data into the tuple of streams and sends to the bolts to be processed.
Storm is but one of dozens of stream processing engines, for a more complete list see Stream processing. Twitter announced Heron on June 2, 2015 which is API compatible with Storm. There are other comparable streaming data engines such as Spark Streaming and Flink.
- Marz, Nathan. "About Nathan Marz". Nathan Marz. Retrieved 28 March 2013.
- "BackType Website (defunct)". BackType. Retrieved 28 March 2013.
- "A Storm is coming: more details and plans for release". Engineering Blog. Twitter Inc. Retrieved 29 July 2015.
- "Storm Codebase". Github. Retrieved 8 February 2013.
- "Tutorial - Components of a Storm cluster". Documentation. Apache Storm. Retrieved 29 July 2015.
- "Apache Storm Graduates to a Top-Level Project".
- "Storm Project Incubation Status". Apache Software Foundation. Retrieved 29 October 2013.
- "Storm Proposal". Apache Software Foundation. Retrieved 29 October 2013.
- "Powered By Storm". Documentation. Apache Storm. Retrieved 29 July 2015.
- "Apache Storm". storm.apache.org. Retrieved 18 August 2017.
- "Flying faster with Twitter Heron". Engineering Blog. Twitter Inc. Retrieved 3 June 2015.
- "Benchmarking Streaming Computation Engines: Storm, Flink and Spark Streaming" (PDF). IEEE. May 2016.