Question: Can we build a concensus protocol using only atomic memory if we do the following? Thread A writes [value + timestamp] in register r Thread

Can we build a concensus protocol using only atomic memory if we do the following? Thread A writes [value + timestamp] in register r Thread B writes [value + timestamp] in register r2 Each thread reads r1 and r2 and use either the only non-blank register or the earliest written. Does it work? Why or why not?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!