isle/tasks/soon/drafts/separate-bootstrap-hosts.md

20 lines
651 B
Markdown
Raw Normal View History

---
type: task
---
# Store Bootstrap Hosts Separately
When CLI commands are performed and multiple networks are joined, the daemon
will search all bootstrap files for one containing a `bootstrap.CreationParams`
matching a given search string.
This will get problematic in the future, since doing this requires decoding and
loading into memory _all_ the host metadata which is included in each bootstrap.
For a large network this could be non-trivial.
The bootstrap hosts should be separated out of the bootstrap file and stored
separately.
It's also possible we want to revisit how network metadata is stored entirely.
Would sqlite be too crazy?