7

Pub/Sub and Distributed Queues

In today’s digital age, where data is generated at an unprecedented scale and speed, the need for robust, scalable, and efficient systems for processing and distributing this data is paramount. This is where distributed systems come into play, particularly through the use of messaging patterns such as Publish-Subscribe (Pub/Sub) systems and distributed queues.

As we have discussed in previous chapters, a distributed system is a network of independent components designed to work together to achieve a common goal. These components communicate and coordinate their actions by passing messages to one another. The two primary messaging patterns used in distributed systems are as follows:

  • Pub/sub systems
  • Distributed ...

Get System Design Guide for Software Professionals 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.