Skip to Main Content

Reactive Design Patterns

Published by Manning
Distributed by Simon & Schuster

About The Book

Summary

Reactive Design Patterns is a clearly written guide for building message-driven distributed systems that are resilient, responsive, and elastic. In this book you'll find patterns for messaging, flow control, resource management, and concurrency, along with practical issues like test-friendly designs. All patterns include concrete examples using Scala and Akka. Foreword by Jonas Bonér.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Modern web applications serve potentially vast numbers of users - and they need to keep working as servers fail and new ones come online, users overwhelm limited resources, and information is distributed globally. A Reactive application adjusts to partial failures and varying loads, remaining responsive in an ever-changing distributed environment. The secret is message-driven architecture - and design patterns to organize it.

About the Book

Reactive Design Patterns presents the principles, patterns, and best practices of Reactive application design. You'll learn how to keep one slow component from bogging down others with the Circuit Breaker pattern, how to shepherd a many-staged transaction to completion with the Saga pattern, how to divide datasets by Sharding, and more. You'll even see how to keep your source code readable and the system testable despite many potential interactions and points of failure.

What's Inside
  • The definitive guide to the Reactive Manifesto
  • Patterns for flow control, delimited consistency, fault tolerance, and much more
  • Hard-won lessons about what doesn't work
  • Architectures that scale under tremendous load

About the Reader

Most examples use Scala, Java, and Akka. Readers should be familiar with distributed systems.

About the Author

Dr. Roland Kuhn led the Akka team at Lightbend and coauthored the Reactive Manifesto. Brian Hanafee and Jamie Allen are experienced distributed systems architects.

Table of Contents

    PART 1 - INTRODUCTION

  1. Why Reactive?
  2. A walk-through of the Reactive Manifesto
  3. Tools of the trade
  4. PART 2 - THE PHILOSOPHY IN A NUTSHELL

  5. Message passing
  6. Location transparency
  7. Divide and conquer
  8. Principled failure handling
  9. Delimited consistency
  10. Nondeterminism by need
  11. Message flow
  12. PART 3 - PATTERNS

  13. Testing reactive applications
  14. Fault tolerance and recovery patterns
  15. Replication patterns
  16. Resource-management patterns
  17. Message flow patterns
  18. Flow control patterns
  19. State management and persistence patterns

About The Author

Jamie Allen is the Director of Consulting for Typesafe and author of Effective Akka.

Product Details

  • Publisher: Manning (February 21, 2017)
  • Length: 392 pages
  • ISBN13: 9781638354055

Browse Related Books

Resources and Downloads

High Resolution Images