THE CRYPTO ENCYCLOPEDIA — VOLUME I

Distributed Systems

Article 6 of 250 Foundations 1,504 words

Encyclopedia Classification

Category: Computer Science • Networking • Blockchain Technology

Discipline: Computer Architecture • Database Systems • Decentralized Networks

Prerequisites

Related Articles

Blockchain • Nodes • Peer-to-Peer Networks • Consensus • Decentralization • Fault Tolerance • Byzantine Fault Tolerance • Bitcoin • Ethereum • Validators


Definition

A distributed system is a group of independent computers that work together and communicate over a network to accomplish tasks as if they were one coordinated system.

In cryptocurrency, distributed systems allow thousands of computers around the world to maintain shared records without relying on a single central authority.


Beginner Explanation

Imagine a classroom where one student keeps track of everyone's grades.

Everyone has to trust that student.

What if that student makes a mistake?

What if they change grades unfairly?

Now imagine every student has the same copy of the grade book.

Whenever a grade changes, everyone compares their copies and agrees on the correct update.

That is the basic idea behind a distributed system.

Instead of one person keeping the record:

Many computers work together to maintain the same information.


Why Distributed Systems Matter

Before blockchain, most computer systems were centralized.

Examples:

  • Banks store account balances.
  • Social media companies store user data.
  • Email providers store messages.
  • Governments store records.

One organization controls the database.

This approach is efficient, but it creates dependence on a central operator.

Distributed systems explore a different model:

Many independent participants maintain and verify the system together.


Centralized vs Distributed Systems

Centralized System

A single authority controls the main database.

Example:

A bank database.

Structure:

         Users  
            |  
            |  
         Central  
         Server

Advantages:

  • Fast
  • Simple management
  • Easy updates
  • Efficient

Disadvantages:

  • Single point of failure
  • Requires trust
  • Can be censored
  • Attractive target for attackers

Distributed System

Multiple computers share responsibility.

Structure:

   Node     Node

      \\       /

        Network

      /       \\

    Node     Node

Advantages:

  • More resilient
  • Less dependent on one organization
  • Greater transparency
  • Harder to manipulate

Disadvantages:

  • More complex
  • Slower coordination
  • Requires consensus mechanisms

The History of Distributed Systems

Distributed computing existed long before cryptocurrency.

The development of the internet required computers to communicate and share information across networks.

Important developments include:


Early Computer Networks

1960s–1970s

Researchers developed ways for computers to communicate over networks.


ARPANET

Created in 1969.

One of the foundations of the modern internet.


Client-Server Computing

Computers began connecting to centralized servers.

Examples:

Websites

Email providers

Banking systems


Peer-to-Peer Networks

Computers began communicating directly with each other.

Examples:

Napster

BitTorrent

Bitcoin


What Makes a System Distributed?

A distributed system usually contains:


Multiple Independent Nodes

A node is an individual computer participating in the network.

Examples:

  • Bitcoin nodes
  • Ethereum validators
  • Database servers
  • Cloud computers

Communication Network

Nodes must exchange information.

Communication may happen through:

  • Internet connections
  • Peer-to-peer protocols
  • Messaging systems

Shared State

The participants maintain information that should remain consistent.

Examples:

A blockchain ledger

A database

A file system


Rules for Agreement

Participants need a method to determine what information is correct.

This is called consensus.


Nodes

Definition

A node is a computer connected to a distributed network.


Beginner Explanation

A node is like a person holding a copy of the group's records.

The more independent copies exist, the harder it becomes for one person to secretly change the information.


Types of Nodes

Full Node

A computer that stores and verifies the complete blockchain history.

Responsibilities:

  • Validate transactions
  • Verify blocks
  • Enforce network rules

Light Node

Stores less information.

Relies on full nodes for some data.

Used when storage or bandwidth is limited.


Mining Node

A node participating in Proof of Work mining.


Validator Node

A node participating in Proof of Stake consensus.


Archive Node

Stores complete historical blockchain data.

Often used for research and applications.


Peer-to-Peer Networks

Definition

A network where computers communicate directly with each other rather than relying on a central server.


Traditional Internet Example

When you visit a website:

You usually connect to:

Your device → Company server


Peer-to-Peer Example

In a blockchain:

Your computer communicates with multiple other computers.

Information is shared across the network.


Advantages of Peer-to-Peer Systems

Resilience

If one computer fails, others continue operating.


