Skip to Content
Reactive Design Patterns
book

Reactive Design Patterns

by Jamie Allen, Roland Kuhn, Brian Hanafee
February 2017
Intermediate to advanced
392 pages
14h 25m
English
Manning Publications

Overview

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.



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 Authors

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



Quotes
Does an excellent job explaining Reactive architecture and design, starting with first principles and putting them into a practical context.
- From the Foreword by Jonas Boner, Creator of Akka

If the 'Reactive Manifesto' gave us a battle cry, this work gives us the strategic handbook for battle.
- Joel Kotarski, The Rawlings Group

An engaging tour of distributed computing and the building blocks of responsive, resilient software.
- William Chan, LinkedIn

This book is so reactive, it belongs on the left-hand side of the periodic table!
- Andy Hicks, Tanis Systems

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Reactive Design Patterns video edition

Reactive Design Patterns video edition

Dr. Roland Kuhn, Brian Hanafee, Jamie Allen
Reactive Programming with RxJava

Reactive Programming with RxJava

Tomasz Nurkiewicz, Ben Christensen
Functional Programming in Scala

Functional Programming in Scala

Runar Bjarnason, Paul Chiusano

Publisher Resources

ISBN: 9781617291807Publisher SupportPublisher WebsiteErrata Page