2.1 Flashcards

1
Q

define client-server architecture

A

server:
always on host
permanent IP address
data centres for scaling

clients:
communicate with server
not always connected 
may have dynamicIP addresses
do not communicate directly with each other
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

define P2P architecture

A

not always on server
arbitrary end systems directly communicate
peers request service from other peers, provide service in return to other peers
peers are intermittently connected and change IP addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

define self scalability

A

new peers bring new service capacity and service demands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

define process and what are 2 kinds of processes

A

process is a program running with in a host
within the same host two processes communicate using interprocess communication
processes in different hosts use message

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the client process do?

A

Initiates communication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the server process do?

A

waits to be contacted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What do sockets do?

A

send and received messages to/from their sockets, like a door

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the application layer protocol define?

A
  • types of messages exchanged
  • message syntax
  • rules
  • open protocols
  • proprietary protocols
  • message semantics
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What transport service does an app need?

A

data integrity

  • some apps require 100% reliable data transfer(web transaction, file transfer)
  • other apps (audio) can tolerate some loss

timing
- some apps require low delay to work as intended
throughput
-some apps(multimedia) require minimum amount of throughput to work as intended
security
-encryption/data entrigrity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Features of TCP

A

reliable transport
flow control
congestion control
doesn’t provide timing, minimum throughput guarantee , security
connection-oriented: requires setup between client and server processes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Features of UDP

A

unreliable data transfer between sending and receiving process
doesn’t provide reliability,flow control, congestion control, timing, throughput guarantee, security, or connection setup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly