chapter2 Flashcards

1
Q

network application

A

network application are those application which connect diff devices on the globe

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

an network applicatin must work on diff end explain
also explaion why we can not write code for network core

A

1) write a prog which can run on diff end system i.e host and server
2)note : we do not need to write code to run this application on network core i.e routers etc because they function on lower layer rather then application layer

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

are the netwrok arch diff from the application arch

A

yes very diff

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

two important type of application arch is

A

client-server archt and peer to peer archt(p2p)

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

what is client server arch and what is ment by data center in this arch

A

in this arch we have a host called as server and a client here the host give service to client requests the host have unique adddress called ip address when the clint want to contact the host so he will be using the ip adddress the host is always running and the client can not cumminacate with other client like twp web pages or two web brwoser can not interfare each other
well data center can be defind as a set of large number of servers which cumminate with very large number of hosts ,
we need data center beacsue a one single server can not handle large number of requests from the clinet
google has 19 data center

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

peer to peer arch , benefit , drawback

A

here the arch do not need server here the directly cumminate with other host called peer these peer are in the desktop mobile etc controlled by user
example is file sharing applications
benfit are scaleblity and cost effective as we do not need server so no bedwith
drawbask are challenges of security, performance, and reliability due to their highly
decentralized structure.

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

proccess cumminacting def , proccess inside the same end system, process cummin outside of end sys, and how they cumminate outside of endsystem

A

an application running on end system is called process
the proccees running in the end system can be refer as programme also and they cumminate by interprocess cumminate
a process outside the end system can cumminate by exchanging the messages across computer network
process is just a way of exchanging messages

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

Client and Server Processes def and detail

A

in the netwrok application we have two types of arch i.e client server here the clinet broweser send messsage to serevr by browser proccess so called clinet process and the server respond to the request by server process called server process
in p2p the clinet server is those that dowlload the data and serevr process is that uplaod the file or data
note in p2p the same divice can be both client and server process

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

define socket and how does it help in proceesing the messges

A

the process send or recove the messages from a network through software interface called socket this socket can be represented as the door of house and the house is a process so if process want to send a message it must use door and from door by cumminaciting path this message will reach to other door i.e socket and the finally house called process

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

s shown in this figure, a socket
is the interface between the application layer and the transport layer within a host

A

remeber it

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

a socket is also known as Application Programming Interface (API) why ?

A

because the socket is interface between the application layer and the network layer

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

addressing process what is it and why we need

A

in seding emai we need the destination address called the addressing process , we can also send packet from one host to other but we must know about the destination host address

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

what is ip addresss, and what is port number why we need port number

A

ip is defind as the unique 32 bit address of a host
port number is which help us in remembering sending the porcess and also in recinvign the process
a web server is identifd by 80 port number

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

services of transport layer protocol that gives to application are 4 name them

A

relaible data transfer, throuput , timing and security

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

one service of transport layer is reliable data transfer what is it?

A

reliable data transfer mean when there is no loos of data from one end to other end system

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

one service of transport layer is throughput what is it?

A

throughput means the rate at which a sending porcess send messge to the reciver porcess it is r bits/sec
here the layer must proovide an throughput that is constant that is no matter what happen but the throught put can not be less then Rbits/sec
those divice which can not operate below a spefic throuput are called bendwith-sensative application

17
Q

name two trasnport protocol provoded by internet is

A

tcp and udp

18
Q

TCP is a transport protocol provoded by internet and it have connection orineted services and reliable data transfer what does it means

A

connection orineted xservices: this means before the exchanging of data the server and cleint are already alert to stay prepare for data this is called hand shakking
relaible data transfer : this means no loos of data

19
Q

UDP servces

A

it is lightwaight it is connectioless so no handshaking before data and also no relaible data transfer

20
Q

application layer protocol ?

A

application layer protocol defines how an application process and it gives follwing services
1)type of messages exchanged i.e recving and sending
2)syntax of messages
3) meaning of messages
4) when and how to respond a message
web browser use HTTP application layer protocl

21
Q

all short detail about HTTP , how messages are send va HTTP, why HTTP is called statless protocol

A

HTTP is application layer prorcol uses by web application
HTTP is installed on both server and client end system so thus the cleint and server both cumminate via HTTP protocol
in sending messages the clint brwoser(chromm) send request via an interface that is a door by http and then tcp takes that messages and reach this to sever door i.e interface and then server http take this message and respomd it since we are using tcp so we are sure that no looos of data
http is also called statless protocol becasue on the server side the server do not rembebr the client infor like if a client reqeust an image and if he request again so server will respond again becasue server do not know that the cleint already requested the image

22
Q

non persistent and persistent connection ?

A

non persistent : those connection where the sending and recing pear of messages take place on diff tcp
persistent : take place on single tcp

23
Q

RTT or rount trip time meaning

A

which is the time it takes for a small packet to travel from client to server
and then back to the client. The RTT includes packet-propagation delays, packet-
queuing delays in intermediate routers and switches, and packet-processing delays

24
Q

what is cookies and how many componen it have

A

cookies are used to keep track of users
they have 4 major component
1) cookie headler line in http which recive message
2)cookie headler line in http which send message
3)cookie file kept in user end system browser
4) a backend database kept in server

25
Q

web cache is also called proxy server what is web cache and why we use it

A

web cache is also called a proxy sever beacuse it has it is own local disk which keeps copies of recently requested obj
for example if i want an obj so my browser will send http request to web cache if the obj is present so web cache will respond otherwise the web cache will request the obj form origin serevr make a copy in its own local disk and then rspond to the request

26
Q

conditional get used in cache

A

this request is used when the cache want to know the obj inside cache is modified or not
the request look like this
An HTTP request message is a so-called conditional GET message if
(1) the request message uses the GET method and (2) the request message includes an
If-Modified-Since: header line.

27
Q

why we use ip address

A

ip address are used for routers because we humen can not remember the ip addre of each site and if we use the name so routers can not process it
so this reason fr humen we have names like www.google.com and for router we have its ip address

28
Q

brief intro of ip address

A

ip address consist of 4 bytes and it has hierarchical structure

29
Q

. All DNS query and reply mes-
sages are sent within UDP datagrams to port 53.

A

. All DNS query and reply mes-
sages are sent within UDP datagrams to port 53.

30
Q

what is centrlized dns design and there problem

A

a centrliezed design is system that dns has only one server and all mapping are done there
they have prob like as below
1)if dns crash so whole internet fails because it is one and sigle dns
2)one dns so allot of traffic
3)one dns so alot of distence from some pionts
4)lot of maintance are required