Socket
Book a DemoInstallSign in
Socket

github.com/distcompiler/pgo/systems/raftres

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/distcompiler/pgo/systems/raftres

Source
Go
Version
v0.0.0-20251109013143-61928b393433
Version published
Created
Source

raftres

raftres is a modular composition of the pure Raft protocol and a naive distributed key-value store. This system demonstrates the modular verification and composition of PGo-based systems.

Model

raftres is composed of two models: raft and kv. raft is a pure Raft protocol without any client interaction semantics. kv is a distributed key-value store that assumes it has access on an abstract consensus layer.

In the composition, raft and kv communicate using accept and propose channels. Each raft server accepts new request through its accept channel and broadcasts committed log entries through its propose channel. kv leverages these channels and implements a key-value store using them.

Assumptions

Both raft and kv make the same assumptions as the raftkvs systems.

Properties

raft only has the five properties from the Raft protocol.

FAQs

Package last updated on 09 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts