Skip to content

ryansann/hydro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Persistent key / value store with an abstracted storage layer

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors