Back to All CourseworkDistributed Computing System
Individual ProjectMar 2025Interactive Web Demo

Persistent Multicast with Time-Window Coordinator

A distributed group-communication protocol where a centralized coordinator buffers messages for offline members within a configurable time window.

My Contribution: I designed and implemented the coordinator state engine, participant protocol, and message time-to-live queues.
JavaJavaTCP SocketsDistributed SystemsState Machines
Live Browser Simulation

Distributed Group Messaging Simulator

Client-Side Engine
Try this: Disconnect a node, broadcast messages, wait for TTL expiry, and observe selective catch-up.

Loading simulation engine...

Architecture verification: Simulates time-window buffered multicast semantics and connection lifecycle events.

Implementation Highlights

  • Dynamic group membership: register, deregister, temporary disconnect, and reconnect commands.
  • Time-bounded message persistence (threshold td) ensuring offline participants catch up upon reconnection.
  • Recipient snapshots captured at broadcast time to prevent retroactive leakage to late joiners.
  • Audit event logging on every individual participant.

Algorithm & System Mechanics

  • Coordinator records message recipients at the moment of send; buffers unexpired messages in memory.
  • Reconnecting nodes receive buffered unexpired messages addressed to them.