Showing posts with label client server model. Show all posts
Showing posts with label client server 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.

Saturday, 30 March 2013

Peer to Peer and Client Server Model

Client Server Model
Client Server model is a Networking Technique in which one of two roles are assigned  to the computers in a network: Client or server.server is a computer system that selectively shares its resources and provide services to its clients; client is a computer that make use of a resources with the help of server. Some features of this model are:
1)There will be atleast one Server and any no. of clients.
2)Server Provides services to clients.eg. if client 1 wants to access internet,then it will make request to server.server will check its rights and will provide access to internet as per rights assigned.Similarly if anybody wants to communicate with client 1 ,then it will authorized by server to gain access.
3)There is centralized controlling hub hence more security and rights assignment can be implemented.
4)Failure of Server will fail the entire network.
5)Clients and servers exchange messages in a request-response messaging pattern: The client sends a request, and the server returns a response.