A task appeared to display information on incoming calls to the operator on the web interface (accordingly, immediately search for a client in the database). Having smoked the Internet, I stopped at WebSocket server (cboden / ratchet) with a bunch of ARI (greenfieldtech-nirs / phpari).
- Is it worth it to implement all this in pure php?
- How to put in one EventLoop server and ari client? Can anyone come across such a problem when you need to organize two or more interacting threads in php
- Whether php will not work working continuously working in the stream (heard with this until everything is bad)?
- And maybe score on the points above and write everything in java or python?