The 1.7 release series of Geth is aimed to focus primarily on performance improvements (beside the Byzantium hard fork). The first release of the family already packs a heavy punch with two database schema modifications resulting in significant optimizations:
Geth 1.7 版本致力于性能提升(除了拜占庭hard fork) ?發(fā)布的版本中的第一個就已經(jīng)優(yōu)化了兩處數(shù)據(jù)庫設(shè)計
Transaction and receipt storage was completely reworked, cutting the data storage requirements of a fast synced node in half, from 26.3GB to 14.9GB at the time of the implementation (#14801).
Transction 和 receipt 存儲被完全啟用,在實現(xiàn)時削去fast synced節(jié)點的一半的存儲需求
EVM log storage and indexing was completely reworked, cutting the filtering time of the entire chain for contract events by 2-3 orders of magnitude, from minutes to under a second (#14522,#14631).
EVM日志存儲和索引被完全啟用,將全鏈的contract events過濾時間縮小了2-3個數(shù)量級,從分鐘到秒級
Some work-in-progress updates that will land in the next releases are:
正在做的一些工作準(zhǔn)備在下個版本更新:
Upgrading the base peer-to-peer protocol used by all Ethereum sub-protocols, cutting the bandwidth needed for a fast sync from 33.6GB to 13.5GB (#15106). This upgrade will improve the general bandwidth requirement of the network as well as light clients too.
升級所有被以太坊子協(xié)議作為基礎(chǔ)的p2p協(xié)議,將fast sync的帶寬需求從33.6GB到13.5GB。
Introducing a more sophisticated memory caching for state tries, reducing disk IO by a couple orders of magnitude. Exact number are pending a final implementation (#14952).