Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Zero-Knowledge Rollups vs Optimistic Rollups: Two Ways to Trust a Chain

A blockchain that processes everything on the main chain is slow and expensive. Rollups move the work off-chain and post only a compact result back, but they disagree about how that result should be trusted. One camp produces a cryptographic proof that the batch is valid. The other posts the batch as truth and gives observers a window to object. Both claim the same security, yet they make very…

Rollups are a method for processing transactions off-chain, then only posting a small summary back to the main blockchain. However, they differ in how they handle trust in this summary. Zero-knowledge rollups generate a concise cryptographic proof that the transactions followed the rules, while optimistic rollups simply post the new state without a proof, and rely on challenges from observers to validate it.

Both approaches promise the same security but differ in when the transaction is considered final and how much trust is placed in the system. Zero-knowledge rollups spend computational resources on generating proofs, while optimistic rollups rely on a delay and the honesty of observers. This fundamental distinction shapes the trade-offs between withdrawal times, hardware costs, and the kinds of applications that feel smooth to use.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Nginx Hardening Checklist

Nginx ships with sensible defaults, but a default install is not a hardened one. Version numbers leak in headers, old virtual hosts answer for any hostname, security headers vanish on error pages, and…

  • Ensure Nginx and OpenSSL are up-to-date
  • Hide Nginx version by setting servertokens off
  • Redirect HTTP traffic and implement HSTS

TCP BBR vs CUBIC: Two Theories of How Fast to Send

Every TCP connection has to decide how fast to send without drowning the network. For decades the standard answer was to speed up until packets were lost, then slow down.

  • CUBIC algorithm reacts after packet loss, adjusts rate using cubic curve
  • BBR algorithm measures bandwidth and delay, sends data proactively
  • BBR excels on high-bandwidth, high-delay, or lossy paths, CUBIC on conventional networks

Vectorized Execution vs JIT Compilation: Two Ways to Make Queries Fast

Modern query engines face the same enemy: the cost of interpreting a query plan value by value. Two schools emerged to fight it. One processes many values at a time in tight loops over arrays.

  • Vectorized execution processes many values at once through array or batch operations.
  • JIT compilation compiles query plans into machine code to eliminate interpretation.
  • Hybrid engines combine both methods for tailored query performance.

More from Thursday 26 November →