Question

Distributed systems (Networked Services) please show steps: Assume a system with two processes (P1 and P2),...

Distributed systems (Networked Services)
please show steps:

Assume a system with two processes (P1 and P2), and the symmetric RTT between P1 and P2 is 20ms.

At t=0: P2 issues T1

At t=10: P1 issues T2

  1. In what order do the transactions execute?

  2. When does T1 execute at P1?

  3. When does T1 execute at P2?

  4. When does T2 execute at P1?

  5. When does T2 execute at P2?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

--> Given Totally ordered multicast.

One-way latency between P1 and P2 is 20ms

At t=0: P2 issues T1

At t=10: P1 issues T2

--> When does T1 execute at P1?

T1 execute at p1 at time t = 20, It takes 20ms to reach p1 from p2

--> When does T1 execute at P2?

T1 execute at p2 at time t = 0, It executes instantly after issued.

--> When does T2 execute at P1?

T2 execute at p1 at time t = 10, It executes instantly after issued.

--> When does T2 execute at P2?

T2 execute at p2 at time t = 30, It takes 20ms to reach p2 from p1 after t = 10.

Add a comment
Know the answer?
Add Answer to:
Distributed systems (Networked Services) please show steps: Assume a system with two processes (P1 and P2),...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Assume that the three processes arrived in order: Processes                            CPU Burst Time P1  &n

    Assume that the three processes arrived in order: Processes                            CPU Burst Time P1                                           17 P2                                            6 P3                                            8 a.     Please draw the Gantt chart if FCFS scheduling is used. b.    Please calculate the average waiting time and average completion time under FCFS. You MUST show the calculation procedure. c.      Please draw the Gantt chart if Round Robin is used. d.    Please calculate the average waiting time and completion time under RR with q = 3. You MUST show the calculation...

  • Assume in a system, there are: - 3 processes P1 to P3; - 3 resource types:...

    Assume in a system, there are: - 3 processes P1 to P3; - 3 resource types: A(9 instances), B(5 instances), and C(5 instances). Below is a snapshot at time T: 1) Show that the system is in a safe state at time T. 2) Can request for (A: 2, B: 0, C: 0) by P1 be granted? Explain your answer. Thank you so much, and it would be much better if it is well written and explained. Allocation Max Pl...

  • Using MATLAB PLease For scaffolding system shown, assume P1-50 lbf and P2-20 lbf. Perform force and momentum equilibrium balances for each bar to find 4 equations. Then show how to set them up as one...

    Using MATLAB PLease For scaffolding system shown, assume P1-50 lbf and P2-20 lbf. Perform force and momentum equilibrium balances for each bar to find 4 equations. Then show how to set them up as one system of linear equations ( Ax-b)and solve in MATLAB to determine tension forces T.Ty.TC and To. Hint: write ΣFy-Oand ΣΜ-Ofor each bar to find the equations. Bar 1 For scaffolding system shown, assume P1-50 lbf and P2-20 lbf. Perform force and momentum equilibrium balances for...

  • please show steps 4. (25 points) Laplace and LCCDE Systems Consider an LTI system with input-output...

    please show steps 4. (25 points) Laplace and LCCDE Systems Consider an LTI system with input-output relation described by the LCCDE: -2y(t) - y0) + 3x(t) + deco (O) = (a) (5 pts) Find the transfer function H(s) and write it in factored form. (b) (5 pt) Sketch the ROC corresponding to H(s) if it is known the system is causal. Mark the poles and zeros. (c) (5 pts) Sketch the ROC corresponding to H(s) if it is known the...

  • pi=3.14 Please show all steps when answering: Test the linear relationship between squared period T2 and the length of the pendulum d. Plot the function T^2=f(d) You can use the following values: d1=...

    pi=3.14 Please show all steps when answering: Test the linear relationship between squared period T2 and the length of the pendulum d. Plot the function T^2=f(d) You can use the following values: d1=34;       T1=1.097;   g1= 1114.225 cm/s^2 d2=25;       T2=1.0082;        g2= 969.986 cm/s^2 d3=17.1;    T3=0.839         g3=    958.057 cm/s^2 d4=42.5;     T4=1.301          g4= 990.270 cm/s^2 d5=49;       T5=1.408           g5= 974.827 cm/s^2 2 2

  • Difference in final temperatures? Please show all steps Two containers (call them A and B) with...

    Difference in final temperatures? Please show all steps Two containers (call them A and B) with the same initial volume, V 31 L, hold the same amount of monatomic ideal gas, say helium, at the same initial temperature T = 301 K and the same initial pressure Pi 1 atm. Container A holds the gas at a constant volume and Container B holds the gas at a constant pressure If you add Q 5389 J of heat to both containers,...

  • please show steps Yancey Productions is a film studio that uses a job-order costing system. The...

    please show steps Yancey Productions is a film studio that uses a job-order costing system. The company's direct materials consist of items such as costumes and props. Its direct labor includes each film's actors, directors, and extras. The company's overhead costs include items such as utilities, depreciation of equipment, senior management salaries, and wages of maintenance workers. Yancey applies its overhead cost to films based on direct labor-dollars. At the beginning of the year, Yancey made the following estimates: Direct...

  • Please show all steps with formulas. I have viewed other answers, however, I do not think...

    Please show all steps with formulas. I have viewed other answers, however, I do not think wage is a variable cost. Let me know what you think. I will up vote for good content - thank you! Case ON-THE-GO: Cost-Volume-Profit Analysis Peter Kankel, the CFO of On-the-Go convenience stores, had only a couple of hours to decide what he would recommend. Decisions to add products are often challenging. Kankel knows that modern convenience stores have to do more than just...

  • Please write c++ (windows) in simple way and show all the steps with the required output

    please write c++ (windows) in simple way and show all the steps with the required output Write a C++ program that simulates the operation of a simple online banking system The program starts by displaying its main menu as shown in Figure1 splay Account nformatson verity Your credit Card elect vour choice Figure 1 Main menu of the program The menu is composed of the following choices 1. When choice 1 is selected (Display Account information), the program should display...

  • How can we assess whether a project is a success or a failure? This case presents...

    How can we assess whether a project is a success or a failure? This case presents two phases of a large business transformation project involving the implementation of an ERP system with the aim of creating an integrated company. The case illustrates some of the challenges associated with integration. It also presents the obstacles facing companies that undertake projects involving large information technology projects. Bombardier and Its Environment Joseph-Armand Bombardier was 15 years old when he built his first snowmobile...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT