This treasury proposal is Between the Polkadot Council and MIDLDEV OÜ, a company registered in Estonia with registry number 14973249, commonly known as MIDL.dev.
Node operators must have a contingency plan for loss of storage. For us at MIDL.dev, it consists of regularly taking snapshots of the node filesystem and backing it up for recovery if needed. We regularly generate these archives for our own benefit as well as the community. All cloud automation code used for generation of snapshots is open-source so node operators can easily replicate the setup in order to be in full control of the generated snapshots.
The website polkashots.io has been operational for a year now. It has had excellent uptime. It is very frequently mentioned in the Validator Lounge Matrix channels and there are youtube videos referencing them. It is beneficial to the ecosystem by providing a path for validators to quickly and safely recover from a storage failure or migrate their operations.
The warp sync feature has been implemented in Polkadot 0.9.9, however it still requires several hours for a full sync.
A unique snapshot service that many independent validators relies on constitues a centralization risk. It remains our hope that other ecosystem participants will step in and offer an alternative service.
The labor cost is 1200 EUR/month including 2 engineers in 2 geographical locations (Western US and Western Europe).
In addition, we pass along the cloud costs with a 50% markup.
Polkashots is hosted on google cloud. Google cloud has the concept of "projects" which allows for segregation of costs. The cloud cost is determined as follows:
A majority of these costs are network egress. Google cloud egress costs are in the higher range, similar to Azure and Amazon. Google cloud has two tiers, premium ($0.12/Gb for most regions) and standard ($0.85/Gb for most regions). The premium tier is using google private network across the globe. Polkashots uses the premium tier.
The costs have gone upwards after the introduction of parachains. This is due to the increased storage requirement of the relay chain node in the presence of parachains: as of this writing, a pruned polkadot node with 1000 blocks uses 18Gi of storage (7z compressed). In other terms, it costs the treasury $2 each time someone downloads a Polkadot snapshot. We expect this cost to go up again soon as more parachain slots become active.
The usage of the best cloud platform money can buy is justified by the benefits: a faster download speed and better reliability means that the nodes are more apt to recover quickly in case of accidental loss of storage, making the entire network more resilient.
Screenshots of the billing console are attached for reference.
From the MIDLPS billing screenshot, we can see 17,262 Gibibytes of download from the period Oct 10-Nov 31 from all regions excluding Asia and Australia. Polkadot snapshot size is 17Gi and Kusama snapshot size is 50Gi, so assuming a medium download file size of 34Gi, there were 500 downloads during the period, or 10 downloads per day. This is a combined figure for Polkadot and Kusama networks.
This proposal is for the Polkadot portion of polkashots. We already submitted a similar proposal to the Kusama council, who accepted it.
| Cost item | cost |
|------------------------------------------------|------------------|
| Labor, monthly | 1,200 EUR /mo |
| Labor, total for period | 7,200 EUR |
| Cloud costs, MIDLUS June-Oct 10 | 7,737.79 EUR |
| 30% Polkadot portion, MIDLUS + 50% markup | 3,482.00 EUR |
| Cloud costs, MIDLPS Oct 11-Nov | 2,983.69 EUR |
| 50% Polkadot portion, MIDLPS + 50% markup | 2,237.77 EUR |
| Cloud costs, total for period | 5,719.77 EUR |
| Total for period | **12,919.77 EUR**|
| Exchange rate DOT/EUR (subscan EMA30 12/28) | 26.38 EUR (29.925 USD) |
| Total base price in DOT | 489.76 DOT |
| Slippage + conversion fee 5% | 24.48 DOT |
| Proposal (DOT) | 514.24 DOT |
Polkashots is a service that provides usable blockchain database snapshots for the Polkadot network to node operators and validators. It generates new snapshots at least once per day and has a website frontend at polkashots.io with relevant metadata and download links. The service also offers best effort incident and problem management, redundant implementation setup, and basic disaster recovery and contingency management. The cost of the service is 1200 EUR/month including 2 engineers in 2 geographical locations and cloud costs with a 50% markup. The service is hosted on Google Cloud and uses the premium tier for faster download speed and better reliability. The usage of the service is around 10 downloads per day.