项目作者: ryansann

项目描述 :
Persistent key / value store with an abstracted storage layer
高级语言: Go
项目地址: git://github.com/ryansann/hydro.git
创建时间: 2018-11-10T19:51:03Z
项目社区:https://github.com/ryansann/hydro

开源协议:MIT License

下载


Hydro

Hydro is a simple, persistent key / value store written in Go.

This was done as an experiment in databases for a Golang meetup.

To start the hydro tcp server run: make

You can connect to the server via telnet localhost <port>. Once connected you can run commands like:

  • set hello world // sets key “hello” to “world”
  • get hello // gets value for key “hello”
  • del hello // deletes key “hello”
  • quit // close connection

If you have restore enabled, the database will read the commit log to reload the key value store on startup.

The are hydro specific environment variables that will change runtime behavior. Those can be found here