Seeking Advice: Building an Instant Messaging System from Scratch

I’m currently researching options for building chat from scratch but also reviewing some complete instant messaging software solutions like MirrorFly to understand what’s already out there and what features are standard.

It really depends on the features you want to implement.

Having a message service for a limited amount of people, like for company. Or having one instance per company should be relatively simple with Go. Mirror Fly looks simple and easy at first glance for the chat feature.

On the other hand, if you want to scale up with distributed systems and global infrastructure it will be much harder

I advice you to look into youtube and search for videos on how discord manages their trillions of messages. It is very interesting. You can take some ideas from them and use them for your design.

1 Like