Comments (2)
Is it even possible? Idea is that you could have chunks of data spread across different raft groups and using OnDiskCluster to persist / recover snapshots?
Yes, it will work. Basically you can use OnDisk state machine to build a persistent storage and use that to store snapshots.
Also, this is by far the best Raft implementation in Golang, super easy to use, great performance.
Any chance to contribute some PRs? Looking forward to that. :)
from dragonboat-example.
However, the example for multigroup is using StartCluster. I have trouble getting it to work with StartOnDiskCluster. It seems that nodes cannot reach each other. Is it something i've messed up, or multi group works only with normal StateMachine and not the OnDisk one?
Also, I'd be interested to contribute if i find something interesting to add. I am currently just experimenting with the library.
Thank you @lni!
from dragonboat-example.
Related Issues (20)
- 缺少一个编译选项 HOT 1
- how to use tcp or etcd svr to read ,to replace "reader := bufio.NewReader(os.Stdin)" in example HOT 1
- ondisk restore from snapshort panic HOT 1
- ondisk example is unable to recover from crash HOT 1
- Cannot resolve reference to regular client session example HOT 1
- Why update function need return sm.Result ? HOT 1
- Is the distribution of multi groups leaders balanced? HOT 2
- leader election HOT 1
- regarding multiple raft group HOT 1
- regarding shardid = 128 and ondisk example
- go mod vendor and go build error for ondisk
- trying to read godoc for diskkv.go but not available. possible to pls update? HOT 1
- run example-ondisk fail HOT 1
- possible to do a pub/sub example?
- Can replicas run on different hosts to form a cluster? When I tried to do this, configuring the node address, I used the public ip of the host, and the ip was not recognized at startup.
- it doesnt seem possible to simulate a failed node with the ondisk example HOT 10
- RUN helloworld example error! HOT 1
- C++ examples HOT 1
- raft: write op just can on leader, or any node
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dragonboat-example.