Thanks to all for the references, will study. I looking for theoretical materials, but open source project also is good. Primary interest is replication a DB from root/master node (-s) in a P2P network over a swarms of peers. It's may be SQLITE or MDBX or something other or good old RMS, no matter. An area or application is the blockchain.