Answer the question
In order to leave comments, you need to log in
Choosing a technology when creating a chat
Good day,
We are launching our first online business and targeting the Customer Service Software market (sorry for the Runglish, I live in London). In connection with the choice of the market, a chat system will be created between operators and clients. The development itself will be carried out using PHP and MySQL.
Question: what is the best technical way to organize a chat for the least load on the server?
Thank you very much for the replies.
Answer the question
In order to leave comments, you need to log in
I would probably stick XMPP, for reasons of convenience and compatibility. Finding funds is not difficult, for example.
pushmodule.slact.net/ is a module for nginx that adds Comet server functionality to it.
Take the chat to a separate application and write using any wrapper over WebSockets (fallback to flash sockets) - juggernaut, socket.io, something not on node.js. Full of solutions.
WebSockets + Tornado + MongoDB = a very good combination for such tasks.
That's interesting, why did you choose PHP + MySQL?
In the context of PHP + MySQL, the choice is obvious - ejabberd. Chat in the form of Jabber is already ready out of the box. Under it, there are even ready-made browser clients in the spirit of JWChat: www.ejabberd.im/jwchat-localserver
PS And don't tell me about “cheap hared hosting” in the context of “starting an online business”. Nowadays, you can take a VPS with root access for 200-300 rubles / month. Even a student can afford such a budget.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question