Skip to content

Latest commit

 

History

44 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextsql

NextSql is the next generation of database like spanner and foundationDB.

Multi-paxos

Implemented multi-paxos for data replication and RSM.

Message flow: Multi-Paxos Collapsed Roles, start
(first instance with new leader)

Client      Servers
   |         |  |  | --- First Request ---
   X-------->|  |  |  Request
   |         X->|->|  Prepare(N)
   |         |<-X--X  Promise(N,I,{Va,Vb})
   |         X->|->|  Accept!(N,I,Vn)
   |         |<-X--X  Accepted(N,I)
   |<--------X  |  |  Response
   |         |  |  |

Message flow: Multi-Paxos Collapsed Roles, steady state
(subsequent instances with same leader)

Client      Servers
   X-------->|  |  |  Request
   |         X->|->|  Accept!(N,I+1,W)
   |         |<-X--X  Accepted(N,I+1)
   |<--------X  |  |  Response
   |         |  |  |

Variation of 2PC

Implemented a non-blocking 2PC variation for transaction control.

True-time

Key-value storage

Structured data conversion

SQL query compiler

About

The next generation of database

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages