Converting Agent Comms to Websockets
Posted: Thu Aug 27, 2020 4:17 am
I've been looking at Vicidial Agent Screen performance on older hardware recently, combined with the background tab throttling that Chrome does. (We're in a regulated industry, so sticking to older browsers is difficult from a security compliance perspective.)
Is there any interest in converting the Agent Screen's comms with the webservers away from polling to using only websockets and push from the server?
As far as I can tell from https://caniuse.com/#search=websockets , websockets should be available in common browsers > 2012, so it should be supported in the wild.
It may well just move strain from the web browser to the web servers, as something would still need to check for updates server-side, unless an event-based system were implemented.
So before going down that road, is there any interest? Can you think of non-obvious reasons why this would be a bad idea? From the ViciPhone success stories it seems like websockets generally work well in practise.
(FWIW, this is about Vicidial Agent Screen <=> Vicidial Web Servers, not Agent Screen <=> custom app, which should be covered by http://vicidial.org/docs/WEBSOCKETS_SUPPORT.txt)
Is there any interest in converting the Agent Screen's comms with the webservers away from polling to using only websockets and push from the server?
As far as I can tell from https://caniuse.com/#search=websockets , websockets should be available in common browsers > 2012, so it should be supported in the wild.
It may well just move strain from the web browser to the web servers, as something would still need to check for updates server-side, unless an event-based system were implemented.
So before going down that road, is there any interest? Can you think of non-obvious reasons why this would be a bad idea? From the ViciPhone success stories it seems like websockets generally work well in practise.
(FWIW, this is about Vicidial Agent Screen <=> Vicidial Web Servers, not Agent Screen <=> custom app, which should be covered by http://vicidial.org/docs/WEBSOCKETS_SUPPORT.txt)