https://github.com/mrinalxdev/ddb
A implementation of distributed database in golang
https://github.com/mrinalxdev/ddb
Last synced: 11 months ago
JSON representation
A implementation of distributed database in golang
- Host: GitHub
- URL: https://github.com/mrinalxdev/ddb
- Owner: mrinalxdev
- Created: 2025-04-25T13:15:57.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-04-26T12:17:15.000Z (12 months ago)
- Last Synced: 2025-04-26T13:26:55.212Z (12 months ago)
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What is a Distributed Database
top examples will be MongoDB Atlas
### 1. Data Partitioning
core Idea : Parting the date into multiple nodes for scalability
Strategies Used :
1. Hash Based : Each record is assigned to partition based on hash function applied to its primary key. For example `hash(key) % number_of_partitions`
2. Range Based
3. Composite Based : Combined hash-based and range-based Partitioning