DegDB
discontinuedby Tristan Rice and Chaoyi Zha · since 2015 · also known as Distributed Economic Graph Database
Hackathon-born Go triple store that shards graph data across peers and pays nodes in bitcoin for storage.
discontinued. Hackathon prototype (2015); no commits since January 2016.
Overview
DegDB, the Distributed Economic Graph Database, began as a PennApps Fall 2015 hackathon project by Tristan Rice and Chaoyi Zha. Each peer kept subject-predicate-object triples in a local SQLite file, triples were sharded across a peer-to-peer network by a murmur3 hash of the subject, and queries were JSON triple patterns sent over HTTP and fanned out to the owning shards. The 'economic' part was an incentive layer: nodes ran btcd and btcwallet so that storage and serving could be paid for in bitcoin. A planned rewrite never landed and the repository has been untouched since January 2016, so it is best read as an experiment in incentivised decentralised storage.
Strengths & trade-offs
Strengths
- +Small, readable Go codebase showing subject-hash sharding of a triple store
- +Early experiment in paying peers (via bitcoin) to store and serve shared graph data
- +MIT licensed, so the code can be reused freely
Trade-offs
- −Abandoned since 2016; depends on old btcd/btcwallet setups
- −No transactions, security model or production hardening
- −Query support limited to rooted triple patterns
Great for
- +Studying decentralised, incentive-based storage designs
- +Teaching examples of sharded triple stores
Think twice for
- −Production graph workloads
- −Anything needing consistency guarantees
Capabilities
Native or official first-party support · 1 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- Native
- Multi-region
- No
- Transactions
- None
- Consistency
- Eventual
- Schema
- Schemaless
- Architecture
- Distributed
- Query languages
- JSON triple patterns
Hash-sharded across peers by subject; never tested beyond development clusters.
Deployment
Ecosystem
Alternatives to DegDB
Go graph database inspired by Google's Knowledge Graph, dormant since its 2019 release.
degdb vs cayley →Distributed, horizontally scalable graph database in Go with native GraphQL and DQL.
degdb vs dgraph →Small, fast SPARQL database in Rust that embeds in Rust, Python and JavaScript or runs as a server.
degdb vs oxigraph →Serverless peer-to-peer database on IPFS and libp2p using Merkle-CRDT logs.
degdb vs orbitdb →Strongly typed entity-relation database with TypeQL, polymorphic queries and a Rust core.
degdb vs typedb →Open-source distributed graph database layered on Cassandra, HBase, ScyllaDB or Bigtable.
degdb vs janusgraph →DegDB FAQ
What is DegDB?
DegDB is a graph database by Tristan Rice and Chaoyi Zha, first released in 2015. DegDB, the Distributed Economic Graph Database, began as a PennApps Fall 2015 hackathon project by Tristan Rice and Chaoyi Zha. Each peer kept subject-predicate-object triples in a local SQLite file, triples were sharded across a peer-to-peer network by a murmur3 hash of the subject, and queries were JSON triple patterns sent over HTTP and fanned out to the owning shards. The 'economic' part was an incentive layer: nodes ran btcd and btcwallet so that storage and serving could be paid for in bitcoin. A planned rewrite never landed and the repository has been untouched since January 2016, so it is best read as an experiment in incentivised decentralised storage.
Is DegDB open source?
Yes. DegDB is open source. License: MIT License.
Does DegDB support ACID transactions?
No. DegDB does not provide ACID transactions; its consistency model is eventual.
Does DegDB scale horizontally?
DegDB scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at small scale (≤ 100 GB).
How can I run DegDB?
You can self-host it.
What is DegDB best for?
DegDB is a strong fit for studying decentralised, incentive-based storage designs; and teaching examples of sharded triple stores. Think twice for production graph workloads.
What are the best alternatives to DegDB?
Common alternatives to DegDB include Cayley, Dgraph, Oxigraph, OrbitDB and TypeDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is DegDB still maintained?
DegDB is discontinued. Hackathon prototype (2015); no commits since January 2016.
How popular is DegDB?
DegDB ranks #630 of 844 databases on the WhichDB Score (0.5/100), and #41 among graph databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.





