basho / cuttlefish

never lose your childlike sense of wonder baby cuttlefish, promise me?
Apache License 2.0
205 stars 124 forks source link

Pluggable Backends #53

Open Licenser opened 10 years ago

Licenser commented 10 years ago

It would be nice if it were possible to have multiple backends with different priorities.

Initial thought: a backand would be just some kind of module that returns a list of {key, value} tuples

The use of that would be that some state could be stored in the application, perhaps shared over nodes in a distributed system and the 'file' config would be the inital state/backup, but 'in app configuraiton' could overwrite the files, also it would easiely allow to have multiple files that are 'merged'