this might be of interest https://blog.fastmail.com/2016/12/03/cyrus-databases-twoskip-and-beyond/
along with a somewhat aged ocaml view server https://github.com/VictorNicollet/CouchDB-OCaml-Adapter I am suprised I hadn't seen this already, and https://github.com/VictorNicollet/BackupServer/blob/master/couchdb.ml for those who like Camels on their Couches. A+ Dave