Consider a TaskRabbit application, where a client submits a job for execution. The client submits the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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] 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]
Expert Answer:
Answer rating: 100% (QA)
The overall protocol for the TaskRabbit application can be represented u... View the full answer
Related Book For
Systems analysis and design in a changing world
ISBN: 978-1423902287
5th edition
Authors: John W. Satzinger, Robert B. Jackson, Stephen D. Burd
Posted Date:
Students also viewed these programming questions
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
List three specific parts of the Case Guide, Objectives and Strategy Section (See below) that you had the most difficulty understanding. Describe your current understanding of these parts. Provide...
-
Of the following data storage technologies: Permanent Data Storage COBOL Hierarchical DBMS Network DBMS Relational DBMS Object-oriented DBMS XML a. Which requires the most understanding about how the...
-
Preparing journal entries for merchandising activities-perpetual system July 1 Purchased merchandise from Borden Company for $6,700 under credit terms of 2/15, n/30, FOB shipping point, invoice dated...
-
McCormick Corporation Ltd., a public company following IFRS, recorded a finance lease at $150,000 on May 1, 2011. The interest rate is 10%. McCormick Corporation made the first lease payment of...
-
Discuss the employment-at-will doctrine.
-
High Range produces fleece jackets. The company uses JIT costing for its JIT production system. High Range has two inventory accounts: Raw and In-Process Inventory and Finished Goods Inventory. On...
-
Multiplication of signed operands, which generate a double-length product in the 2's-complement 100 11 MULTIPLICAND (-13) 0 10 1 1 MULTIPLIER (+11) number system. The general strategy is the...
-
An economic advantage of a business combination includes: Acquiring duplicative assets Creating redundant management teams Coordinating marketing campaigns Duplicating integrative marketing chains
-
5- (25pts)- Consider the signal m(t) = cos(27ft) + 2 cos(27ft) fi=3kHz, f=5kHz. m(t) VSB modulates a carrier with frequency f=50kHz. The lowpass filter Ho(f) is given as |H/j -6 0.5 10.5 11 2 4 6...
-
RSE, Inc. is a US producer of recreational sports equipment. Suppose that you, as the CFO of RSE, Inc, Inc., believe the growth potential for some of sports equipment, particularly tennis and squash...
-
= Three parallel plates having the same surface area A, are positioned as shown in the figure. The upper two plates are moving at V and V velocities while the bottom plate is fixed. A fluid having...
-
On January 1, 1980, your favorite uncle John turned 43 and started saving for his retirement. He invested $18,894.75 each year on January 1 until he turned 62 on 1/1/1999 (20 total deposits). Over...
-
Suppose that Amy has the following value function: v(w) = w.3/4 when w > 0 = -2(-w) 3/4 when w < 0 where x is the realized outcome relative to the reference point. Assume that the my's reference...
-
Requirement 1. Journalize the purchase transactions. Explanations are not required. (Assume the company uses a perpetual inventory system. Round the answers to the nearest whole dollar. Record debits...
-
on 8 For the following set of lengths 130, 170, 160, 160, 150, 190 Third quartile is: et red d out of Select one: O a. 160 a question O b. 145 O c. 175 O d. 180
-
Given the data flow diagram shown in Figure and using transform analysis, develop a structurechart. Order information Approved orders Order information Validated order information 1.2 1.3 1.5 Update...
-
What is a relationship?
-
Visit some Web sites of car manufacturers such as Honda, BMW, Toyota, and Acura. Many of these sites have a use case that is typically named Build and price a car. As a potential customer, you can...
-
Kiev Co. purchases a machine on 1 January 20X0 for 240,000. Depreciation is charged at 10 per cent on cost. On 30 June 20X4, the machine is sold for 120,000 and the proceeds used to buy a new vehicle...
-
The trial balance of Shanghai Co. on 31 March 20X7 is given below. The following information is also relevant: 1. Closing inventory is valued at 133m. 2. Electricity accrued is estimated to be 5m. 3....
-
The trial balance of Penang Co. on 31 July 20X7 was as follows. The following additional information is available: 1. Inventory at 31 July 20X6 is valued at 1,361,000. 2. Depreciation for the year is...
Study smarter with the SolutionInn App