Faster bringup of a Polkadot validator with Polkashots.io

Compressed database snapshots

  • ParityDb is the new experimental database format that provides very good performance, and is expected to become the default soon,
  • RocksDb is a mature database format, currently the default for Polkadot and all substrate chains, and is less performant than ParityDb.

Don’t trust, verify

How to use

polkadot --db=paritydb
wget https://dot.polkashots.io/snapshot -O polkadot.ParityDb.7z
7z x polkadot.ParityDb.7z -o~/.local/share/polkadot/chains/polkadot
polkadot --name "My node" --db=paritydb
polkadot --name "My node" --validator --unsafe-pruning --pruning=1000

How it works

  • volume snapshotting to run the compression job on a “frozen” filesystem state while the node is still running,
  • workload identity to regularly start the aforementioned volume snapshotting and compression job with a Kubernetes CronJob

Who we are

--

--

--

Staking-as-a-service provider.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

SQL Basics: Simple JOIN with COUNT

Azure Data Factory: Keep your secrets in Azure Key Vault

How to Inform Your Users About Breached Passwords Using the Pwned Passwords API

Thanks for giving us such a great opportunity.

Getting Started with Step Functions for Serverless Workflows

Azure Kubernetes Service: Industrial Use cases

Sixty-five videos and one year later

Task -6 DevOps Assembly Lines

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
MIDL.dev

MIDL.dev

Staking-as-a-service provider.

More from Medium

Token Review: Polkadot

Overview of Polkadot Nominated Proof of Staking

Weekly Update #5

DOT crowdloan contributors are actively exploring the launched parachain protocols they supported…