TSTier SlateAll templates

Messaging & realtime

Chat and messaging - one socket, many deliveries

Delivery guarantees, presence and ordering across devices.

  • System design
  • core
  • 8 step walkthrough

Share

  • Facebook
  • X

What this board gets wrong on purpose

The tension

The connection tier is stateful and nothing else here is. A gateway holds its sockets in memory, so it cannot be rolled or scaled like the stateless services beside it - deploying gw-1 hangs up on everybody on gw-1 - and the presence registry that is the only record of which gateway holds you is a single store with no replica behind it.

The rest of this board

Board preview

Available on Tier Slate

This page publishes the question. The answer — an 8-step narrated walkthrough — is the board itself, and it opens in Tierslate.

  • 8walkthrough steps
Open this board in TierslateBrowse every board

More boards

Delivery, presence, ordering, and who is typing.

  • Transactional email - the receiver decides
  • Presence - the most expensive cheap feature
  • Push notifications - the token outlives the install
  • Team channels - the unread count is the hard part
  • Encrypted delivery - one tick, two ticks, blue
All 50 templatesOpen Tierslate
Tierslate

tierslate.com

HomeTemplatesPrivacyTerms