Chapter 6. Being reactive

This chapter covers

  • Introduction to reactive domain models
  • Reactive API design using futures and promises
  • Reactive communication between bounded contexts using asynchronous messaging
  • The stream model with example implementations from Akka Streams
  • The actor model of communication

So far you’ve learned about the virtues of functional programming and how to apply these principles when you design a domain model. This chapter starts the discussion of how to make your functional domain model reactive. You want your model to be responsive to users, elastic for scalability, resilient to failures, and decoupled in time and space using message-driven architectures.[1] This chapter covers various ways of being reactive ...

Get Functional and Reactive Domain Modeling 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.