Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Python Real time Applications with Storm

You're reading from   Building Python Real time Applications with Storm Learn to process massive real-time data streams using Storm and Python—no Java required!

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781784392857
Length 122 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Storm-topology-specific terminologies

A topology is a logical separation of programming work into many small-scale processing units called spout and bolt, which is similar to MapReduce in Hadoop. A topology can be written in many languages, including Java, Python, and lot more supported languages. In visual depictions, a topology is shown as a graph of connecting spouts and bolts. Spouts and bolts execute tasks across the cluster. Storm has two modes of operation, called local mode and distributed mode:

  • In local mode, all processes of Storm and workers run within your code development environment. This is good for testing and development of topologies.
  • In distributed mode, Storm operates as a cluster of machines. When you submit topology code to the Nimbus, Nimbus takes care of distributing the code and allocating workers to run your topology based on your configuration.

In the following figure, we have purple bolts; these receive a tuple or records from the spout above them. A tuple supports...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image