Server-Sent Events vs AJAX Polling vs WebSockets for Notifications
I am building simple notificiation system and I just wanted to know what is the best technique to use to do the job, right now I am doing AJAX requests to server every 30 secs per user to check for new notifications.Since this will be entertainment site it is not crucial for notifications to be pulled in realtime. My main concern is browser support, conserving server resources and scalability, so which technique would best fit the job?
Server-Sent Events vs AJAX Polling vs WebSockets for Notifications
===

I am building simple notificiation system and I just wanted to know what is the best technique to use to do the job, right now I am doing AJAX requests to server every 30 secs per user to check for new notifications.Since this will be entertainment site it is not crucial for notifications to be pulled in realtime. My main concern is browser support, conserving server resources and scalability, so which technique would best fit the job?