CovenantSQL is a decentralized SQL database management system built on top of a blockchain. It supports most of the SQL-92 features. Each party interacting with CovenantSQL is either a client, a Block Producer, or a miner. When a client sends a connection request, the request is directed to one node among a group of nodes called Block Producers. The Block Producers form a public block chain. When a Block Producer receives a request, it allocates a number of CovenantSQL nodes, called miners. The miners self-organize into a separate block chain, called a shard chain, which runs SQL queries from the client.[04]
- Website
- https://covenantsql.io[01]
- Source Code
- https://github.com/CovenantSQL/CovenantSQL[02]
- Developer
- Country of Origin
- CN
- Start Year
- 2018
- Project Types
- Commercial, Open Source
- Written in
- Go
- Supported Languages
- Go, Java, JavaScript, Python, SQL
- Derived From
- SQLite
- License
- Apache v2
CovenantSQL is a decentralized SQL database management system built on top of a blockchain. It supports most of the SQL-92 features. Each party interacting with CovenantSQL is either a client, a Block Producer, or a miner. When a client sends a connection request, the request is directed to one node among a group of nodes called Block Producers. The Block Producers form a public block chain. When a Block Producer receives a request, it allocates a number of CovenantSQL nodes, called miners. The miners self-organize into a separate block chain, called a shard chain, which runs SQL queries from the client.[04]
System Architecture[05]
CovenantSQL uses a three-level architecture, consisting of a main block chain, many shard chains, and individual miners. The main block chain is a group of nodes called Block Producers, responsible for matching clients to shard chains. Each shard chain, which is a group of computing nodes called miners, is a single database. Each miner is a standalone database engine that is responsible for storage and query processing. The miners reach consensus using a variant of Byzantine Fault-Tolerated Raft, which the developers call Kayak.
Citations
5 sources- CovenantSQL - The Blockchain SQL Database covenantsql.io
- GitHub - CovenantSQL/CovenantSQL: A decentralized, trusted, high performance, SQL database with blockchain features · GitHub github.com
- pkgsite: doesn't handle non-ascii package name, regression compared to godoc · Issue #43036 · golang/go github.com
- https://covenantsql.io?lang=en#how covenantsql.io
- http://developers.covenantsql.io/docs/en/arch covenantsql.io