百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

dragonboat-example

> 编程语言
开源

赛龙舟的示例

197 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

赛龙舟的示例

About / 中文版

This repo contains examples for dragonboat.

The master branch and the release-3.3 branch of this repo target Dragonboat's master and v3.3.x releases.

Go 1.17 or later releases with Go module support is required.

Notice

Programs provided here in this repo are examples - they are intentionally created in a more straight forward way to help users to understand the basics of the dragonboat library. They are not benchmark programs.

Install

To download the example code to say $HOME/src/dragonboat-example:

$ cd $HOME/src
$ git clone https://github.com/lni/dragonboat-example

Build all examples:

$ cd $HOME/src/dragonboat-example
$ make

Examples

Click links below for more details.

  • Example 1 - Hello World
  • Example 2 - State Machine
  • Example 3 - Multiple Raft Groups
  • Example 4 - On Disk State Machine
  • Example 5 - Optimistic Write Lock

Next Step

  • godoc
  • Contribute code or report bugs for dragonboat

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Goraftraft-algorithmraft-consensus-algorithmraft-protocol

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言