4 ms·
I’ve done this before as a swe. We used Go and our chat system had auth, file sharing, 1:1 and group messaging, and other features. It was honestly not that ha
by moomoo11 2y ago
I’ve done this before as a swe. We used Go and our chat system had auth, file sharing, 1:1 and group messaging, and other features.
It was honestly not that hard to code, maybe 4-5k loc including all the type definitions. Took around two weeks to make after spending a week or two learning and doing PoCs. It ran on a dedicated instance and can handle like 500k concurrent conversations.
- codegeek 2y agoCurious. Did you use some type of websockets ?
- moomoo11 2y agoYes. Sockets to push, http post to create message tho or upload stuff.
- edweis 2y agoAmazing. That’s the perfect scenario for us. Did you choose go for its coroutine or because it’s your stack language ?
- moomoo11 2y agoGreat. I used it because I prefer Go for all my backend tasks. Great performance, go routines and std library are awesome.