Skip to content

izlley/nextsql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published