A
A
Andrey Vershinin2017-08-25 22:35:37
In contact with
Andrey Vershinin, 2017-08-25 22:35:37

Why does VKontakte use long-polling and not WebSocket?

As you know, VK has its own PHP implementation - more nimble, but nevertheless, this is how many requests need to be processed. Aren't sockets the best solution? Or in the context of their workload, LP is better?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2017-08-26
@opium

suits everyone and lp

S
Serezha, 2017-08-26
Ahen @Ahen

They have a lot of servers.
They do everything with difficulty, for example, they waited for almost a year to remove investment limits for bots, and they received them a month ago and something like a crutch. I do not think that in the next year or two there will be something other than longpoll and callback for groups.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question