Echo JS 0.11.0

fi3 638 days ago. link parent 1 point
Thanks for your feedback!

Sorry I haven’t been clear enough, in fact, KyVe is not two DB but just one:

1. it maintains simultaneously two DB one in [memory]( the other one in a [file]( To read we use the memory DB and should be almost fast as a native object. To write we use the file DB each write should be atomic and if it returns you should be almost sure that the value has been saved.
2. the file DB is a linked list so save/change a {key: dbvalue} is the same of an insert in a linked list  0(1) + search time where search time should be fast because the search is done in the memorDB.
3. the file and memory DB are obviously synced and the file DB work as an index for the memory DB

Above I use `should` because, for now, the implementation is just a proof of concept.

About the niche, I could say that KyVe could be useful if you need a very simple key-value DB  for mobile Cordova apps, you want something that can run also in browser and node and you do not need persistence on a server but just on the device. I guess could be an app for a distributed system.