Book Image

Storm Blueprints: Patterns for Distributed Real-time Computation

Book Image

Storm Blueprints: Patterns for Distributed Real-time Computation

Overview of this book

Table of Contents (17 chapters)
Storm Blueprints: Patterns for Distributed Real-time Computation
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we took on an AI use case. There are many problems within that domain that leverage tree and graph data structures, and the algorithms most appropriate for those data structures are often recursive. To demonstrate how those algorithms translate to Storm, we took the Minimax algorithm and implemented it using Storm's constructs.

Along the way, we noted a few constraints within Storm that make it more complicated than expected, and we saw patterns and approaches that work around those constraints to produce a working/scalable system.

Additionally, we introduced DRPC. DRPC can be used to expose a synchronous interface to clients. DRPC also allows the design to reuse code and data flows between synchronous and asynchronous interfaces.

Combining synchronous and asynchronous topologies, with shared state, is a powerful pattern not only for AI applications, but also for analytics. Often, new data arrives in the background continuously, but users interrogate that data through...