![javascript - In what situations would AJAX long/short polling be preferred over HTML5 WebSockets? - Stack Overflow javascript - In what situations would AJAX long/short polling be preferred over HTML5 WebSockets? - Stack Overflow](https://i.stack.imgur.com/0XFxb.png)
javascript - In what situations would AJAX long/short polling be preferred over HTML5 WebSockets? - Stack Overflow
![Short Polling to HTTP Server with Underlying SQL Database (not to scale) | Download Scientific Diagram Short Polling to HTTP Server with Underlying SQL Database (not to scale) | Download Scientific Diagram](https://www.researchgate.net/publication/311289465/figure/fig1/AS:434633272762369@1480636056030/Short-Polling-to-HTTP-Server-with-Underlying-SQL-Database-not-to-scale.png)
Short Polling to HTTP Server with Underlying SQL Database (not to scale) | Download Scientific Diagram
Alex Xu on Twitter: "/1 Can a web server provide real-time updates? An HTTP server cannot automatically initiate a connection to a browser. As a result, the web browser is the initiator.
![Short Polling to HTTP Server with Underlying SQL Database (not to scale) | Download Scientific Diagram Short Polling to HTTP Server with Underlying SQL Database (not to scale) | Download Scientific Diagram](https://www.researchgate.net/profile/David-Cutting-2/publication/311289465/figure/fig2/AS:434633276956672@1480636056095/Long-Polling-to-HTTP-Server-with-Underlying-SQL-Database-not-to-scale_Q320.jpg)
Short Polling to HTTP Server with Underlying SQL Database (not to scale) | Download Scientific Diagram
![Understand and Implement Long-Polling and Short Polling in Node.js | by Poorshad Shaddel | Level Up Coding Understand and Implement Long-Polling and Short Polling in Node.js | by Poorshad Shaddel | Level Up Coding](https://miro.medium.com/v2/resize:fit:1400/1*upv4jqCsozxw6Yls1_7aww.png)