Skip to content

Conversation

@ArneBab
Copy link
Contributor

@ArneBab ArneBab commented May 2, 2025

I’ve heard the argument "I don’t want stuff stored on my disk" so often now that if "it’s only in memory" suffices it may just be worth to have a checkbox "donate disk space?" and if toggled off use a RAM store and cache.

That may reduce the lifetime of files but if in exchange many more people use the network, that’s a net win.

Since at least half the nodes are only online 2 hours per day, it’s likely that caches already provide most of the data, so the effect of more RAM only nodes shouldn’t be too bad.

Besides adding the checkbox I fixed a nasty locking issue that prevented switching from salt-hash to ram and then back to salt-hash. This didn’t hit earlier, because switching to salt-hash required a node restart which masked the locking issue.

Also toggles in the first time wizard can now actually be instant.

@Bombe
Copy link
Contributor

Bombe commented Jul 1, 2025

How easy will it be to reverse whatever decision one made during the first install? I know that I oftentimes do not pay that much attention to stuff in checkboxes when I’m installing something, and I don’t want anybody to have to reinstall, because they don’t know how to change stores or whatever…

@ArneBab
Copy link
Contributor Author

ArneBab commented Jul 1, 2025

They just need to go into core settings as usual and change to salt-hash store.

@Bombe
Copy link
Contributor

Bombe commented Jul 2, 2025

They just need to go into core settings as usual and change to salt-hash store.

If you remove the “just” from this sentence, it sounds like something you would first need to know about in order to actually do it…

@ArneBab
Copy link
Contributor Author

ArneBab commented Jul 2, 2025

Maybe we should add a link to the first time wizard (/wiz) for basic setup?

@Bombe
Copy link
Contributor

Bombe commented Jul 2, 2025

That sounds… wrong. As long as it’s called “First Time Wizard” I would a) never expect it to be around after it’s been finished, and b) never look for that when wanting to change settings.

@Juiceman
Copy link
Contributor

Juiceman commented Jul 3, 2025 via email

@ArneBab
Copy link
Contributor Author

ArneBab commented Jul 6, 2025

I wouldn’t want to nag people all the time, because a node without store is still useful to the network (for routing) and this nagging would just cause people to stop running their node.

But you’re (all) right that we need to make it easy to switch to a persistent store. ⇒ not yet to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants