Interplanetary Peers | Techsnap 384

Website so one of the things that’s on their front pages you know remember Geocities the web doesn’t anymore I don’t know about you but I certainly spent you know many years crafting you know the best animated gifs you that man could dirt man could scrounge from the Internet I mean it’s.

A rite of passage absolutely that that under-construction sign one of the things that ipfs does is it takes a block of data so that might be your web page itself plus any images may be a collection of web pages and it effectively creates that block as a Content ID the lump and that is then pushed into the IP FSD this interplanetary file system its marked with with.

A Content ID which is effectively a hash of that that blob of data and.

Then in theory I could then send anyone of you a link to you.

Know what’s over your my PFS gateways so you can run an IP FS by it on your local machine and access localhost or you can use cloud flares gateway there are other gateways that are out there and then suffix that with /ip FS so IP NS and then the your for the the hash that you wanted to get so that means for sake of argument if I create a a blob of data and pass.

It around that’s then out there for as long as it’s being accessed by the internet effectively it’s cached on all the machines of the people access it and it’s a little bit like BitTorrent in fact.

I’m sure that a lot of the inspiration from this came from bit bits aren’t in that all the people are accessing it are then acting as Cedars for that information again right so you can you.

Can go if you’re running especially if you’re if you’re running a local version of this and you go to access that it can go pull that down but once you’ve pulled that data down from the network from some.

Other node that’s already hosting it well you’re effectively hosting it – absolutely and so obviously because of the fact that’s a a hash of us of a specific blob of data and realistically what you want is not so much you know the equivalent of you know.

Document 1 dot version 1 dot dot really old dot oh no it’s or whatever I would never use that naming scheme oh come.

On would you not no no no never but it’s rather than like addressing a specific version of a file what you actually want to do is address you know my website com so what you can do with ipfs is use a thing called DNS link.

Which is where you inject a DNS text record pointing to a IP NS so that’s interplanetary naming system record and that’s a mutable link so where it effectively in the in the back end of the system if you’ve got our hash which is say for example dead beef and you then have this.

IP NS this is this name reference which is decaf bad if you.

Then change your Content ID from dead beef to aibee aibee aibee aibee sake of argument and you tell it that that’s.

The same name it effectively just updates the pointer so it’s almost like the get head and the get tag methodology for those that are comfortable with the get wave things or just as I said having a file.

Dot really new really really new right yeah I mean you can you can think of it as updating symlink to the latest release of something or the latest version that is probably a much more.

Sensible way of looking at things yes it’s interesting to like I think I think I’m personally.

A big fan of this approach to having immutable values and what you then you can have mutable references to those values but you know that you won’t.

Lose any of those those past versions right you don’t you don’t modify in place you make a new version it gets a new hash and you update your pointer yeah absolutely and actually one of.

The benefits to this is that it means that static content lives.

In theory forever particularly you know high value content so I know that when the WikiLeaks stuff was being released for example people were sharing that sort of content on ipfs knowing that that content would then stay for as long as it was being accessed obviously stuff being accessed doesn’t make it last forever what you actually want is something to say I’m going to keep a copy of this and effectively be like a.

Persistent seeder again using the BitTorrent terminology so what you can actually do is you can either run lots of nodes yourself and pin that content on all those nodes which main so for example if I’ve got my content on my home system and I’ll have a server in the cloud or I could do is access that content from the server in the cloud.

And then pin it so then I have two points of resiliency well for some organizations two points of resiliency is enough you want ten fifteen thousand one hundred thousand whatever and what.

You could do at that point is then contract out two.

Firms to pin that content for you and in fact it’s actually called out in.

The IP FS documentation as being one way of making money as a service provider for ipfs right basically it’s in like look I have storage and bandwidth and if you need files I’m I can add them and then you don’t have to worry as well right you don’t know where that they’re gonna modify it or have have insider access man-in-the-middle.

You because well it’s all identified by the hash absolutely that’s exactly why it’s a brilliant system to be looking at so obviously the next thing that most people look at when they’re looking at websites is although they did reference Geocities people don’t really tend to want.

Static websites anymore they want dynamic and flexible content yeah right I mean you’re changing all the time you’re working on.

A new project you want to tell people about it you all kinds of stuff stuff happens and you want your website to reflect that or if you even if you wanted to do something like you know have user comments and stuff like that so actually in the background of.

Ipfs there’s a system called pub/sub which stands for publish and.

Subscribe and that is eventual consistent database that runs inside the ipfs system so I can publish something into the into this pub/sub system and it will pop out to anyone.

That’s subscribed to the same output that I’m and a group of coders have taken that as a basis and they’ve developed a thing called orbit DB and in fact.

Posted in Linux<a href="" rel="tag">Alpine Linux</a> <a href="" rel="tag">Cloudflare</a> <a href="" rel="tag">Content-addressable storage</a> <a href="" rel="tag">Data Breach</a> <a href="" rel="tag">Decentralization</a> <a href="" rel="tag">Decentralized Storage</a> <a href="" rel="tag">DevOps</a> <a href="" rel="tag">DNSLink</a> <a href="" rel="tag">Docker</a> <a href="" rel="tag">Filecoin</a> <a href="" rel="tag">Filesystems</a> <a href="" rel="tag">Government Payment Service</a> <a href="" rel="tag">GovPayNow</a> <a href="" rel="tag">Interplanetary Filesystem</a> <a href="" rel="tag">IPFS</a> <a href="" rel="tag">IPNS</a> <a href="" rel="tag">Javascript</a> <a href="" rel="tag">Magecart</a> <a href="" rel="tag">Newegg</a> <a href="" rel="tag">OrbitDB</a> <a href="" rel="tag">Payment Systems</a> <a href="" rel="tag">Peer-to-Peer</a> <a href="" rel="tag">Podcast</a> <a href="" rel="tag">Sysadmin</a> <a href="" rel="tag">WD My Cloud</a> <a href="" rel="tag">Western Digital</a>