GUN (graph database)
Appearance
Original author(s) | Mark Nadal |
---|---|
Developer(s) | ERA Inc |
Initial release | 2014 |
Repository | github |
Written in | JavaScript |
Type | Graph database |
License | MIT License, Apache 2.0, Zlib License |
Website | gun |
GUN (Graph Universe Node) is an open source, offline-first, real-time, decentralized, graph database written in JavaScript for the web browser.[1][2]
The database is implemented as a peer-to-peer network distributed across "Browser Peers" and optional "Runtime Peers". It employs multi-master replication with a custom commutative replicated data type (CRDT).[3]
GUN is currently used in the decentralized version of the Internet Archive.[4][5]
References
[edit]- ^ Fireship (2021-06-07). "GUN Decentralized Graph DB in 100 Seconds". YouTube. Retrieved 2024-08-02.
- ^ Smith, Noah (2019-07-21). "These technologists think the internet is broken. So they're building another one". NBC News.
- ^ Thakur, Uma; Chichmalkar, Abhishek; Sambhare, Aditya; Chaturvedi, Aman; Khuspare, Chinmay; Tembhe, Nikhil (2022). "Decentralised Chat Application" (PDF). IRJET.
- ^ Abrams, Lawrence (2018-08-07). "Archive.org Has Created a Decentralized or Dweb Version of Their Site". Bleeping Computer. Retrieved 2024-07-12.
For these reasons, Archive.org is testing a decentralized version, or DWeb version, of their web site that allows their content to be delivered over peer-to-peer connections with different hosts sharing portions of or the same content. This decentralized version of Archive.org is running on the domain dweb.me or dweb.archive.org and uses a combination of HTTP and peer-to-peer protocols such as yjs, IPFS, WebTorrent, and GUN to deliver the content.
- ^ Brewster Kahle (2022-01-27). The Decentralized Web: An Introduction (Webinar). Metropolitan New York Library Council. Event occurs at 26:52 minutes in. Archived from the original on 2022-02-02. Retrieved 2024-07-12.
We went and built at the Internet Archive a demo, a couple of years old now called dweb.archive.org. The idea is can we build the Internet Archive but decentralized and that was kind of an interesting approach. It tried to leverage things like WebTorrent, IPFS, GUN, some of the early technologies that try to build decentralized tech such that any particular piece of hardware or institution could go away yet you still have access to the resources.
External links
[edit]