/
References & Glossary for chat system
References & Glossary for chat system
Polling
Long Polling
Storage
2 Types of data :
Generic data stored in relational database (user profil, setting, etc.) → Replication and sharding are common techniques to satisfy availability and scalability requirements.
Chat history data stored in KV Store (NoSQL DB) →
1) Amount of data is enormous for chat system;
2) only recent chats are accessed frequently and users do not look up for old chats;
3) user might use random access (search, view mentions, …);
4) read to write ratio is about 1:1 for 1 on 1 chat apps.
, multiple selections available,