borusg / noodle

Noodle - Puppet External Node Classifier and server database
Apache License 2.0
7 stars 2 forks source link

Add abstraction layer for backend storage #30

Closed tminor closed 4 years ago

tminor commented 4 years ago

This feels solidly 2.0, but I think it's worth looking into adding an abstraction layer to enable the use of a more traditional database (as an example). This would also affect queries.

tminor commented 4 years ago

This is probably something to reconsider later. For now I think it's fine to work toward a layer of indirection between Noodle and its storage mechanism. The idea is to facilitate simpler migration to some other backend if desired.