Skip to content

Instantly share code, notes, and snippets.

@dominictarr
Last active April 24, 2024 16:17
Show Gist options
  • Save dominictarr/5990143 to your computer and use it in GitHub Desktop.
Save dominictarr/5990143 to your computer and use it in GitHub Desktop.
Cypherlinks
@djcoin
Copy link

djcoin commented Jul 25, 2013

I had your idea too in some way. What sucks on internet is that anything is evolving, its get deleted or changed. If you really want to link data between them, there should be another layer on top of it that ensure that everything is immutable and authentic, hash and merkle tree for compound objects are the tools.

You should take a look to the CCNx ( http://www.ccnx.org/ - described as the future of the internet, you request "data" and not a url) and some ingoing implementation in JS (like: https://github.com/named-data/ndn-js ).
Basically, this is "storing" data in a distributed way on "routers" that also use caching. Data is cut in chunks and signed (keys are being passed around not so clear to me).
This project is awesome for several reason, i will give only two: 1/ of course you get immutability but also 2/ it can be YOUR content that is distributed in all those node and thus if your content is popular you benefits from all the caching infrastructure - don't need to have the firepower of google to handle the load.

Even more, Leveldb would be a great fit as a backend for this. I was thinking about making a lightweight javascript implementation of some CCNx inspired system but it seemed as too much work in a field that I don't master, but I would be happy to contribute to such a project.

@djcoin
Copy link

djcoin commented Jul 25, 2013

A few links:

Regarding the CCNx implementation, the core is in C, some tools are in Java, and the format is XML...
Specifications exist for many things, so we should be aware of it and choose to/or not to use it (eg: Json Web Signature).
I was thinking of using JavaScript and JSON (with b64 encoded stuff) and a leveldb backend.

Heh, this is mad|strong science :)

@dominictarr
Copy link
Author

this looks quite interesting.

@gobengo
Copy link

gobengo commented Jun 2, 2015

@arlettemessenger
Copy link

That's an interesting idea you have there! Can you explain how hash pointers ensure integrity and traceability in distributed systems? merge fruits wonders.

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