Computer Networks · TEE · papers

Q3(a) · Network models

2023-11-22 · Final 2023-24 / Re-exam 2022-23

Actual paper; 100 marks attempted. Current-syllabus alignment is stated per question.

Q3(a). Distinguish between peer-to-peer communication and client-server communication. [5 marks]

Answer

In a client-server design, users’ clients contact designated service processes. In peer-to-peer (P2P), participating hosts can supply and consume resources. These are application organizations, not different physical cable types.

Swipe across the diagram to read its labels ↔
Client-server and peer-to-peer organization
Diagram: Client-server and peer-to-peer organization. Labels: Client-server and peer-to-peer organization | Client-server and peer-to-peer organization | Client-server | Peer-to-peer | Server | C1 | C2 | P1 | P2 | P3 | Peers can supply and consume. A central service can be replicated.
Central service versus cooperating peers.
PointClient-serverPeer-to-peer
RolesClients request; designated servers provide servicesPeers can both request and provide resources
ControlCentral policies, accounts and backups are easier to coordinateControl and copies distributed among peers
PerformancePredictable with adequate server capacity; server may bottleneckResources grow with peers, but peer capacity/availability vary
ScalabilityScale servers, replicas, caching and load distributionMore peers can contribute capacity; coordination becomes harder
ReliabilityOne unreplicated server is a failure point; replication helpsLoss of one peer need not stop system if useful replicas remain
SecurityCentral access control and monitoringTrust and consistent access policy are harder
Best fitManaged collaboration, databases, login servicesDistributed content sharing among participating peers

Apply to the platform

Central servers can authenticate users, maintain the authoritative shared document and control versions. The organization must provision capacity, replicate data and avoid a single server failure. P2P can exchange large files or local edits among peers and distribute load, but needs discovery, conflict resolution, trust and availability strategies. A hybrid can keep account control centralized while distributing selected content.

Yaad rakho: Server mein service central; peers dono roles karte hain.