Performance-wise it would be a good idea to implement some bulk handling, so multiple settings can be retrieved with e.g. a single database call. For storage this might mean deferred writes, which shouldn't be too hard since we already use a local store.