Feedback.

This commit is contained in:
Philippe Pittoli 2025-04-13 03:37:47 +02:00
parent d7e378f121
commit 3d79a94f8f

View file

@ -1754,6 +1754,12 @@ It's almost as the application intentionally avoids any possible optimization.
Especially given that the number of actual requests is expected to be around 10 requests per second on busy days.
.FOOTNOTE2
Indexes with filesystem representation enables quick debugging sessions and to perform a few basic tasks (such as listing all the domains of a user) which, in practice, is great to have at our fingertips with simple unix tools.
.B "Feedback on the use of DODB in netlibre" .
DODB never required to even think much about storage.
The different structures used in the code to handle requests were used as-is, making DODB the simplest possible tool to store data.
Since DODB requires only a very few lines of code, tests were also very quick to make and run.
For example, database management only took a few dozen lines of code on a 3 kLOC project (dnsmanagerd), most of them being to setup the different databases (storage and triggers) and the rest to perform CRUD operations (each of them only requiring a single line of code).
.
.SECTION Conclusion
Thanks its unusual design choices, trading most features for simplicity and letting users implement their own solutions around the few (mostly focused on CRUD) operations provided by DODB, the complexity of the library is kept at a minimum.
@ -1787,7 +1793,6 @@ Thus, anyone can shape the code to their liking or add alternative options for s
The very few implementation choices (JSON, a single document per file, symlinks for indexes, partitions and tags) can be changed in a matter of hours.
DODB has been used in a real-life scenario for the netlibre project enabling the developer to focus on core features of the application.
For example, database management only took a few dozen lines of code on a 3 kLOC project (dnsmanagerd), most of them being to setup the different databases (storage and triggers) and the rest to perform CRUD operations (each of them only requiring a single line of code).
In its current form, DODB won't power the next
.I "AI thing" ,