Hi, I found some time to look closer to the Sling Discovery implementation on AWS S3 proposal in [0]. Doing so, I stumbled upon Etcd [1] based on Raft [2] which seems to covers exactly what I wanted to do.
Indeed, Etcd provides both persistent and temporal keys a well as primitives to perform leader election. Therefor, the Sling discovery API could be implemented on top of Etcd with the notable addition of * multi-level leader election (e.g. at deploymen level, region level, or any arbitrary segmentation). * persistent properties Etcd would require to be deployed on dedicated HW (not embedded) but offers HTTP API for Sling instances to communicate with it. I have added this option in SLING-2939. Has someone already implemented it ? If not, I think it would make much more sense to implement this integration rather than the idea in [0] and I would give it a go. Regards, Timothee [0] http://apache-sling.73963.n3.nabble.com/Sling-Discovery-implementation-on-AWS-S3-td4033160.html [1] https://github.com/coreos/etcd [2] https://raftconsensus.github.io
