Initial sync

This commit is contained in:
2021-10-19 16:51:40 +02:00
commit 0bc0c10cef
14 changed files with 7424 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# Computer Networks
Computers can exchange data if they are connected which each other.
This means that they can share resources, like:
- Hardware resources
- Data
- Programs
in #client-server-architecture, a computer (server) hosts, delivers, and manages resources and providers services to clients trough computer networks.
Examples: gameservers, webservers, email servers, etc...
- Applications require a medium/structure for exchanging messages/data therefore we need a **network**
- A group of interconnected computers is called a network.
- Computers in a network can operate independently.
There are different types of computer networks: [[Network Types]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,31 @@
# Network Types
The interconnection between computers in a network can be done in 2 ways
## Broadcast network
![[broadcast-network.png]]
In a broadcast network, every message ([[Packet]]) is sent to every client on the network. Only intended recipients read the packet. Other clients will ignore.
### Disadvantages
- In a broadcast network you cant send multiple messages at the same time ([[collision problem]])
- Suffers from heavy load
- Cannot scale in size.
## Point to Point network
![[point-to-point-network.png]]
[[Packets]] in point-to-point networks are sent from one node to the other until the destination is reached.
Preferably the shortest path is taken.
## When use what
**Smaller Networks**
[[#Network Types#Broadcast network]]
Lighter traffic and lower possibility of collision (smaller dimension).
**Bigger Networks**
[[#Network Types#Point to Point network]]
Suits better.