Pergunta de entrevista da empresa Schibsted

Design chat system, interviewer starts with simplest scenario (2 clients connected) and continue adding constrains (Frontend, Backend, Mobile Notification service (google)) to test scalability knowledge

Resposta da entrevista

Sigiloso

8 de dez. de 2017

Do not start talking about specific technology or tool 1. Start with in memory structure (hashtable) 2. With more data add a database to the system 3. With more data add sharding (Vertical, horizontal, hash partition) 4. With asynchronous external system (Google Notification service) add Queues (Kafka) 5. With system halting because insertions takes longer than reads, give an example on how to break consistency and explaining CAP theorem