Skip to content

Commit

Permalink
more info on collator requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Dec 9, 2024
1 parent 291adf1 commit 82d674e
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions src/infrastructure-full-node-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,23 @@ This document describes how to set up a full Encointer node. A full node is a no
## HW requirements

Full nodes can be run on very affordable HW. The minimum requirements are
* 1TB NVMe SSD
* 1TB NVMe SSD.
* seq. write performance should be > 1000 MB/s. Consider that SSD's get slower the more full they get. Also, they wear out with intense usage)
* 16GB RAM (8GB currently works, but is not recommended)
* CPU won't matter much, but go for maximum single-core performance rather than many cores.

## OS requirements

In the following, we'll assume you're using ubuntu 22.04

## Internet Connection Requirements

If you run your node in a datacenter, you can skip this section. If you run consumer HW and "fair-use" internet connections like cellular, this is for you:

The initial sync of the chain will cause significant data volume of several 100 GB. If you run on a metered internet connection you may want to check your tariffs.

Once your chain is synced you should expect a constant data bandwidth in the order of 0.2-1.0 MB/s up and down. If you need to throttle that you may want to look into restricting the number of peers `--in-peers`, `--in-peers-light`, `--out-peers` .

## Install dependencies

The recommended way to setup a full node is to start with the [ansible setup](https://github.com/w3f/polkadot-validator-setup) provided
Expand All @@ -26,6 +35,8 @@ Should you wish to do it manually, we'll redirect you to the polkadot docs

We assume you'd like to use your node for rpc queries from outside and monitor it with prometheus

The settings are optimized to minimize resource consumption

```
[Unit]
Description=Encointer Kusama Collator
Expand All @@ -39,8 +50,8 @@ ExecStart=/home/encointer/encointer-kusama/encointer-collator \
--name <a name that will appear in telemetry>> \
--telemetry-url 'wss://telemetry.polkadot.io/submit 1' \
--base-path <your large volume> \
--state-pruning archive \
--blocks-pruning archive \
--state-pruning 100 \
--blocks-pruning 100 \
--chain=encointer-kusama \
--rpc-methods=Unsafe \
--prometheus-external \
Expand All @@ -50,6 +61,9 @@ ExecStart=/home/encointer/encointer-kusama/encointer-collator \
--chain kusama \
--prometheus-external \
--base-path <your large volume> \
--database paritydb \
--state-pruning 100 \
--blocks-pruning 100 \
Restart=always
RestartSec=60
Expand Down

0 comments on commit 82d674e

Please sign in to comment.