Answer the question
In order to leave comments, you need to log in
Why does Yandex-suggest work via AJAX and not via websocket?
The websocket is now supported in 99% of cases, less data would go through the websocket at times, especially if you use a binary protocol. And they drive back and forth kilobytes of JSON for each keystroke. Why not WS if it is available to the client?
Answer the question
In order to leave comments, you need to log in
Yandex is a huge company with a bunch of projectors. It is this service that 7 students can write in some far corner of the Moscow office. If they have json somewhere deep, then no one will rewrite half of the infrastructure for these 7 students. Yandex has not been a startup for a long time, but a factory where people from one office may not know anything about third-party projects.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question