What Do The Client/Server And Peer-To-Peer Network Models Have In Common?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What do the client/server and peer-to-peer network models have in common?
Now, let us learn about the client-server model and the peer-to-peer model. These two are the two networking models.
The client-server model, that requires the central servers that are responding to the client requests. And the peer-to-peer network model, there are different variations in the peer-to-peer network model. Now let us look briefly into each of the client-server and the peer-to-peer models.
When we go in a traditional way, the networking has been built on the client-server architecture. In the client-server model, two computers typically can communicate with each other by using the ad of the request the response.
The quiet requestor who asking for the service is the client.
And the responder is the one that servicing and takes the role of a server. In the client-server model, the files are downloaded from the server, and files are uploaded by the client, so when we think of the computers, it looks like we are downloading the webpages, files, or any other data. When we are sending the information, we are usually uploading the information to the server or by uploading the request.
The servers can have multiple clients that request the information at the same time.
The server needs software and also needs processing power and the memory and stage. The server has to see that every client should maintain the window sizes congestion window sends the window and receive the window sequence numbers, all this information should be maintained for each client that takes the more processing memory.
Now let us discuss the peer to peer, networking model. In the peer-to-peer model, the landers with the IPV4 mostly concerns.
The peer-to-peer can decentralize the resources on a network, it says that anybody can be a server and the data can be located anywhere. On any connected device, in the peer-to-peer architecture, the data is accessed from a peer device to another peer device without going through any kind of dedicated server.
In the peer-to-peer model, anybody can access the information and anybody can share the information together. Each device can be known as a peer and can function as both the client and the server.
There are some common peers to peer networks, let us discuss each of them briefly. Bitcoin, G2, BitTorrent,eDonkey are some of the examples of the peer-to-peer network. One of the main problems in peer to peer model is that the private IPV4 addresses as an act, the customer can communicate with another customer if they have the same private IPV4 address. We cannot just directly connect with each other.
We use the index server to make the connection between the two servers. After the connection is established, there is no need to communicate with the index server.
We use the TCP/IP hole punching and the NAT traversals that add some of the complications to the application like network latency delay. It is just a workaround to allow these two private network devices to be able to communicate with each other. We can use the IPV6 where we can directly communicate with each other without any private IPs.