Peer-To-Peer: Our Only Hope

in technology •  26 days ago

Peer-To- peer.png

We have mentioned peer-to-peer a lot over the past few blog post but we have not taken the time to dive into the concept. I should have brought this up before all those post but we'll do it now. Peer-to-peer has been around a long time and is decentralized in nature.

Yes, this is decentralized without the need for a blockchain. Cryptocurrencies and blockchains are awesome but not everything needs to use that technology to be decentralized. All cryptocurrenies are peer-to-peer but not all peer-to-peer decentralization has to be on a blockchain.

Peer-to-peer is as it sounds. You connect to another user directly. There is no need for a central server to host, upload, download, or serve files. When there is no central server doing all the work, there is no one point of failure. This also eliminates the issue of central servers shutting you down because they don't like what you say or share. This is a huge step in keeping the internet steeped in free speech.

In a peer-to-peer system a computer will divide a portion of the resources it has and give them to the network. This can include hard drive space, bandwidth, or processing power. These allocated resources are still the computer but, as with hard drive space, the predetermined amount is used to store information that can be called by other computers on the network. Doing this allows for more space, speed, or processing power to be used than a single computer on the network could hold alone.

Due to this structure, each peer both supplies data and consumes data. With the most common model we use online today the server does all the supplying while the users on the web do all the consuming. This made the most sense in the early 2000's when the internet was growing and our personal computers were a fraction of what we have today.

However, now that is not a big issue. Our computers are much more powerful than they were and our internet connections are much faster. The only reason we are still using the centralized model is due to a legacy mentality.

napster-logo-peer-2-peer.png
image from Wikipedia

If there was one application that brought peer-to-peer networking out of the wood work it was Napster. Napster was a program that allowed people to connect to share music files. Shawn Fanning and Sean Parker founded Napster as a standalone file-sharing platform.

Napster only operated in this manner for two years and a month ending in July of 2001. The reason Napster shut down, as far as I can tell, is because they had a company that could be attacked and they were attacked for copyright infringement to the tune of $36 million.

Any part of a decentralized service that is centralized puts the entire ecosystem at risk. When this happens can we really call the service decentralized? I would say no but luckily most peer-to-peer applications and services made today focus on keeping everything decentralized.

This is the lesson learned from Napster and as other services fail, we continue to learn more. This helps us make peer-to-peer systems like BitTorrent. The reason BitTorrent has not been shut down is that there is no central point to attack as in a company or server. The people that want to wipe BitTorrent off the planet like they did with Napster now have to go after ever single user.

That is magnitudes more difficult.

Applications Of The Peer-To-Peer Structure

Mesh Networks

We talked about mesh networking in a post in more depth so check that out for more information. Mesh networks are a peer-to-peer way of connecting to other computers and servers. It is a more decentralized form of the internet in that there is no internet service providers.

We still need the ISPs to reach sites on the current web since there is not a worldwide mesh network, but that does not make it impossible. Every town and city could set up their own mesh network and tie into the next town to spread the reach. This kind of network makes it pretty much impossible for any entity to kick a person off the network.

File.Pizza

File.Pizza is a quick and easy way to share a file with another person online. After loading up the website you can tell it what file you want to send and the site prepares a special unique link. This link allows the person to connect to you without a middle man like Dropbox or Google Drive.

There is never any uploading to file.pizza only to the computer with the link you sent. If you are using Firefox there seems to be no limit to how big the file can be and the speed at which the other person gets the file is determined by your upload speed and their download speed.

yacy-peer-to-peer-search.png
image from YaCy.net

YaCy

YaCy is a peer-to-peer search engine. Sites like Google, Yahoo, Bing, and Duck Duck Go are all centralized search engines. When using a normal site to search the web you are connecting to their servers and getting information. This means they can track you and chose not to show you something as they see fit.

With YaCy censorship can not happen. When you search with YaCy, you are connected directly to other uses to retrieve the results. It is good too! I was experimenting with it before making this post and I was impressed by what this system could find. I am talking more than just websites.

Dat & The Beaker Browser

We also covered Dat and the Beaker browser in another post so check that out for more information. What these two do is work together to bring a more decentralized internet to our current model. Dat is the protocol that allows far peer-to-peer connections of any website created using Dat.

The Beaker browser is to access these sites that use the Dat protocol. You don't have to know a site has a peer-to-peer version before you visit. When using the Beaker browser to surf the web if a site has a peer-to-peer version Beaker will let you know. Switching to the decentralized version is as easy as clicking a button.

Thanks for reading!

If you have any questions please ask and I will do my best to get you the answer.

All images came from royalty and attribution free sources unless specified
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  trending

Upped and followed. Great post. I really appreciate you bringing our attention to this important point. I see some bloggers using this system to free themselves from censorship from the YT, FB, TW, Google gestapo, and get their content to their audiences directly. I am not skilled in understanding how this all works but I greatly appreciate the value of decentralizing the internet and social media and giving us all freedom of expression.

·

It is ok if you don't know everything, neither do I! As long as I can share what i do know and you gain something then the effort was worth it.

This is useful, even precious info - as it can come only from a NERD!!! 😂

Always learning something from your posts/podcasts.
I think you having a radio show on MSP-Waves would be a great addition to the programming.

·

hahah a nerd indeed! thanks for reading <3 I am happy you learn from my hard work.

sir i need it for personally use..may i copy it?if you permission me so that i will do it

·

what do you want to do with it? why not just bookmark it if it is for personal use?

Very interesting and needed post. I am going to try YaCy. Thanks @jrswab

·

YaCy is really cool! Just follow the directions for your operating system and give it a whirl. I am going to make it a point to use that first before any other.

Minor typo:

"...each peer both supplies data and consume data."

Major good article! Thanks for the references.

😄😇😄

@creatr

·

Thanks for the heads up!

·
·

I think it's still editable?

·
·
·

yes, I just added an 's' haha

All cryptocurrenies are peer-to-peer but not all peer-to-peer decentralization has to be on a blockchain

Great distinction!

This also eliminates the issue of central servers shutting you down because they don't like what you say or share. This is a huge step in keeping the internet steeped in free speech

Exactly!

The only reason we are still using the centralized model is due to a legacy mentality

That's the same reason a lot of archaic mentalities are living on. They are comfortable and what people are accustomed to.

This was a great writeup. Resteemed by your friendly @eastcoaststeem
Feel free to join our small but growing communal discord:
https://discord.gg/6vQK7Ca

·

Thanks for the resteem and comment!

·
·

Of course, you are very welcome