Showing posts with label data model. Show all posts
Showing posts with label data model. Show all posts

Sunday, 4 January 2015

Difference between Peer to Peer and Client Server Data Model



Parameter
Peer to Peer Model
Client Server Model
Definition
It is the Network Model, in which all nodes on the network are treated as peers that can work either as client or server depending upon that whether it is providing service or getting service.
It is the Network model in which there is one main controller (Server) which provides services to all connected nodes (Clients).
Network Joining
System must join network of peers and must register itself with centralized lookup service.
System must be joined to server to request services.
Service Request
If a peer is working as client than it must first discover that peer which is providing that service and hence uses a broadcast request system.
All the requests of clients are served by Server only.