0PricingLogin
WebSockets & Real-Time Systems with Spring · Lesson

Real-Time Data Push Architectures

Design architectures for pushing continuous data streams and updates to connected clients.

Real-Time Data Push

Modern applications thrive on instant updates. Imagine a stock ticker, a sports score app, or a chat room – all need data delivered as it happens, not on request.

This lesson explores how to design server-side architectures that actively push continuous data streams and updates to connected clients.

Publisher-Subscriber Model

At the core of data push is the Publisher-Subscriber (Pub/Sub) pattern. Here's how it works:

  • Publishers: These are server-side components that generate and send messages.
  • Subscribers: These are connected clients (e.g., web browsers, mobile apps) that express interest in specific types of messages.

The system delivers messages from publishers to all interested subscribers, decoupling the data source from its consumers.

All lessons in this course

  1. Server-Sent Events (SSE) vs. WebSockets
  2. Real-Time Data Push Architectures
  3. Implementing User Notifications
  4. Tracking Presence and Online Status
← Back to WebSockets & Real-Time Systems with Spring