A
A
Anatoly2016-12-16 16:22:19
Programming
Anatoly, 2016-12-16 16:22:19

How are realtime notifications for VKontakte and others implemented?

Good day!
Tell me how real-time alerts are implemented on sites?
And how can this be implemented in PHP + JS?
I don't mean push, but when, for example, a message arrives, it is immediately visible, or when someone posted, it immediately displays: "XX new messages."
Apparently, this is not a feeble load on the database?
I will be glad to simple references on the topic.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gasoid, 2016-12-16
@Skit25

longpooling/websocket

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question