From d19f560cf5271f300eba76506ba6c0288248a7db Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Fri, 26 Jan 2024 12:01:10 -0400 Subject: [PATCH] 2024-01-26 12:01:09 --- .obsidian/workspace.json | 10 ++++---- UNB/Year 4/Semester 2/CS3873/2024-01-26.md | 28 ++++++++++++++++++++++ 2 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 UNB/Year 4/Semester 2/CS3873/2024-01-26.md diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 62487f2..3ab1918 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -13,7 +13,7 @@ "state": { "type": "markdown", "state": { - "file": "UNB/Year 4/Semester 2/STAT2593/2024-01-26.md", + "file": "UNB/Year 4/Semester 2/CS3873/2024-01-26.md", "mode": "source", "source": false } @@ -85,7 +85,7 @@ "state": { "type": "backlink", "state": { - "file": "UNB/Year 4/Semester 2/STAT2593/2024-01-26.md", + "file": "UNB/Year 4/Semester 2/CS3873/2024-01-26.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -102,7 +102,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "UNB/Year 4/Semester 2/STAT2593/2024-01-26.md", + "file": "UNB/Year 4/Semester 2/CS3873/2024-01-26.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -125,7 +125,7 @@ "state": { "type": "outline", "state": { - "file": "UNB/Year 4/Semester 2/STAT2593/2024-01-26.md" + "file": "UNB/Year 4/Semester 2/CS3873/2024-01-26.md" } } }, @@ -159,6 +159,7 @@ "active": "64b233ae6a058454", "lastOpenFiles": [ "UNB/Year 4/Semester 2/STAT2593/2024-01-26.md", + "UNB/Year 4/Semester 2/CS3873/2024-01-26.md", "UNB/Year 4/Semester 2/CS2333/2024-01-22.md", "UNB/Year 4/Semester 2/CS2333/2024-01-24.md", "UNB/Year 4/Semester 2/CS3873/2024-01-24.md", @@ -190,7 +191,6 @@ "Semester 1/CS3418/11-27-2023.md", "Semester 1/CS3418/11-24-2023.md", "Semester 1/CS3418/11-15-2023.md", - "Semester 1/CS3418/11-13-2023.md", "Semester 1/CS2418", "Semester 1/CS3418" ] diff --git a/UNB/Year 4/Semester 2/CS3873/2024-01-26.md b/UNB/Year 4/Semester 2/CS3873/2024-01-26.md new file mode 100644 index 0000000..b988f07 --- /dev/null +++ b/UNB/Year 4/Semester 2/CS3873/2024-01-26.md @@ -0,0 +1,28 @@ +Lecture Topic: Web Protocols +# Encapsulation/Decapsulation +Each layer of a network adds a header, that encapsulates the rest of the data +When a packet is decapsulated, each layer strips away its header after it is done processing + +# Network Applications +Applications are *distributed* since they involve multiple end systems that exchange dat which each other + +## Application Architectures +Dictates how applications interact on a network +- Client/Server architecture + - Server: An always on host which services requests from many other hosts + - Data is often stored on the server + - Data centers can be used to create powerful virtual servers + - Clients: Connect through to the server +- Peer to peer architecture + - No always on server + - Arbitrary end systems directly communicate + - Peers request service from other peers and provide service in return to other peers + - Self scalability: New peers bring new service capacity as well as new service demands + - Peers are intermittently connected and change IP addresses (complex management) + - Examples include BitTorrent (P2P file sharing) + +# Basics of Web and HTTP +Invented by Tim Burners-Lee +Client Server model +- Client is a web browser that requests and receives, and then displays web objects +- Server is a web server that sends objects in response to