zadjii / nebula

The personal private cloud platform
http://starmap.io
MIT License
2 stars 1 forks source link

Create .nebs DB on Host #22

Closed zadjii closed 7 years ago

zadjii commented 8 years ago

When a host mirrors a cloud, it needs to check if there was a .nebs associated with that cloud. If (upon MIRRORING_COMPLETE) there isn't a .nebs in the root, it needs to be created.

zadjii commented 8 years ago

What if the DB format changes?

zadjii commented 8 years ago

Okay, so I have changed my mind again, because I don't love db versioning (it's scary), so I'll just backend it on json, right? what could go wrong, right?

Oh god just writing that felt bad. What happens if the .nebs gets exceptionally large? I/O becomes lengthy. A DB would be better

That sounds like a problem for later. If the PrivateData is abstracted enough, then it wont be such a problem