I know about the ngx_http_keyval_module. I, however, would need to make this distributable with something like Raft consensus protocol. Or something similar to that, and I would like to avoid coding this in C if possible.
Maybe the solution could be something hybrid between already existing plugins and then do only the distribution part of the thing.