G
G
GoldenAlex2012-04-17 02:01:58
Work organization
GoldenAlex, 2012-04-17 02:01:58

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

6 answer(s)
S
Stdit, 2012-04-17
@GoldenAlex

I would probably stick XMPP, for reasons of convenience and compatibility. Finding funds is not difficult, for example.

M
mitric, 2012-04-17
@mitric

To begin with, as a ready-made solution, look towards Dklab Realplexor

V
Vitaly Peretyatko, 2012-04-17
@viperet

pushmodule.slact.net/ is a module for nginx that adds Comet server functionality to it.

Z
Zelgadis, 2012-04-17
@Zelgadis

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.

V
Vladimir Sokolovsky, 2012-04-17
@inlanger

WebSockets + Tornado + MongoDB = a very good combination for such tasks.
That's interesting, why did you choose PHP + MySQL?

A
Alexey Sundukov, 2012-04-17
@alekciy

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 question

Ask a Question

731 491 924 answers to any question