praetor

command module
v0.0.0-...-fa01fcf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

概览

分布式kv数据库demo,基于raft协议实现,针对简单kv进行存储并同步到各个节点。

部署要求实例为基数个。

使用方式

go build -o praetor .

备注:添加和删除只能在leader上进行操作

后续规划

  • 日志文件记录
  • 支持配置文件启动
  • 任意节点都可以做添加和删除
  • 存储算法继续优化目前只是map

Documentation

Overview

Copyright © 2024 NAME HERE <EMAIL ADDRESS>

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL