Difference between revisions of "Peer to peer"

From OVN wiki
Jump to navigation Jump to search
Line 118: Line 118:
 
==Cryptographic P2P Networks and Blockchain (2008-Present)==
 
==Cryptographic P2P Networks and Blockchain (2008-Present)==
  
−
The next major barrier was trust. How can strangers agree on shared records without a central authority? In 2008, Bitcoin combined:
+
The next major barrier was trust. How can strangers agree on shared records without a central authority? In 2008, Bitcoin combined: P2P networking, Cryptography, Distributed consensus and Economic incentives to create decentralized digital money. The major innovation was not merely currency. It was: **Consensus among untrusted peers.** For the first time, a P2P network could maintain a shared ledger without a central administrator. This opened the door to:
−
* P2P networking
 
−
* Cryptography
 
−
* Distributed consensus
 
−
* Economic incentives
 
−
to create decentralized digital money.
 
−
 
 
−
The major innovation was not merely currency. It was: **Consensus among untrusted peers.** For the first time, a P2P network could maintain a shared ledger without a central administrator.  
 
−
This opened the door to:
 
 
* Cryptocurrencies
 
* Cryptocurrencies
 
* Smart contracts
 
* Smart contracts
Line 132: Line 124:
 
* Decentralized finance
 
* Decentralized finance
 
* Tokenized coordination
 
* Tokenized coordination
−
 
−
 
  
 
==Content-Addressed Networks (2013-Present)==
 
==Content-Addressed Networks (2013-Present)==

Revision as of 00:20, 9 June 2026

Also written as p2p.


To be developed...


Principles of p2p

See Github repo for Principles of p2p.

A Short History of P2P Technology

Peer-to-peer (P2P) technology is not a single technology. It is a family of architectures in which participants (peers) directly contribute resources—storage, bandwidth, computation, identity, governance, or value—without depending on a central server. The history of P2P can be understood as a continuous attempt to solve a recurring problem:

How can large numbers of autonomous participants coordinate and share resources without central control?

This question appeared in different contexts: military networking, scientific collaboration, file sharing, censorship resistance, digital money, distributed computing, and more.


The Prehistory: Distributed Networking (1960s-1980s)

The intellectual roots of P2P precede the Internet itself.

During the Cold War, researchers sought communication systems that could survive failures and continue operating even when parts of the network were destroyed. This led to packet switching and distributed network control, key ideas behind ARPANET, the precursor of the Internet. Unlike traditional centralized communication systems, control was distributed among many nodes. ([Wikipedia][1])

The driving forces were:

  • Resilience
  • Fault tolerance
  • Resource sharing between institutions
  • Elimination of single points of failure

At this stage, however, most applications remained client-server.


The First P2P Wave: File Sharing (1990s)

The rapid growth of the Internet created a new problem:

Millions of users wanted to exchange files, but servers were expensive and bandwidth was limited.

The first major P2P systems emerged to solve this.

Napster (1999)

Napster was the first large-scale consumer P2P application. Its architecture was hybrid:

  • Files were exchanged directly between users.
  • A central server maintained the directory of available files.

This dramatically reduced hosting costs and enabled massive music sharing. However, the central index became both a legal and technical vulnerability. Copyright lawsuits eventually shut the system down. ([Wikipedia][2])

Friction that shaped the next generation - Napster revealed two weaknesses:

  1. Central servers could be sued.
  2. Central servers could fail.

This led developers toward fully decentralized architectures.


The Decentralization Era (2000-2005)

Projects such as:

  • Gnutella
  • Freenet
  • eDonkey2000

attempted to eliminate central indexes entirely. The challenge became:

How do peers find information without a central directory?

The earliest solution was flooding:

  • Ask every peer.
  • Forward queries throughout the network.

This worked but scaled poorly. ([Wikipedia][3])

The main friction shifted from legal vulnerability to scalability.


Distributed Hash Tables (DHTs) (2001-2005)

The next breakthrough was the Distributed Hash Table (DHT). A DHT acts like a distributed phone book:

  • No central database.
  • Every peer stores a small portion of the index.
  • Any peer can locate information efficiently.

Research projects such as:

  • CAN
  • Chord
  • Pastry
  • Kademlia

established the theoretical foundations. ([Wikipedia][3])

This milestone solved one of the most fundamental P2P problems: Decentralized discovery. Many later systems would reuse this idea.


BitTorrent and Efficient Resource Sharing (2001-Present)

The next challenge was efficiency. Downloading large files from a single peer was slow. BitTorrent introduced several innovations:

  • Files divided into chunks
  • Simultaneous downloading from many peers
  • Incentives for uploading ("tit-for-tat")
  • Swarm-based distribution
  • Later integration of DHTs for trackerless operation

