8000 GitHub - wosiwo/gedis: a nosql database that use go to realize redis like nosql
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
/ gedis Public

a nosql database that use go to realize redis like nosql

Notifications You must be signed in to change notification settings

wosiwo/gedis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gedis

a slimple demo that use go to realize redis like nosql

使用go实现类似redis的nosql服务 目前已经实现kv,hash,zset,set等数据类型

  • 启动服务
    go run server.go
    
  • 客户端直接使用redis-cli
    redis-cli -p 9997
    

TODO

  • 时间任务,清理过期key
  • 页面置换算法LRU,LFU
  • 主从同步
  • 支持持久化
  • 支持事务ACID特性
  • 性能优化
  • 使用协程的情况下,处理并发冲突
  • 操作已存在key时,先判断类型

DONE

About

a nosql database that use go to realize redis like nosql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0