4 ms·
You can open, read, validate and write a small text file in an atomic action already - there is no reason to use anything more complicated. If your configurati
by zepolen 10y ago
You can open, read, validate and write a small text file in an atomic action already - there is no reason to use anything more complicated.
If your configuration is more than simple, then there are plenty of real dbs that implement everything explained in this article "properly".
This "tree db" is concurrent to read, not to write, doesn't bother with the hard parts of concurrency, ie. deletion of old data and uses an ad hoc json/pointer bs. system to write/read data.