Difference between revisions of "Client Server / Peer to Peer"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Question 1)
(TRC PowerPoint)
 
(4 intermediate revisions by 3 users not shown)
Line 9: Line 9:
  
 
https://www.youtube.com/watch?v=TdQgP_Gee_A&list=PL04uZ7242_M6O_6ITD6ncf7EonVHyBeCm&index=29
 
https://www.youtube.com/watch?v=TdQgP_Gee_A&list=PL04uZ7242_M6O_6ITD6ncf7EonVHyBeCm&index=29
 
===TRC PowerPoint===
 
[https://studentthomrothac-my.sharepoint.com/:p:/g/personal/wayne_jones_thomroth_ac_uk/ESBQ7_WhKQ1NvAhbt9bIReUBgy0YYmfvgS5XX5STS9KVEw?e=PffL6S Client Server vs Peer to Peer]
 
  
 
==Client-Server==
 
==Client-Server==
Line 44: Line 41:
  
 
=Revision Questions=
 
=Revision Questions=
===Question 1===
+
 
 
<quiz display=simple>
 
<quiz display=simple>
 +
{What is a peer to peer network?
 +
| type="()" }
 +
- Made up of devices with equal status with a server.
 +
|| Incorrect. A p2p does not have a server.
 +
+ Made up of devices with equal status with no servers.
 +
|| Correct!
 +
- Made up of  one device with no servers.
 +
|| Incorrect. A p2p has more than one device.
 +
- Made up of  one device with a server.
 +
|| Incorrect. A p2p has more than one device and no server.
 +
 +
{Which of these are advantages of peer-to-peer (less than 10 devices)?
 +
|type="[]"}
 +
+ Easy to maintain few device.
 +
|| Easy to manage few devices.
 +
- Easy to backup.
 +
|| Harder to backup as have to do all.
 +
+ Low cost to set up.
 +
|| No special software or hardware are required.
 +
- Users will have different accounts and passwords on different machines.
 +
|| Makes it harder to run all the accounts and causes problems.
 +
 +
{ Which of these are disadvantages of a peer-to-peer network?
 +
| type="[]" }
 +
 +
+ User will need to have a password on each machine they want to use
 +
- No special operating system is required
 +
- Has the ability to choose what resources will be shared
 +
+ Using a service connected to one machine will affect the user on that machine
 +
 
{which of these are disadvantages of client server?
 
{which of these are disadvantages of client server?
 
|type="[]"}
 
|type="[]"}
Line 68: Line 95:
 
|yes that is true
 
|yes that is true
  
</quiz>
 
  
===Question 2===
 
<quiz display=simple>
 
 
{ Which of these are advantages of using a client-server network?
 
| type="[]" }
 
 
+Centralised data storage and backups
 
||Correct, as the server is used to store data and backups.
 
-Cheaper than peer-to-peer
 
||Incorrect - client-server networks are more expensive due to more hardware required.
 
+Expandable to support more clients
 
||Correct, as client-server networks can be expanded, while peer-to-peer networks function worse as they expand.
 
+Devices can have different statuses
 
||Correct - in client-server networks, different devices can be given different statuses within the network.
 
-Devices have equal statuses
 
||Incorrect, this is only true for peer-to-peer networks
 
 
</quiz>
 
 
===Question 3===
 
<quiz display=simple>
 
 
{ Which is more expensive to set up?
 
{ Which is more expensive to set up?
 
| type="()" }
 
| type="()" }
 
- Peer-to-peer network
 
- Peer-to-peer network
|| Ew no.
+
|| This would be incorrect as no additional hardware like a server is required
 
+ Client-server network
 
+ Client-server network
|| Oh wow you got that right.
+
|| This is correct as additional hardware is required for the centralised server.
</quiz>
 
  
===Question 4===
 
<quiz display=simple>
 
 
{A client server is best used with a small number of computers within a network
 
{A client server is best used with a small number of computers within a network
 
|type="()"}
 
|type="()"}
Line 106: Line 108:
 
+ False
 
+ False
  
</quiz>
 
 
===Question 5===
 
<quiz display=simple>
 
 
{ which of these are true about peer to peer networks?
 
{ which of these are true about peer to peer networks?
 
| type="[]" }
 
| type="[]" }
Line 119: Line 117:
 
||
 
||
 
+They are easy to set up
 
+They are easy to set up
</quiz>
+
 
===Question 5===
 
<quiz display=simple>
 
 
{Which of the following would be more suited to a client server network?
 
{Which of the following would be more suited to a client server network?
 
|type="[]"}
 
|type="[]"}
Line 132: Line 128:
 
+ A hospital
 
+ A hospital
 
|Backups will likely be made frequently so that you don't lose any patient information. There is a lot of confidential information on a hospital network which you wouldn't want all accounts being able to view
 
|Backups will likely be made frequently so that you don't lose any patient information. There is a lot of confidential information on a hospital network which you wouldn't want all accounts being able to view
</quiz>
 
  
===Question Six===
 
<quiz display=simple>
 
 
{In large quantities, peer to peer systems are easy to back up  
 
{In large quantities, peer to peer systems are easy to back up  
 
|type="()"}
 
|type="()"}
Line 142: Line 135:
 
+ FALSE.
 
+ FALSE.
 
|| Yes
 
|| Yes
</quiz>
 
  
===Question 7===
 
<quiz display=simple> 
 
 
{What is a peer to peer network?
 
| type="()" }
 
- Made up of devices with equal status with a server.
 
|| Incorrect. A p2p does not have a server.
 
+ Made up of devices with equal status with no servers.
 
|| Correct!
 
- Made up of  one device with no servers.
 
|| Incorrect. A p2p has more than one device.
 
- Made up of  one device with a server.
 
|| Incorrect. A p2p has more than one device and no server.
 
 
</quiz>
 
 
===Question 8===
 
<quiz display=simple>
 
{Which of these are advantages of peer-to-peer (less than 10 devices)?
 
|type="[]"}
 
+ Easy to maintain few device.
 
|| Easy to manage few devices.
 
- Easy to backup.
 
|| Harder to backup as have to do all.
 
+ Low cost to set up.
 
|| No special software or hardware are required.
 
- Users will have different accounts and passwords on different machines.
 
|| Makes it harder to run all the accounts and causes problems.
 
</quiz>
 
 
===Question 9===
 
<quiz display=simple>
 
 
{ Which of these are not advantages of a peer-to-peer network?
 
| type="[]" }
 
 
+ User will need to have a password on each machine they want to use
 
- No special operating system is required
 
- Has the ability to choose what resources will be shared
 
+ Using a service connected to one machine will affect the user on that machine
 
 
</quiz>
 
 
===Question 10===
 
<quiz display=simple>
 
  
 
{''what server would be best for a large scale company''?
 
{''what server would be best for a large scale company''?
Line 206: Line 153:
 
- Can scale with clients much easier
 
- Can scale with clients much easier
 
+ You can decide what resources will be shared by each machine
 
+ You can decide what resources will be shared by each machine
</quiz>
 
  
===Question 11===
+
 
<quiz display=simple>
 
{ which of these are disadvantages of a client server.
 
| type="[]" }
 
+ Reliant on the server.
 
|| Epic.
 
+ requires additional hardware and software.
 
||Remember it is per second.
 
+ Its expensive.
 
||Bit rate is the number of bits transmitted per second.
 
- Its hard to maintain.
 
||Bit rate is the number of bits transmitted per second.
 
 
</quiz>
 
</quiz>

Latest revision as of 07:14, 23 August 2023

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

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

1. What is a peer to peer network?

Made up of devices with equal status with a server.
Incorrect. A p2p does not have a server.
Made up of devices with equal status with no servers.
Correct!
Made up of one device with no servers.
Incorrect. A p2p has more than one device.
Made up of one device with a server.
Incorrect. A p2p has more than one device and no server.

2. Which of these are advantages of peer-to-peer (less than 10 devices)?

Easy to maintain few device.
Easy to manage few devices.
Easy to backup.
Harder to backup as have to do all.
Low cost to set up.
No special software or hardware are required.
Users will have different accounts and passwords on different machines.
Makes it harder to run all the accounts and causes problems.

3. Which of these are disadvantages of a peer-to-peer network?

User will need to have a password on each machine they want to use
No special operating system is required
Has the ability to choose what resources will be shared
Using a service connected to one machine will affect the user on that machine

4. 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
it is more expensive as it requires additional hardware to function

5. which of these are advantages of client server?

easy to manage many devices
easier to backup than peer to peer
easier to set up
it is more expensive as it requires additional hardware to function

6. Which is more expensive to set up?

Peer-to-peer network
This would be incorrect as no additional hardware like a server is required
Client-server network
This is correct as additional hardware is required for the centralised server.

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

True
False

8. 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

9. Which of the following would be more suited to a client server network?

A bank
A home network
A large office
A hospital

10. In large quantities, peer to peer systems are easy to back up

TRUE.
This is only the case for a client server network
FALSE.
Yes

11. what server would be best for a large scale company?

client-server
peer-to-peer servers

12. Why would peer-to-peer be a better choice in places like a home or a relatively small business?

More security overall
Easier to backup and store data
No additional hardware or software needed
Less expensive overall
Users can access shared data which is centrally controlled
Can scale with clients much easier
You can decide what resources will be shared by each machine

Your score is 0 / 0