An open API service indexing awesome lists of open source software.

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

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%
```