Wiki: Introduction to Storm
For agents: Markdown version · Wiki index · Explore
- Speaker: Shay Elkin
- Event: Reversim Summit 2013
- Video: https://www.youtube.com/watch?v=vutizEzkGFY
- Transcript: /transcripts/2013/25-vutizEzkGFY.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Data Engineering, Data Science, Distributed Systems
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
This talk provides an introduction to Storm, a distributed stream processing framework designed to handle real-time big data computations with low latency. The speaker explains the limitations of traditional batch processing tools like Hadoop and complex worker-queue setups, demonstrating how Storm provides higher-level abstractions like spouts, bolts, and topologies. The audience learns how to design, configure, and deploy real-time streaming topologies using guarantees such as at-least-once processing and Trident for transactional states.
Key points
- 0:06 The speaker introduces Storm as a solution for real-time computation amidst the rise of big data.
- 1:06 Batch processing tools like Hadoop are powerful but lack low latency, making them unsuitable for immediate results.
- 3:06 Storm offers high-level abstractions for distributed computations across streaming processing, continuous computation, and distributed RPC.
- 6:10 Storm’s data model revolves around tuples, streams, spouts as data sources, and bolts as data processors organized into topologies.
- 9:21 The classic word count example illustrates how simple it is to write business logic using spouts and bolts.
- 14:34 Stream groupings like field groupings determine how tuples are routed and ensure accurate data aggregation across distributed tasks.
- 16:36 A Storm cluster relies on Zookeeper for communication coordination, Nimbus for job management, and supervisors to execute worker tasks.
- 26:59 Trident provides a higher-level abstraction over Storm for functional operations, grouping, and managing state transactions.
Takeaways
- Use Storm when your application requires low-latency, real-time data streaming rather than heavy batch processing.
- Design topologies using spouts and bolts to decouple data generation from business logic and processing.
- Leverage field groupings to ensure stateful operations and aggregations route correctly to specific tasks in a distributed cluster.
Questions this talk answers
- When should I choose Storm over Hadoop for data processing?
- How does Storm guarantee message processing and handle node failures?
- How do I manage state and transactional updates in streaming topologies using Trident?
Technologies
Storm, Hadoop, Java, Clojure, Python, Ruby, ZooKeeper, Cassandra, Redis
Tags
big data, data engineering, distributed systems, real-time data, stream processing