Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AJAX real-time push/pull model

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am reading some AJAX real-time push/pull model.

1. for real-time data, we could use javascript to set a timer, call AJAX function to refresh data based on timer. is it what we say "pull model" ?

2. How "push model" works ? In the server side, how a server knows which client should be sent(push) data ? each client has different IP address .

3. what about network traffic ? is the performance good ?

Thanks.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not push data to a computer with an Ajax model. You would need to use Applets or Flex/Flash to do that effectively.

With Ajax you need to do polling/COMET to get data which can be a heavy load on the server.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic