Answer the question
In order to leave comments, you need to log in
What to write chats like in VK?
Planned attendance of the resource from ~2000 to ~50000.
1/3 of attendance is chatting like in VK.
Constant reconciliation with the base for new messages and notifications. (equal to 1/2 the attendance)
What is the easiest language to do this in?
Where to store data?
Based on php, mysql.
Answer the question
In order to leave comments, you need to log in
They did it on php + mysql - it turned out somehow not very well.
Changed to node.js + socket.io + redis + mysql (history) - it became noticeably better.
I did this on node js + socket.io + mysql
Initially, I started in a bunch of node js + jabber, but I don’t remember why jabber was abandoned in the direction of mysql
I advise you to write on node.js and use mongodb for the base, but you can use sockets without them there will not be a special load, but you can wash and use the ready-made easyrtc module for node there and there is a message chat and video chat and other convenience and documentation is more or less normal
yes it is possible in mysql. In general, somehow there was an idea to raise a jabber server and use it as a chat of personal correspondence.
Front - NodeJS is now fashionable to write for this. Backend - correctly advise on erlang. And it’s better not to show off and use ejabberd inside, which clusters out of the box.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question