Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 964 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 964 Bytes

Github Actions codecov

Distributed Log Store (in Go)

Iterative development of a distributed log store from scratch in Go.

To test* entire codebase, run

make init gencert test

*test takes approx. 30-40 seconds

Principal struct is the Agent struct. High-level:

  • Agents can be read from/ written to, and replicate/propgate logs to other Agents leveraging HashiCorp's Serf package (implements gossip protocol).
  • Agents communicate via gRPC.
  • Agent code + tests found here: logstore/internal/agent

Current State:

  • Simple replication via gossip protocol has been implemented.
  • Tested using multiple local instances in testing.

To Do:

  • Implement Raft (Hashicorp implemtation)
  • DNS