ChainSafe / forest

šŸŒ² Rust Filecoin Node Implementation
https://forest.chainsafe.io
Apache License 2.0
636 stars 157 forks source link

Stateless bootstrap node #3556

Closed lemmih closed 6 months ago

lemmih commented 1 year ago

Issue summary

Bootstrap nodes serve as the entry point to the Filecoin p2p swarm. Currently, bootstrap nodes are running Lotus and must sync to the network. This makes them slightly expensive (>$100/month). However, bootstrap nodes should be able to run without any state, making them much cheaper.

If we do not respond to ChainRequests, other peers will eventually disconnect from us. Not a show-stopper, but we'd like for them to stay connected to us for as long as possible.

The stateless bootstrap node will run on droplets with roughly 1GiB of memory and 20GiB of disk. There should be wiggle room for caching a fair number of blocks.

Other information and links

LesnyRumcajs commented 9 months ago

@lemmih what are we missing right now to have a bootstrap node (in terms of Forest implementation)? Or are we feature-complete and it's just a matter of deploying it and handling the logistics (deployment, peer persistence, monitoring & alerting, SLAs etc.) behind it?

lemmih commented 9 months ago

Looks like we're ready to set up the infrastructure. I'm sure there are memory and disk space leaks, but running the nodes is the best way to find them.

LesnyRumcajs commented 6 months ago

@lemmih Are we good closing this? The stateless nodes are operated by the infrastructure team.

lemmih commented 6 months ago

Done.