What is the Difference Between a Variable and Fixed Electricity Plan?

If you live in a deregulated energy market, which means living in an area where consumers can choose their own electricity supplier, you should know about the two electricity plans provided by the…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Ethereum clients initial sync benchmark

Syncing Ethereum blockchain head-on by fetching every block and replaying every transaction is impractical. That’s why different full nodes utilize clever techniques to speed up the initial sync and get up to speed in a reasonable time.

According to Ethernodes, Etherum mainnet is dominated by Geth (55.7%), Parity Ethereum (31.5%), so we’ll discuss these two. All tests are done in October 2018 on a $30/mo dedicated server with the following config:

2.4 GHz CPU with 8 cores
16 GB of RAM
250 GB SSD
1 Gbit network

Geth (also known as go-ethereum) is written in golang and uses Google’s LevelDB as a storage backend. The default sync mode is called fast, it downloads all the needed data in parallel:

A few hours into the sync, a message saying “Database compacting, degraded performance” starts to appear. The first one is at 4 hours 13 minutes mark and it gets worse after that. Geth ends up spending 4 hours 19 minutes (¹⁄₈ of the total time) completely halted by LevelDB compaction. After headers and receipts have finished downloaded, state sync finished without interruptions.

A few minutes after the last state entry was downloaded, the node appeared fully synced.

The final time is 1 day 10 hours. The database size is 130.9 GB.

Parity syncs in warp mode by default, which works like this:

This makes the node usable after about 4 hours. You can interact with the blockchain and query the recent state and blocks that came after the snapshot with the older blocks unavailable until they are processed.

The final time is 1 day 6 hours 32 minutes. The database size is 125.6 GB.

Add a comment

Related posts:

Being a Boy in JLRRA

We were issued with a scrap of paper. It contained our Number, Rank and Name. It was in lieu of an ID card. I lost mine and panicked. The Sergeant told me I worried too much. He got me another one…

October Updates from the Partner Program

The past month on Medium, we’ve been swept up by the midterms, election tech, and Big Tech. We’ve highlighted some insightful advice on creativity and productivity, health and science, and even some…

The billion dollar food industry that is under attack

Infant formula and Manuka honey are hitting news headlines today because of the theft and fraud of these products. These two categories have been talked about over the past couple of days…