Question: Consider a TaskRabbit application, where a client submits a job for execution. The client submits the job to an agent, who then delegates it

Consider a TaskRabbit application, where a client submits a job for execution. The client submits the job to  

Consider a TaskRabbit application, where a client submits a job for execution. The client submits the job to an agent, who then delegates it to a worker. The overall protocol goes as follows: the client sends the description of the task to an agent. The latter then forwards the description to a worker. When the task is completed sends the notification back to the agent, who then forwards it to the client. The three (3) participants use two (2) socket-based protocols. Between the client and the agent is a UDP-based socket, while the agent and the worker use a TCP-based socket. Extend the TCP-based and UDP-based socket diagrams presented in class to represent the overall protocol. Question 2 ..... [20 points] Consider a kafka cluster containing five (05) brokers, CL1, CL2, CL3, CL4 and CL5. Each topic contains four (04) partitions with a replication factor of three (03), i.e. each partition is replicated twice (on different brokers). Using a diagram representing the cluster illustrate how a producer submits messages to the cluster, and a consumer group consumes such messages. You will be explicit about how the partitions are handled. Question 3..... ....... [20 points] Two processes CLT and SRV are involved in remote invocation with CLT acting as the client, while SRV acts as the server. (a) Highlight the underlying request-reply protocol using its primitives. (b) The request issued by C was not replied to on time. Explain the steps taken by both processes using the at-least-once semantics. (c) Explain the steps taken by both processes using the exactly-once semantics when CLT does not receive the response. [6] [9] [5]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The overall protocol for the TaskRabbit application can be represented u... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!