arthrop0d

Brief articles on varied topics.

  1. Go Map Buckets, Tophash, and Incremental Growth

    How Go maps use bucket arrays, one-byte tophash metadata, overflow buckets, and incremental evacuation to grow without stopping lookups.

    golangalgorithmsperformance

  2. SQL Cardinality Estimation and Query Plan Choice

    How table statistics, histograms, and distinct-value counts predict query sizes and guide join order and access-path selection.

    sqldatabases

  3. DNS Negative Caching

    How resolvers cache NXDOMAIN and NODATA responses, use SOA TTLs, and delay visibility of newly created DNS records.

    networkingperformance

  4. HKDF Extract-and-Expand Key Derivation

    How HKDF turns shared secret material into separated, context-specific keys through HMAC-based extraction and expansion.

    cryptographycomputer security

  5. Go’s G-M-P Scheduler Model

    How Go maps goroutines onto threads and processors, balances run queues, and keeps other goroutines running during blocking system calls.

    golangconcurrency

  6. Linux cgroups v2: Hierarchical Resource Control

    How cgroups v2 groups processes into a hierarchy and controls their CPU, memory, and I/O use.

    linuxoperating systems

  7. Merkle Proofs and Root Hash Verification

    Learn how sibling hashes let a verifier prove one item belongs to a committed dataset without receiving every other item.

    cryptocurrencyalgorithmscryptography

  8. Clock-Domain Crossing Metastability and Synchronizer Chains

    How asynchronous signals violate flip-flop timing, become metastable, and are made exponentially less likely to disturb downstream logic.

    electrical engineering

  9. Compiler Escape Analysis

    How compilers prove objects can stay on the stack, reducing allocation and garbage-collection cost while limiting unnecessary sharing.

    compilersperformance

  10. Browser Microtasks and Rendering

    How browsers drain promise callbacks between tasks, why their ordering is predictable, and how endless microtasks can block input and painting.

    javascriptweb development

See more → 246 articles in the archive