Skip to content
/ ankadb Public

AnkaDB = GraphQL + GRPC + Raft + (LevelDB or RocksDB)

License

Notifications You must be signed in to change notification settings

zhs007/ankadb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnkaDB

Build Status

AnkaDB is a scalable embedded database with golang.
AnkaDB supports multiple database engines, LevelDB and RocksDB.
AnkaDB is now single-node and will soon support multiple nodes, using the raft protocol.
AnkaDB queries and modifies data with GraphQL.
AnkaDB used GRPC & ProtoBuf v3.

TradingDB is an implementation of AnkaDB.

Key-Value sample is here.
GraphQL sample is here.


Update

v0.6
  • Support raft protocol.
v0.5
  • Support RocksDB.
v0.3
  • Refactor AnkaDB & DBLogic.
  • Add Key-Value interface.
  • Add GraphQL sample.
  • Add test.
  • Add Development Log.
v0.2
  • Refactor the error module and delete the CODE in the protobuf.
  • Support graphiql
  • Replace chan with context
v0.1
  • Complete basic single node.
  • Support graphql query.
  • Support leveldb.
  • Support http service.
  • Support grpc service.
  • Support local queries.

AnkaDB Development Log

Come Here


How To Upgrade v2 To v3

  • change *AnkaDB to AnkaDB.
  • change Config to *Config.
  • change MgrDB to GetDBMgr().
  • remove your dblogic, and use ankadb.NewBaseDBLogic new a DBLogic.
  • Config.ListDB.PathDB doesn't require join Config.PathDBRoot.
  • you can remove all the query result definitions, and use MakeMsgFromResultEx to resolve the query result.

About

AnkaDB = GraphQL + GRPC + Raft + (LevelDB or RocksDB)

Resources

License

Stars

Watchers

Forks

Packages

No packages published