Grove is a concurrent separation logic library for verifying distributed systems. Grove is the first to handle time-based leases, including their interaction with reconfiguration, crash recovery, thread-level concurrency, and unreliable networks. This paper uses Grove to verify several distributed system components written in Go, including GroveKV, a realistic distributed multi-threaded key-value store. GroveKV supports reconfiguration, primary/backup replication, and crash recovery, and uses leases to execute read-only requests on any replica. GroveKV achieves high performance (67-73% of Redis on a single core), scales with more cores and more backup replicas (achieving about 2x the throughput when going from 1 to 3 servers), and can safely execute reads while reconfiguring.
翻译:Grove是一个用于验证分布式系统的并发分离逻辑库。Grove首次处理基于时间的租约,包括其与重配置、崩溃恢复、线程级并发以及不可靠网络的交互。本文使用Grove验证了多个用Go编写的分布式系统组件,包括GroveKV,一个现实的多线程分布式键值存储。GroveKV支持重配置、主/备复制和崩溃恢复,并使用租约在任何副本上执行只读请求。GroveKV实现了高性能(单核上达到Redis的67-73%),并随着更多核心和更多备份副本的扩展而扩展(当从1台服务器扩展到3台服务器时,吞吐量提升约2倍),并且可以在重配置期间安全执行读取操作。