• plyth@feddit.org
    cake
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    16 hours ago

    I wait for the day that systemd unifies all /etc config file and the .* config files into one easy to use service that stores the configurations in one efficient central binary file with a tree structure for the values and thus maintains consistency over all applications, is easy to backup and overall makes life much better for developers and users alike.

    • SubArcticTundra@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      16 hours ago

      For desktop/app level stuff this is already the case with DConf, so I guess the challenge would just be to extend this into the kernel/services how

      • plyth@feddit.org
        cake
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 hour ago

        Avoiding round trips and context switches is desirable in itself, but the real advantage[citation needed] comes from allowing the I/O scheduler in the kernel to do a better job by saturating it with requests coming from all of the applications trying to read their keys (as opposed to a common configuration server serially requesting a single key at a time).

        Having all of the keys in a single compact binary format also avoids the intense fragmentation problems currently experienced by the tree-of-directories-of-xml-files approach

        https://en.wikipedia.org/wiki/Dconf

        I didn’t know.