⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

Write throughput Strong consistency smaller reads is fine

Server sent events

USER

UserDB MySQL

API: User + chatID + timestamp chats

Cassandra Partitioned by ChatID and Sort Key = timestamp

Good writes, poor reads

Leaderless replication with quorum.

Sent Message

Auth

CDC

Event Stream Kafka Shard by User

Flink (has pointer stuff)

Reader

S3

2-phase Commit for Media

Functionality: Send and recieve private messages in groupchats support media

Everyone should see the same thing

SSE