30mins
At the heart of every application is a database. In the decentralized web, the peer-to-peer paradigm doesn't use servers, so how can we develop compelling applications and user experiences? This talk will demonstrate orbit-db, a distributed peer-to-peer database built on IPFS. We'll show how we can create traditional data models, such as a key-value store, in a distributed fashion and create applications without servers. We'll cover the underlying data structures and transport mechanisms provided by IPFS, take a look at CRDTs (Conflict-free Replicated Data Types) and show how they can be leveraged to create different types of databases. Using IPFS and orbit-db, we'll show examples of how to build news feeds, real-time chat and comment systems in distributed applications that can run purely in the browser.
orbit-db
is a distributed, peer-to-peer database built on IPFS. By saving all data in IPFS and using CRDTs, orbit-db
allows developers to create distributed shared state and data structures for compelling decentralized applications. Current database implementations include a Key-Value Store, an append-only log and counters among others.
orbit-db
on Github: https://github.com/haadcode/orbit-db
Real-time visualization showing how orbit-db
works: https://github.com/haadcode/proto2
Orbit, a chat application built using orbit-db
and IPFS: https://github.com/haadcode/orbit