Chapter 26. Asynchronous Design for Scale

In all fighting, the direct method may be used for joining battle, but indirect methods will be needed in order to secure victory.

—Sun Tzu

This chapter addresses two common problems for many products: the reliance upon state and the use of synchronous communications. We explain the impact of synchronicity on both availability and customer satisfaction. We suggest approaches to mitigate these effects and provide a rationale for moving most transactions to asynchronous implementations. We evaluate common reasons for implementing state, suggest alternative approaches, and arm the reader with mitigation strategies when state is required.

Synching Up on Synchronization

The process of synchronization refers ...

Get Art of Scalability, The: Scalable Web Architecture, Processes, and Organizations for the Modern Enterprise, 2nd Edition 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.