Skip to content

LingJianCode/makedb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

makedb

The purpose of this project

To learn database system.

What is makedb?

makedb is a persisent k-v database that based on bitcask.bitcask's paper is here.

Task

  • Get/Put k/v with string.
  • Support http protocol.
  • Write ahead log.
  • Rotate active file.
  • Support redis protocol.
  • Get/Put k/v with list.

usage

  • start server
go run main.go
  • put key
curl -X PUT http://127.0.0.1:8080/key/value
  • get key
curl -X GET http://127.0.0.1:8080/key

About

implement k/v database base on bitcask.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages