# Introduction to Storm

- Speaker: [Shay Elkin](/wiki/speakers/shay-elkin.md)
- Event: [Reversim Summit 2013](/wiki/years/2013.md)
- Video: https://www.youtube.com/watch?v=vutizEzkGFY
- Transcript: [/transcripts/2013/25-vutizEzkGFY.md](/transcripts/2013/25-vutizEzkGFY.md)
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: [Data Engineering](/wiki/topics/data-engineering.md), [Data Science](/wiki/topics/data-science.md), [Distributed Systems](/wiki/topics/distributed-systems.md)

> 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](https://www.youtube.com/watch?v=vutizEzkGFY&t=6s) The speaker introduces Storm as a solution for real-time computation amidst the rise of big data.
- [1:06](https://www.youtube.com/watch?v=vutizEzkGFY&t=66s) Batch processing tools like Hadoop are powerful but lack low latency, making them unsuitable for immediate results.
- [3:06](https://www.youtube.com/watch?v=vutizEzkGFY&t=186s) Storm offers high-level abstractions for distributed computations across streaming processing, continuous computation, and distributed RPC.
- [6:10](https://www.youtube.com/watch?v=vutizEzkGFY&t=370s) Storm's data model revolves around tuples, streams, spouts as data sources, and bolts as data processors organized into topologies.
- [9:21](https://www.youtube.com/watch?v=vutizEzkGFY&t=561s) The classic word count example illustrates how simple it is to write business logic using spouts and bolts.
- [14:34](https://www.youtube.com/watch?v=vutizEzkGFY&t=874s) Stream groupings like field groupings determine how tuples are routed and ensure accurate data aggregation across distributed tasks.
- [16:36](https://www.youtube.com/watch?v=vutizEzkGFY&t=996s) A Storm cluster relies on Zookeeper for communication coordination, Nimbus for job management, and supervisors to execute worker tasks.
- [26:59](https://www.youtube.com/watch?v=vutizEzkGFY&t=1619s) 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
