Lesson 2 Flashcards
Types of messages exchanges in App-layer protocols
Request and Response
Example of Proprietary Protocols
Skype
Define (6) App-layer protocol
- Types of Messages exchanged
- Message Syntax
- Message Semantics
- Rules for when and how processes send and respond to messages
- Open Protocols
- Proprietary Protocols
Example of Network Apps
- Web
- Text Messaging
- Remote Log In
- P2P File Sharing
- Multi-user network games
- Streaming Stored Video
- Voice Over IP
- Real-Time Video Conferencing
- Social Networking
- Search
Example of Streaming Stored Video
Youtube, Hulu, Netflix
Example of Voice Over IP
Skype
2 Application Architectures
Client-Server
Peer-To-Peer
it includes both IP address and port numbers associated with progress on host
Identifier
Port Numbers
HTTP Server:
Mail Server:
HTTP Server: 80
Mail Server: 25
Transport Services an App need
- Data Integrity
- Timing
- Throughput
- Security
it is a measure of how many units of information a system can process in a given amount of time.
throughput
What is throughput
it is a measure of how many units of information a system can process in a given amount of time.
What do you call when valuable or sensitive information on a computer is compromised due to theft, human error, viruses, malware, or power failure
Data Loss
File Transfer in Throughput
Elastic Throughput
Email in throughput
Elastic Throughput
Web Documents in Throughput
Elastic
Throughput: Real-time Audio (kbps)
5kbps-1mbps
Throughput: Real-time Video (kbps)
10kbps-5mbps
Throughput: Stored Audio
5kbps-1mbps
Throughput: Stored Video
10kbps-5mbps
Throughput: Interactive Games
Few kbps up
Throughput: Text Messaging
Elastic
DATA LOSS: FILE TRANSFER
No Loss
DATA LOSS: Email
No Loss
DATA LOSS: Web Documents
No Loss
DATA LOSS: Real-Time Audio/Video
Loss-Tolerant
DATA LOSS: Stored Audio/Video
Loss-Tolerant
DATA LOSS: Interactive Games
Loss-Tolerant
DATA LOSS: Text Messaging
No Loss
3 TCP SERVICES
- Reliable Transport
- Flow Control
- Congestion Control
Does TCP Service provide Timing and Minimum throughput?
No
In UDP Service, is data transfer unreliable?
Yes
UDP Service does not provide the following (8):
- Reliability
- Flow Control
- Congestion Control
- Timing
- Throughput
- Guarantee
- Security
- Connection Set Up
It define the language that network applications speak to fulfill user requests
Application Layer protocol
Refers to HTML file, JPEG Image, Java Applet, Audio File
Object
Webpage consist of _________ like HTML-FILE
Objects
is a browser that requests, receives using HTTP protocol
client
sends objects in response to requests,
Server
It uses HTTP Protocol
Server
They use to initiate TCP connection to HTTP server in Port 80
HTTP client
is HTTP is STATELESS?
YES
HTTP client request message contains what?
URL (or objects)
What is the format of HTTP request message?
ASCII
3 GENERAL FORMAT OF HTTP REQUEST MESSAGES
Request Line
Header Line
Body
4 TYPES OF HTTP REQUEST MESSAGES
Post Method
Get Method
Head Method
Put Method
TYPES OF HTTP REQUEST MESSAGES:
- Web page often includes form input
- User input sent from client to server in entity body of _________ request message
POST METHOD
Include user data in URL field of HTTP request message (following a’?’)
Get Method
Requests headers (only) that would be retired if specific URL were requested with an HTTP GET method
Head Method