DS Lecture 4 & 5
DS Lecture 4 & 5
MINISTRY OF TRANSPORT
NATIONAL INSTITUTE OF TRANSPORT
v Packets Transmissions
v Data Streaming
v Switching Scheme
v Protocols
v Routing
v Congestion Control
v Internetworking
Source: https://jenkov.com/tutorials/data-streaming/index.html
Source https://byjus.com/physics/circuit-switching/
Source https://www.javatpoint.com/computer-network-switching-techniques
The structure and the flow of data when a message is transmitted using a layered
protocol
Department of Computing and Communication
Technology (CCT) slide 53
Network Principles
Protocols:
v Protocol layers:
v On the sending side, each layer (except the topmost, or
application layer) accepts items of data in a specified format
from the layer above it and applies transformations to
encapsulate the data in the format specified for that layer
before passing it to the layer below for further processing
v On the receiving side, the inverse transformations are applied
to data items received from the layer below before they are
passed to the layer above
v The protocol type of the layer above is included in the header
of each layer, to enable the protocol stack at the receiver to
select the correct software components to unpack the
packets
Department of Computing and Communication
Technology (CCT) slide 54
Network Principles
Protocols:
v Protocol layers:
Source https://docs.oracle.com/cd/E19620-01/805-
4041/intro-78284/index.html
Source https://www.w3.org/People/Frystyk/thesis/TcpIp.html
2-node HA Cluster
Source https://en.wikipedia.org/wiki/High-availability_cluster
Source https://blog.purestorage.com/purely-informational/parallel-vs-distributed-computing-an-overview/
References: https://www.particleincell.com/2020/ubuntu-linux-cluster/
https://www.wikihow.com/Build-a-Supercomputer
https://www.tutorialspoint.com/how-to-install-and-configure-cluster-with-two-
nodes-in-linux
https://www.tecmint.com/setup-high-availability-clustering-in-centos-ubuntu/
https://www.digitalocean.com/community/tutorials/how-to-create-a-
redundant-storage-pool-using-glusterfs-on-ubuntu-20-04
https://upcloud.com/resources/tutorials/haproxy-load-balancer-ubuntu
https://tecadmin.net/how-to-setup-haproxy-load-balancing-on-ubuntu-
linuxmint/
https://deploy.equinix.com/developers/guides/load-balancing-ha/