TikTok interview question

Design a messaging service for sys design