Currently i am using jquery ajax request in setinterval to pull data
from a php script which gets me the latest notifications for the
logged in user in realtime using set interval but somehow i fee since
setinterval has to keep on going and running the script without even
knowing whether there is something new to pull or not is just a waste
of resources and even slows down the browser sometimes for other ajax
requests in parallel... Can somebody help me to solve this using
nodejs where it automatically sends the data to the html element only
when there is data for him... Kind of push notification...

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
  • [nodejs] Gettin... Abhiraj Malhotra (SaaS Evangelist - Chalkpad Technologies)

Reply via email to