ChainSafe / ChainSafe/gossamer

optimize gossamer archive node size

Open
#1,454 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Task summary

- currently the gossamer kusama archive node disk size is larger than expected, at 1.3mil blocks the size of the DB is 34GB, but the size of a substrate kusama archive node at 1.6mil blocks is 15-20GB
- optimize this to be the same size or less than substrate
- potential solution is adding compression to the database layer, currently there is no compression

`opts.Compression = options.Snappy`

Also, we should update chaindb to allow for badger options to be passed from gossamer (via a config)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.