https://github.com/oldpanda/go-bitcask
Yet another Bitcask implementation in Go
https://github.com/oldpanda/go-bitcask
Last synced: 11 months ago
JSON representation
Yet another Bitcask implementation in Go
- Host: GitHub
- URL: https://github.com/oldpanda/go-bitcask
- Owner: OldPanda
- License: mit
- Created: 2020-07-26T04:16:08.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-18T03:13:33.000Z (almost 6 years ago)
- Last Synced: 2024-10-16T03:24:38.534Z (over 1 year ago)
- Language: Go
- Size: 338 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-bitcask
Yet another Bitcask implementation in Go
## Build
```
go build
```
## Run
To start server
```
./bitcask -c config.json
```
Client is not available yet, but it's always accessible via TCP connection
```
------------------------------------------------------------
🐼 ~ » echo -n "set foo bar" | nc localhost 9876
OK% ------------------------------------------------------------
🐼 ~ » echo -n "get foo" | nc localhost 9876
bar% ------------------------------------------------------------
🐼 ~ » echo -n "del foo" | nc localhost 9876
OK% ------------------------------------------------------------
🐼 ~ » echo -n "get foo" | nc localhost 9876
Key not found: foo%
```