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. ...

Get Storm Blueprints: Patterns for Distributed Real-time Computation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.