O'Reilly logo

Building Python Real-Time Applications with Storm by Barry Hart, Kartik Bhatnagar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Petrel in Practice

In previous chapters, we saw working examples of Storm topologies, both simple and complex. In doing so, however, we skipped some of the tools and techniques that you'll need while developing your own topologies:

  • Storm is a great environment for running your code, but deploying to Storm (even on your local machine) adds complexity and takes extra time. We'll see how to test your spouts and bolts outside of Storm.
  • When components run inside Storm, they can't read from the console, which prevents the use of pdb, the standard Python debugger. This chapter demonstrates Winpdb, an interactive debugging tool suitable for debugging components inside Storm.
  • Storm lets you easily harness the power of many servers, but performance ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required