Instead of one computer serving everyone, everyone helped serve everyone else. ([Wikipedia][4]) BitTorrent became one of the largest P2P systems ever built. The friction driving innovation was:

  • Bandwidth scarcity
  • Rapid growth of multimedia files
  • Resistance to shutdown


P2P Beyond Files: Distributed Computing

Around the same period, another branch emerged. Projects like SETI@home and BOINC used millions of volunteer computers to perform scientific calculations. Here the shared resource was not storage or bandwidth, it was computation. This introduced the idea that peer networks could collectively provide infrastructure traditionally supplied by institutions.

Cryptographic P2P Networks and Blockchain (2008-Present)

The next major barrier was trust. How can strangers agree on shared records without a central authority? In 2008, Bitcoin combined: P2P networking, Cryptography, Distributed consensus and Economic incentives to create decentralized digital money. The major innovation was not merely currency. It was: **Consensus among untrusted peers.** For the first time, a P2P network could maintain a shared ledger without a central administrator. This opened the door to:

  • Cryptocurrencies
  • Smart contracts
  • DAOs
  • Decentralized finance
  • Tokenized coordination

Content-Addressed Networks (2013-Present)

Traditional web addresses locate servers. P2P researchers asked:

What if we locate content itself instead of servers?

This led to systems such as IPFS. IPFS combines ideas from BitTorrent, Git, DHTs and Merkle trees. Content is addressed by cryptographic hash rather than server location. This improves integrity, replication, and censorship resistance. ([IPFS Docs][5]). The driving forces were:

  • Data permanence
  • Open knowledge sharing
  • Censorship resistance
  • Reduced dependence on cloud providers

The New Frontier: P2P Applications

Recent years have seen attempts to decentralize higher-level services:

  • Social media
  • Messaging
  • Databases
  • Video streaming
  • Identity systems
  • Governance systems

Examples include:

  • Mastodon
  • Secure Scuttlebutt
  • Holochain
  • Twister ([arXiv][6])

The challenge is no longer simply sharing files. It is coordinating human activity.


Milestone Features of P2P Technology

...
Era Major Feature
1960s Distributed packet switching
1990s Direct peer file exchange
1999 Large-scale peer discovery
2000 Fully decentralized networks
2001 Distributed Hash Tables
2001 Swarm distribution
2001 Incentive-based sharing
2008 Distributed consensus
2009 Native digital assets
2013 Content-addressed storage
2015+ Decentralized applications
2020+ Agent-centric architectures, decentralized identity, verifiable data

The Forces That Shaped P2P

Looking across sixty years, nearly every major innovation emerged from one of six pressures
Pressure Result
Network failure Distributed routing
Infrastructure cost Resource sharing
Copyright enforcement Decentralized discovery
Scalability limits DHTs and swarms
Lack of trust Blockchain consensus
Platform concentration Decentralized social and application protocols

In other words, P2P technology evolved primarily in response to concentrations of power, cost, or failure.


What Comes Next?

Several trends are becoming visible.

Agent-Centric Networks

Systems such as Holochain move away from globally shared ledgers toward local autonomy and mutual validation. The focus shifts from consensus about everything to accountability for individual actions.


Decentralized AI

AI models are increasingly centralized due to compute requirements. P2P approaches may emerge for:

  • Distributed inference
  • Distributed training
  • Cooperative model hosting
  • Open knowledge commons


Personal Data Sovereignty - Projects based on:

  • Solid
  • Self-sovereign identity
  • Verifiable credentials

aim to return control of data to individuals.


Commons-Based Infrastructure - One unresolved challenge remains: Most P2P systems solved technical decentralization but not economic sustainability.

The next generation may focus less on file sharing or cryptocurrency and more on 'sustaining shared resources, coordinating contributions, allocating ressources and benefits, and governing commons. This is the area where work on Valueflows, Holochain, Open Value Networks, and commons-oriented coordination systems is particularly relevant.


From a historical perspective, the trajectory of P2P has been moving from sharing files, to sharing infrastructure, to sharing trust, and increasingly toward **sharing coordination itself**.

References

p2p economy

Open =p2p economy= page.

See also Complexity economics.

p2p culture

We believe that culture is conditioned / shaped by the operating economic model, among other things. In other words, people adopt habits that allow them to efficiently perform within the socioeconomic setting, to satisfy their individual and collective needs.

Open p2p culture page.

Social p2p

Open Social p2p page.

See also Peer-to-peer society


p2p and complexity

See also complexity, complexity economics, Complexity Oriented Programming.

See also