In episode 6, Bill gives an overview of what consensus algorithms are and how these algorithms ensure distributed databases are in sync. Moving forward Bill will adopt the proof of authority (PoA) algorithm as a means to determine which node has the ability to write the next record. To jog your memory, PoA is a consensus mechanism where identity is used as a stake. By implementing this algorithm, Bill will add transparency to his dependency manager as he is no longer the only user with the ability to add new records. The dependency manager now meets the teams’ requirements for transparency, however, it will have low throughput since only one record can be shared and inserted at a time.
In this video, Bill will add a new architectural change to his database and introduce a new data structure to queue records that will be added to the database. He states that this data structure will act as a memory pool and must be synchronized across the different nodes. He sets these requirements to ensure that there is no ongoing duplicate work and nodes starved from writing have the chance to insert a new record. Watch along as Bill gives a walkthrough of how a blockchain solves the throughput problem introduced by adopting consensus algorithms.
Things you will learn in this video
From the Ardan Community
Get your team up to date with best practices & customized curriculum.
We help you evaluate your architecture, design, structure, tech-debt and human capital.
Learn at your own pace!
Special offers on upcoming training events & our latest blog posts.
Valid email required.
Submit failed. Try again or message us directly at email@example.com.
Check your email for confirmation.
We've built our reputation as educators and bring that mentality to every project. When you partner with us, your team will learn best practices and grow along the way.
Years in Business
Please fill out the form below, and we'll get back to you soon.
Check your email for confirmation of your sent message. We'll get back to you shortly.
Ardan Labs Copyrights © 2024