Seeking advice to build a scalable IM app that randomly pairs users for private chats. Initially targeting iOS with plans to expand to Android in the future.
Based on my experience developing scalable chat backends, determining the system architecture early on is critical. I would begin by using an event-driven model complemented with a robust message queue to handle pairing logic. Employing web socket connections facilitates real-time communications. I recommend leveraging container orchestration and managed cloud services to provide scalability as user demand grows. Careful database design is also essential to effectively handle concurrent connections and data consistency across platforms as the project evolves from iOS to Android.
hey, for scalability id try a microservise approach so u can isolate issues per platform. also check your db failsafes, and testing on real devices early can save tons of headaches.
hey, im curious about using redis streams for async messaging and real time pairing. any thoughts on handling state between ios and andoid? has any one else triyed a similar approach?