4 ms·
> trying to explain why it's been two weeks and their nodes is not synced yet. Fwiw, it's possible to sync to Ethereum in a few hours now. The features to ena
by jlokier 3y ago
> trying to explain why it's been two weeks and their nodes is not synced yet.
Fwiw, it's possible to sync to Ethereum in a few hours now. The features to enable that were added in 2021, before the merge.
If you want to sync an archive node instead, which contains all historical transactions verified from the beginning, that takes about a day and a half, but current work will bring that down to a few hours as well.
It used to take nearly 2 months, and the state was smaller then, so this is an interesting technical achievement because it's just the same data represented more efficiently.
- analognoise 3y ago>It used to take nearly 2 months >so this is an interesting technical achievement When you consider how much work a $35 Raspberry Pi 4 could do in 2 months, is it still an interesting technical achievement, or is it an embarrassment?
- jlokier 3y agoIt used to take nearly 2 months on computers much faster than a Raspberry Pi 4, so yes it's an achievement. It's not insanely complex or anything, but there have been clever technical innovations in the the storage structures (how the database works) and in the network protocols designed to be sympathetic to the storage layout, that have sped it up a lot. Solving these was not easy, though seeing how they work is obvious in retrospect if you understand how storage and networking performance behave generally, which most people don't. The syncing bottlenecks were mostly storage performance bound, not CPU bound, so the Raspberry Pi thing is not as relevant as it may look to someone who doesn't know the difference.
- analognoise 3y agoAh, right, storage performance bound. The Etherium blockchain is roughly 1122.97 GB. Cool, how long would it take me to write all that data with an RPI4? Let's pick the ~20th fastest SSD listed, just so we ensure we don't have a ringer in the data: https://pibenchmarks.com/benchmark/53760/ https://pibenchmarks.com/benchmark/53760/ Awesome, let's do some division. Let's pick the DD speed: 1122.97GB/174 MB/s = 1.79273627 hours. Hm, that can't be it. The RPI4 could write the entire Eth blockchain in under 2 hours. Hmm. Well, maybe there's lots of data being added in a torrent at the end? That could be a real problem? https://ycharts.com/indicators/ethereum_chain_full_sync_data_size https://ycharts.com/indicators/ethereum_chain_full_sync_data... Looks like it's adding about 3GB a day. A rip roaring rate of 34.7222222 kBps. Ok with the data in hand, this looks like a pathetic system and it doesn't look like a technical achievement. It looks like an embarrassment to me. Could you check my numbers?