Skip to content

Add raft-core TypeScript implementation#221

Open
maboke123 wants to merge 1 commit intoraft:mainfrom
maboke123:main
Open

Add raft-core TypeScript implementation#221
maboke123 wants to merge 1 commit intoraft:mainfrom
maboke123:main

Conversation

@maboke123
Copy link

Adding @maboke123/raft-core, a TypeScript implementation of Raft with:

  • Leader election with pre-vote
  • Log replication
  • Snapshots
  • Joint consensus cluster membership changes (addServer, removeServer, promoteServer)
  • Pluggable storage (InMemoryNodeStorage, DiskNodeStorage) and transport (GrpcTransport)
  • Full event stream for observability
  • Published on npm as @maboke123/raft-core and @maboke123/raft-grpc

Also includes a React devtools visualizer for observing live cluster state, elections, and message flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant