preview

Assignment 1

Decent Essays

1 A client sends a 200 byte request message to a service, which produces a response containing 5000 bytes. Estimate the total time to complete the request in each of the following cases, with the performance assumptions listed below: i) Using connectionless (datagram) communication (for example, UDP); ii) Using connection-oriented communication (for example, TCP); iii) The server process is in the same machine as the client. [Latency per packet (local or remote,incurred on both send and receive):5 milliseconds Connection setup time (TCP only):5 milliseconds Data transfer rate:10 megabits per second MTU:1000 bytes Server request processing time:2 milliseconds Assume that the network is lightly loaded.] Ans. The send and get latencies …show more content…

Ans. I) The long span of sessions, the requirement for unwavering quality and the unstructured arrangements of characters transmitted make association situated correspondence most appropriate for this application. Execution isn't basic in this application, so the overheads are of little result. ii) Document requires the transmission of extensive volumes of information. Connectionless would be alright if mistake rates are low and the messages can be substantial, however in the Web, these prerequisites aren't met, so TCP is utilized. iii)Connectionless is best, since messages are short, and a solitary message is adequate for every exchange. iv)Either mode could be utilized. The volume of information exchanged on every exchange can be very vast, so TCP is utilized as a part of training. v) RPC accomplishes unwavering quality by methods for timeouts and re-trys. so connectionless (UDP) correspondence is regularly favored. 4. Inorder to construct firewall to protect local area network of a company first we need to consider the network outline of the company. First we need to enforece the principal of least privilege. We need to deny all the incoming and outgoing traffic not needed and which are malicious by the company. Maintain secure list of webpages and servers list to which we the company needs to connect

Get Access