分布式系统考试代考 分布式系统Final代考 COMP90015 Distributed Systems
COMP90015 Distributed Systems: Principles and Paradigms
分布式系统Final代考 What is an architectural model? In your explanation include the important aspects or steps when developing an architectural
(a) [1 marks] When considering the definition of a distributed system, a computer network in unto itself is often not said to be a distributed system. Why is this the case?
(b) [1 marks] What is the difference between availability and reliability?
(c) [3 marks] Instead of having an non-shared printer attached to each computer in a computer network, a single printer can be used and shared among all of the computers.
i. Is this an example of a distributed system? Explain.
ii. Explain a reason for, and a reason against this approach.
[5 marks] List and briefly explain four general approaches to failure handling in a distributed system. Give an example for each approach.
(a) [4 marks] What is an architectural model? In your explanation include the important aspects or steps when developing an architectural model.
(b) [4 marks] What is a fundamental model? In your explanation discuss three aspects of distributed systems that are described using a fundamental model.
(c) [2 marks] Explain the following classes of failure:
[3 marks] Consider a server process that has a single TCP server socket, bound and listening on port 4242.
(a) While listening for incoming TCP connections on port 4242, can the process also receive UDP packets on port 4242?
(b) Assuming that each client is connecting from a different host, what operating system aspect limits the number of concurrent client connections that the server process can handle?
(c) Assuming the server process has 5 concurrently open connections from clients how many ports does the server process require? Explain your answer.
(d) Is it possible for a client to connect from port 4242 to the server process? Explain your answer.
[2 marks] What is a benefit of XML over JSON format? What is a benefit of JSON over XML format?
[5 marks] Explain the exchange protocol used in the first project. Draw an interaction diagram and explain the messages that are sent. What was the purpose of
using a counter?