https://github.com/gr455/omnipresence
Distributed key value datastore
https://github.com/gr455/omnipresence
Last synced: 6 months ago
JSON representation
Distributed key value datastore
- Host: GitHub
- URL: https://github.com/gr455/omnipresence
- Owner: gr455
- Created: 2024-11-16T16:10:39.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-04T13:57:51.000Z (over 1 year ago)
- Last Synced: 2025-07-30T01:12:32.499Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 93.6 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Omnipresence
Replicated key-value storage. etcd's cousin.
Omnipresence uses the Raft consensus algorithm for its replication engine.
## Run
1. Run `make`
2. Use default (5 peers) or Add details about your raft nodes in `config.json` and `client/config.json`
3. Within the `bin/` directory, find the `omnipresence` binary
4. Set `RAFT_PEER_ID` and `RAFT_PEER_PORT` env vars and run the binary to start a single Raft node. These should match the ones in config.
```
RAFT_PEER_ID=peer1 RAFT_PEER_PORT=50051 bin/linux-amd64/omnipresence
```
4. Start many Raft nodes
5. Within the `bin/` directory, find the `client` binary
6. Run the client binary to interact with the key value map.
