Back to Learn
Advanced
10 min read May 29, 2026

Layer 2 Scaling: Making Blockchains Faster and Cheaper

Layer 2s enable blockchains to scale 100x or more without sacrificing security. Learn how rollups and sidechains work, and which L2 solutions matter.

Share Twitter LinkedIn

Layer 2 Scaling: Making Blockchains Faster and Cheaper

Ethereum can process about 12-15 transactions per second. During peak times, this causes severe congestion. Gas fees spike to $50+.

Layer 2 solutions bundle transactions off-chain and settle to Ethereum infrequently, achieving 100-4000 transactions per second at a fraction of the cost.

The Scaling Problem

Blockchains have a fundamental trade-off:

  • Security: Decentralization requires every node to validate every transaction
  • Speed: Validating every transaction limits throughput
  • Decentralization: More nodes = more security but slower consensus

You can optimize for 2/3, but not all three. This is the blockchain trilemma.

Layer 2s solve this by: moving computation off-chain while keeping security on-chain.

How Layer 2s Work (Conceptually)

  1. Users submit transactions to a Layer 2 network (not directly to Ethereum)
  2. The L2 bundles thousands of transactions together
  3. Periodically (every 10-30 minutes), the L2 posts a summary to Ethereum
  4. The summary proves all transactions were valid
  5. If there's a dispute, Ethereum arbitrates

Result: Individual transactions are fast and cheap. Final settlement is secure (backed by Ethereum).

Rollups: The Two Main Types

Optimistic Rollups (Arbitrum, Optimism, Base)

Assumption: Transactions are valid unless someone challenges them.

How dispute resolution works:

  1. A rollup posts a transaction batch to Ethereum
  2. Anyone can challenge it (fraud proof)
  3. If challenged, Ethereum runs a single transaction to verify
  4. The dishonest party's bond is slashed

Speed: Fast transactions, ~7-day withdrawal period to Ethereum Cost: 10-100x cheaper than Ethereum mainnet Security: Ethereum-level (same security model)

ZK Rollups (zkSync, StarkNet, Scroll)

No assumption: Every transaction is proven valid cryptographically.

How it works:

  1. ZK rollup executes transactions
  2. Generates a zero-knowledge proof proving all are valid
  3. Posts proof to Ethereum
  4. Ethereum verifies the proof (much faster than running transactions)

Speed: Fast transactions, faster finality than optimistic rollups Cost: 100-1000x cheaper than Ethereum Complexity: Harder to develop on (different virtual machines, languages)

Sidechains vs. Rollups

RollupSidechain
SettlementOn-chain (trustless)Off-chain (trusted)
SecurityInherits from mainchainIndependent security
RiskSmart contract riskValidator/sidechain risk
ExamplesArbitrum, OptimismPolygon (technically a hybrid)

Rollups are more secure because they inherit mainchain security.

Major Layer 2 Solutions

Arbitrum

Largest optimistic rollup by TVL. Most developed ecosystem. Full EVM compatibility (any Ethereum smart contract works).

Optimism

Second-largest optimistic rollup. Also EVM-compatible. Strong Ethereum alignment.

Base (by Coinbase)

Newer, built on Optimism tech stack. Growing rapidly. Cheaper than Arbitrum/Optimism due to lower usage.

Polygon

Technically a sidechain with some L2 properties. Fully EVM-compatible. Huge ecosystem. Lower security than L2s (not backed by Ethereum settlement).

zkSync

ZK rollup. Growing rapidly. Harder to develop on but more efficient long-term.

StarkNet

ZK rollup with unique Cairo language. Most ambitious. Hardest to develop on.

Key Metrics

TPS (Transactions Per Second)

  • Ethereum: 12-15
  • Optimistic L2s: 200-4000 (depending on implementation)
  • ZK L2s: 1000-4000
  • Solana: 400-1000 (L1, centralized)

Finality Time

  • Ethereum: 12 seconds
  • Optimistic L2s: ~7 days to withdraw to Ethereum (improvements coming)
  • ZK L2s: Minutes to hours

Cost

  • Ethereum: $5-100+ per transaction
  • Optimistic L2s: $0.05-0.50
  • ZK L2s: $0.01-0.10

The Withdrawal Problem

Optimistic rollups require a ~7-day challenge period before you can withdraw to Ethereum. This is because the system needs time to detect fraud.

Growing solutions:

  • Liquidity bridges: Withdraw immediately for a small fee
  • Faster finality: New research on quicker settlement
  • Fractal scaling: L3s on top of L2s

Tradeoffs

What You Get

  • Much lower fees
  • Fast transactions
  • Ethereum-level security (for rollups)

What You Give Up

  • Slightly longer settlement to mainchain (for optimistic rollups)
  • Withdrawal delays (until solutions improve)
  • Less decentralization (fewer L2 validators than Ethereum)

The Path Forward

Ethereum mainnet becomes a settlement layer.

  • Most users interact with L2s (fast, cheap)
  • L2s occasionally post to Ethereum (security)
  • Some use L3s on top of L2s (even cheaper but lower security)

This multi-layer approach is the most realistic path to blockchain scaling.

Continue Learning


For comprehensive exploration of blockchain scaling and architecture, read Understanding Blockchain from the Mastering Crypto series.

Tags

layer 2
scaling
rollups
sidechains
arbitrum
optimism
throughput

Found this helpful? Share it.

Share Twitter LinkedIn