File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes Push Model, Pull model Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Push Model, Pull model" Watch "Push Model, Pull model" New topic
Author

Push Model, Pull model

Vasim Patel
Ranch Hand

Joined: Apr 29, 2004
Posts: 87
Hi
I am not sure if this is the right group to post this message.

I needed to know the difference btn push model and pull model in distributed computing.

thanks
Vasim
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Yes, this is the right forum.

"Push" means that the server sends information to the clients. The most common model of this is usually called "Publish/Subscribe" because the clients "subscribe" to the server and the server "publishes" information to all the clients when the information is ready on the server.

"Pull" means that the client requests information from the server. The client requests information at the time that the client needs it and gets the current state of information on the server.

Neither one of these approaches are, in general "better" than the other, however, in certain circumstances, or for certain applications, one approach is a better match than the other.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Kareem Gad
Ranch Hand

Joined: Aug 06, 2001
Posts: 89
In relation to this topic, I posted "A Story of 8 Servers" earlier and i had a certain approach in mind. More inclined towards the "push" model.

Would you say it is more suited to follow a push approach in this case ?


<b><i>KaReEm</i><br /><ul type="square"><li>SCJP-Free Range Web Developer <br /></ul></b>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Push Model, Pull model