# Ultimate Go: Advanced Engineering Episode 7

DevFeed: [Ultimate Go: Advanced Engineering Episode 7](<https://devfeed.tech/articles/ultimate-go-advanced-engineering-episode-7-22193.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2022/12/ultimate-go-advanced-engineering-episode-7.html>)

Published: 2022-12-19T00:00:00Z

Content type: article

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Blockchain](<https://devfeed.tech/topics/blockchain.md>), [proof of authority](<https://devfeed.tech/topics/proof-of-authority.md>), [consensus algorithm](<https://devfeed.tech/topics/consensus-algorithm.md>), [Database](<https://devfeed.tech/topics/database.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [distributed algorithm](<https://devfeed.tech/topics/distributed-algorithm.md>)

Tags: [batch](<https://devfeed.tech/tags/batch.md>), [batch-insert](<https://devfeed.tech/tags/batch-insert.md>), [block](<https://devfeed.tech/tags/block.md>), [blockchain](<https://devfeed.tech/tags/blockchain.md>), [bulk-upload](<https://devfeed.tech/tags/bulk-upload.md>), [caching](<https://devfeed.tech/tags/caching.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [consensus-algorithm](<https://devfeed.tech/tags/consensus-algorithm.md>), [consensus-algorithms](<https://devfeed.tech/tags/consensus-algorithms.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [databases](<https://devfeed.tech/tags/databases.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-databases](<https://devfeed.tech/tags/distributed-databases.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [go](<https://devfeed.tech/tags/go.md>), [go-blockchain](<https://devfeed.tech/tags/go-blockchain.md>), [memory-pool](<https://devfeed.tech/tags/memory-pool.md>), [poa](<https://devfeed.tech/tags/poa.md>), [pos](<https://devfeed.tech/tags/pos.md>), [pow](<https://devfeed.tech/tags/pow.md>), [proof-of-authority](<https://devfeed.tech/tags/proof-of-authority.md>), [queue](<https://devfeed.tech/tags/queue.md>), [throughput](<https://devfeed.tech/tags/throughput.md>)

## AI overview

The dependency manager gains transparency by using proof of authority (PoA), where identity determines which node may write the next record, but throughput remains low because records are inserted one at a time. This episode introduces a synchronized memory pool across nodes to queue records for insertion in batches, prevent duplicate work, and give nodes that have not been writing a chance to contribute. The batch becomes a blockchain block, and the excerpt says the video covers how audits work with the pool.

## Source excerpt

Introduction 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.