Censorship Resistance

No single company controls access.


Resource Sharing

Participants contribute computing power, storage, or security.


Challenges of Distributed Systems

Distributed systems solve major problems but create new ones.


Coordination Problem

Thousands of computers must agree.

Questions:

  • Which transactions are valid?
  • Which information is correct?
  • Who updates the system?

Latency

Information takes time to travel across networks.

A computer in Texas receives information before a computer in Japan.


Consistency

All participants need compatible versions of the data.


Security

Attackers may attempt to:

  • Control nodes
  • Spread false information
  • Disrupt communication

Fault Tolerance

Definition

The ability of a system to continue operating when some components fail.


Beginner Explanation

Imagine a restaurant with five cooks.

If one cook gets sick, the restaurant can still operate.

A fault-tolerant system expects problems and continues working.


Types of Failures

Distributed systems must handle:

Crash Failures

A computer stops working.


Network Failures

Computers cannot communicate.


Malicious Failures

A participant intentionally behaves incorrectly.


Byzantine Fault Tolerance

Definition

The ability of a distributed system to operate correctly even when some participants act maliciously.


Why Byzantine Fault Tolerance Matters in Crypto

Public blockchains cannot assume everyone is honest.

Anyone can participate.

A malicious actor may attempt to:

  • Create fake transactions
  • Attack the network
  • Double-spend funds

Consensus mechanisms are designed to handle these situations.


Distributed Systems and Blockchain

A blockchain is a specialized type of distributed system.

It combines:

  • Distributed databases
  • Cryptography
  • Consensus mechanisms
  • Economic incentives

A blockchain is not simply a database.

It is a database designed to operate among participants who may not fully trust each other.


Example: Bitcoin Distributed System

Bitcoin includes:

Nodes

Maintain blockchain copies.

Miners

Compete to add blocks.

Users

Create transactions.

Cryptography

Secures ownership.

Consensus

Determines the valid chain.

Together these components create a decentralized financial network.


Example: Ethereum Distributed System

Ethereum includes:

Nodes

Store blockchain data.

Validators

Secure the network.

Smart Contracts

Execute applications.

Users

Interact with decentralized applications.


Distributed Systems and Decentralization

Decentralization is a design choice.

A system can be:

  • Centralized
  • Distributed
  • Decentralized

These terms overlap but are not identical.


Centralized

One authority controls the system.

Example:

A company's database.


Distributed

Multiple computers participate.

Example:

A cloud database across many servers.


Decentralized

Control is spread among many independent participants.

Example:

A public blockchain.


Blockchain Does Not Automatically Mean Decentralized

Important distinction:

A blockchain can exist without meaningful decentralization.

A company could operate a blockchain where it controls every node.

The technology alone does not guarantee decentralized governance.


Common Misconceptions


"Distributed means decentralized."

Not always.

A company may operate many servers but still control the entire system.


"More nodes always means better."

Not necessarily.

Quality, independence, incentives, and geographic distribution matter.


"Distributed systems cannot fail."

False.

They can experience:

  • Software bugs
  • Network failures
  • Economic attacks
  • Governance problems

"Blockchain invented distributed computing."

False.

Distributed computing existed decades before blockchain.

Blockchain combined existing technologies into a new system design.


Real-World Examples

Distributed systems include:

  • Bitcoin
  • Ethereum
  • Internet routing systems
  • Cloud computing platforms
  • Peer-to-peer file sharing
  • Distributed databases
  • Content delivery networks

Key Takeaways

  • Distributed systems use multiple computers working together.
  • They reduce dependence on a single central authority.
  • Blockchain is a specialized distributed system.
  • Nodes maintain copies of shared information.
  • Consensus allows participants to agree.
  • Fault tolerance allows systems to survive failures.
  • Decentralization depends on how control is distributed, not simply whether multiple computers exist.

  • Blockchain
  • Consensus Mechanisms
  • Nodes
  • Peer-to-Peer Networks
  • Decentralization
  • Byzantine Fault Tolerance
  • Proof of Work
  • Proof of Stake
  • Validators
  • Mining
  • Bitcoin Architecture
  • Ethereum Architecture
  • Cryptography
  • Digital Signatures

Encyclopedia Notes

Distributed systems are the technological foundation that made decentralized cryptocurrency possible. Understanding distributed systems explains why blockchains exist, why consensus is necessary, and why crypto networks require thousands of independent participants rather than one trusted database operator.