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 of your code still matters. In this chapter, we'll see some ways of measuring the performance of our topology's components.