Question

In: Computer Science

To what extent is scalability of atomic multicast important? Also, explain why totally ordered multicast using...

To what extent is scalability of atomic multicast important? Also, explain why totally ordered multicast using Lamport’s global logic clocks does not scale.

Solutions

Expert Solution

It really depends on how many processes are contained in a group. The
important thing to note is, that if processes are replicated for fault tolerance,
having only a few replicas may be enough. In that case, scalability is hardly an
issue. When groups of different processes are formed, scalability may become
an issue. When replicating for performance, atomic multicasting itself may be
overdone.

Totally Ordered Multicast

• We need to guarantee that concurrent updates on a replicated database are seen in the same order everywhere. This requires a totally‐ordered multicast – Update 1: add $100 to an account (initial value = $1000) – Update 2: add 1% interest to account – In absence of proper synchronization: replica 1 = $1111, replica 2 = $1110 • Lamport’s logical clocks can be used to implement totally‐ordered multicast in a completely distributed fashion.

Implementing Totally Ordered Multicast • Assumptions: – No messages are lost – Messages from the same sender are received in the order they were sent • Process Pi sends timestamped message mi to all others. The message itself is put in a local queuei . • Any incoming message at Pj is queued in queuej , according to its timestamp, and ACKed to every other process. • Pj passes a message mi to its application if – mi is at the head of queuej – mi has been ACKed by each other process • Observation: all processes will eventually have the same copy of the local queue, therefore, all messages are delivered in the same order everywhere.


Related Solutions

To what extent is scalability of atomic multicast important? Also, explain why totally ordered multicast using...
To what extent is scalability of atomic multicast important? Also, explain why totally ordered multicast using Lamport’s global logic clocks does not scale.
Describe workers compensation and explain why it is important. Also, what is Washington state’s worker’s compensation...
Describe workers compensation and explain why it is important. Also, what is Washington state’s worker’s compensation requirements. Summarize your findings
Using AIT (Lecturers, Students, Administrators and the President) as an example, explain Unicast, Broadcast, Multicast and...
Using AIT (Lecturers, Students, Administrators and the President) as an example, explain Unicast, Broadcast, Multicast and Anycast transmissions. In addition, use well labelled diagrams to further depict your explanation.
Explain why knowing and utilizing APA formatting is important for nurses professionally and also for nursing...
Explain why knowing and utilizing APA formatting is important for nurses professionally and also for nursing students ?
Rasputin who and what is it but also when, what’s important and why it’s significant to...
Rasputin who and what is it but also when, what’s important and why it’s significant to European history
Explain what is meant by coherence. Why is it important?
Explain what is meant by coherence. Why is it important?
Wilhelm mentions engaging employees around sustainability. Explain why this is important. Also, provide an example of...
Wilhelm mentions engaging employees around sustainability. Explain why this is important. Also, provide an example of how you could do such a thing.
Explain what is government spending and what is taxes and why they are important to the...
Explain what is government spending and what is taxes and why they are important to the government budget? https://www.cnbc.com/2017/06/09/the-reason-small-business-owners-love-trumps-tax-plan.html
Explain what is meant by the time value of money. Why is it important? Why is...
Explain what is meant by the time value of money. Why is it important? Why is the present value of $100 that you expect to receive one year from today worth less than $100 received today?
Explain what working capital is and why it is important for a business
Explain what working capital is and why it is important for a business As an example, describe a business that operates where you live and describe how knowing what the working capital of that company would be useful to the business leaders of that company and to outside investors.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT