N
N
Nikolaymac2016-07-29 17:57:29
PHP
Nikolaymac, 2016-07-29 17:57:29

Instant messaging on site, nodejs?

There is a site running on php + Apache, you need to make chat groups on the site as well as instant messages like in VK. You need to dig in the direction of websocket, I understand this. But if you put the daemon's socket server in php, how much will it last? In general, what is the best way to do it? How to use a bunch of nodejs and Apache + php?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Sharihin, 2016-07-29
@Pinsky

You can use Server-Side Events (on PHP + Redis using pub-sub) without a node.

V
Victor, 2016-07-31
@Levhav

There are also saas services that allow you to connect instant messages and do not load your hosting. For example comet-server.ru
And here is another article https://habrahabr.ru/company/comet-server/blog/272817/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question