title: Real time notifications on shared hosting (PHP, MySQL, Yii)
body: <p>I'm currently developing a website that requires a push notification style system like Facebook notifications. I would like the user to be notified when an event occurs such as "X added you as a friend"...</p>
  
  <p>I've been looking into my options however they seem to be extremely limited as the website will be hosted on a shared hosting platform therefore I have limited access etc.</p>
  
  <p>1) Looking at long polling comet style - as I can't run Python on the server, my only option here is PHP for the server script however due to thread consumption this probably isn't a very scalable option.</p>
  
  <p>2) WebSockets - these look great but with browser support limited it doesn't seem plausible just yet..</p>
  
  <p>So - has anyone accomplished this on a shared hosting platform? I'd rather not have to use a service like Pusher.</p>
  
  <p>Many thanks!! :)</p>
  
  <p>PS - I'm using Yii framework - any solutions with that in mind would be even better</p>