Client Server / Peer to Peer

From TRCCompSci - AQA Computer Science
Revision as of 14:19, 18 November 2019 by 000031704 (talk | contribs) (Question 5)
Jump to: navigation, search

Overview

CraigNDave

https://www.youtube.com/watch?v=Z67WhfeBIgg&list=PLCiOXwirraUDvVsza-xO2mMwW9QBIa_FG&index=2

Computer Science Tutor

https://www.youtube.com/watch?v=TdQgP_Gee_A&list=PL04uZ7242_M6O_6ITD6ncf7EonVHyBeCm&index=29

TRC PowerPoint

Client Server vs Peer to Peer

Client-Server

In a client-server network you have a special class of device called a server, and normal devices called clients. A client device is used during normal day to day tasks, but a server is dedicated just to the task assigned. In client-server networks, client devices make requests for network services to servers, multiple servers may be used for different services. A large network may have a file server, print server, email server, back-up etc. All data is stored on a central server that users can then access, this makes it easier to back up data as it is all in one place. Login servers can be used allowing user accounts and passwords to be the same across all machines, allowing for easy control over access rights.

Advantages

  • All files are stored in a central location, and be accessed from any machine.
  • Network peripherals are controlled centrally, allowing you to share multiple printers from a single server.
  • Backups and network security is controlled centrally, requires the backup of a single location.
  • Users can access shared data which is centrally controlled, users can login to any machine.

Disadvantages

  • A specialist network operating system is needed.
  • The server is expensive to purchase.
  • Specialist staff such as a network manger is needed.
  • If any part of the network fails a lot of disruption can occur.

Peer-Peer

In a peer to peer network all devices are of equal class. Unlike Client-Server networks, there are no dedicated servers in peer-peer networks. Each workstation in the network acts as both client and server, leaving each individual user to choose what is to be shared between workstations. If passwords are required they are have to be changed individually between multiple devices, making these kind of networks extremely difficult to scale into large organisations. They are also more insecure due to permission management of shares being managed individually.

Advantages

  • No special operating system required or any servers (they cant be used as a normal machine).
  • Flexible with the ability to add new machines and share resources.
  • You can decide what resources will be shared by each machine.

Disadvantages

  • Users will have different accounts and passwords on different machines.
  • Backups will need to be done on each machine to prevent data loss.
  • Sharing a connected resource could slow the machine down for the person using the actual machine.
  • You reach a point where it is impossible to manage, user permissions and accounts will need to be set on each machine.

Revision Questions

Question 1

1. which of these are disadvantages of client server?

hard to manage many devices
harder to backup than peer to peer
cannot stop people from accessing data
none of the above

Your score is 0 / 0

Question 2

Question 3

1. Which is more expensive to set up?

Peer-to-peer network
Ew no.
Client-server network
Oh wow you got that right.

Your score is 0 / 0


Question 4

1. A client server is best used with a small number of computers within a network

True
False

Your score is 0 / 0


Question 5

1. which of these are true about peer to peer networks?

They are cheaper to set up than client server networks
all of the devices are controlled by a central server
They require special hardware
They are easy to set up

2. Why would a peer-peer network be more suitable for a home network?

Stores all files centrally.
Requires no additional hardware.
Easy to set up.
One set of login details for all devices.

Your score is 0 / 0