Midas (Turkey) interview question

Design a real-time chat application architecture