Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Apache Storm Concepts

Apache Storm Concepts

A 2015 concepts overview for the Apache Storm project and the challenges for a Streaming Analysis solution.

Other Decks in Technology

Transcript

  1. Background Big Data V’s Volume Petabytes / Terabytes Velocity Real-time

    / Near Real-time Variety Sensors, Blog Posts, Logs, Social Networks...
  2. • Discovery • Ingest • Process • Persist • Analyze

    • Expose Background Data Value Chain
  3. • Discovery • Ingest • Process • Persist • Analyze

    • Expose Background Data Value Chain (Storm Focus)
  4. • Data processing architecture ◦ Generic ◦ Scalable ◦ Fault-tolerant

    (human/hardware) • Low latency Background Lambda Architecture (LA)
  5. Storm’s History Nathan Marz • Backtype (2008), acquired by Twitter

    (2011) • Lambda Architecture Creator • September, 2011. Storm Creation • September, 2013. Storm entered to ASF
  6. Why Use It? • Scalable, as Hadoop • No data

    loss, reliable • Fault tolerant • Language agnostic • Real-time, real fast
  7. Concepts • Tuple • Streams • Spouts • Bolts •

    Topologies / Trident API • Stream Groupings
  8. Concepts Bolts • Units of Work to tuples • Data

    streaming logic • Can emit tuples as well • Data store integration
  9. Concepts Topology • Data Streaming Flow Representation • DAG (Direct

    Acyclic Graph) of Spouts and Bolts • Streaming computation • Each node as individual task (parallel execution) • Stateless
  10. Concepts Trident API • Abstraction Layer over low-level Storm API

    • More Complex Topologies • Stateful • Micro-batch • High-level API (similar to Pig / Cascading - Hadoop) • Message processed at least once (guaranteed)
  11. Architecture Components - Nimbus • Master node (similar to JobTracker)

    • Monitor and distribute the processing workload across worker nodes • Stores all its data into Zookeeper
  12. Architecture Components - Supervisor • Worker node (similar to TaskTracker)

    • Monitor and distribute the processing workload across worker nodes • Stores all its data into Zookeeper
  13. Real Cases Collector sensor information to a Data Lake Micro-batch

    user contents, content feeds and application logs Real-time user music recommendations
  14. Q&A