threefoldtech / grid_deployment

Deploy a full Grid backend with docker-compose and snapshots
Apache License 2.0
2 stars 0 forks source link

[tfchain val] create snapshot compose stack #72

Open coesensbert opened 1 month ago

coesensbert commented 1 month ago

https://github.com/threefoldtech/tfchain/issues/981

To lower storage requirements for tfchain validators we added new pruning flags. However this requires separate snapshot creation since pruning here is different from public RPC nodes.

sameh-farouk commented 2 weeks ago

@sabrinasadik @coesensbert I suggest running these snapshots on one of the boot nodes for each network to avoid the cost of renting or dedicating new servers. Boot nodes typically use the same pruning flags as the validators and are primarily focused on syncing with the libp2p network with minimal additional work. Leveraging these servers for more tasks would be both practical and cost-effective.

coesensbert commented 2 weeks ago

Thanks @sameh-farouk for the suggestion, we will look into it

coesensbert commented 1 week ago

wip: testing

coesensbert commented 1 week ago

qanet: https://github.com/threefoldtech/grid_deployment/commit/a835c407c35227f2322aab1301305c975d8948cb testnet: https://github.com/threefoldtech/grid_deployment/commit/96d8ed19429b3aa5bf028d0fa294ca25bb4f066b

all required deployment files created. qa and testnet still need to be setup and tested: https://github.com/threefoldtech/tf_operations/issues/2746