/plushcap/analysis/ably/design-patterns-betting-apps

Design patterns for betting app developers

What's this blog post about?

The text discusses common realtime problems faced by betting companies and proposes architectural design patterns that can be useful for developers. Problem 1 is the unpredictable number of live update recipients, which can be addressed using a pub/sub pattern to distribute data asynchronously. Problem 2 involves maintaining consistent data synchronization across devices, with solutions including serial JSON patches and CRDTs (conflict-free replicated data types). Problem 3 focuses on upstream gameplay events, suggesting the use of message queues, serverless architecture, and streams for fault tolerance and load management. The author also highlights Ably's Four Pillars of Dependability: performance, integrity, reliability, and availability.

Company
Ably

Date published
April 10, 2018

Author(s)
Matthew O'Riordan

Word count
2004

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.