Skip to content

Instantly share code, notes, and snippets.

@chickencoder
Created February 10, 2019 21:29
Show Gist options
  • Save chickencoder/23428e58c24480c08be74b7eac30714d to your computer and use it in GitHub Desktop.
Save chickencoder/23428e58c24480c08be74b7eac30714d to your computer and use it in GitHub Desktop.
Overview of the Delta Zero Distributed Messaging Network

d0 🤳

d0 (delta zero) is a protocol and network for sending authenticated communication through an anonymous medium.

How it works

d0 provides an index of live/idle message-transport instances. These instances are self-contained, in-memory websocket servers. By hosting these instances on a serverless platform such as now, the chat is essentially stateless meaning once the instance has been dormant for 15 minutes (or default sleep time for now lambdas), chat history is lost.

Users will register their public key and username with the main d0 instance and can then use jwt auth to start sending messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment