arthrop0d

Brief articles on varied topics.

November 2026

75 articles.

  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

  11. Python’s Cyclic Garbage Collector

    How CPython finds unreachable reference cycles, organizes collections by age, and affects object lifetime and process memory.

    pythoncomputer science

  12. Consistent Hashing Rings and Virtual Nodes

    How a hash ring and virtual nodes assign keys to servers while limiting the data remapped when the server set changes.

    algorithmsdistributed systems

  13. Atomic Layer Deposition and Conformal Semiconductor Films

    How alternating, self-limiting precursor pulses build uniform films on the three-dimensional structures used in modern semiconductor devices.

    semiconductor manufacturingphysics

  14. Authenticated Encryption with Associated Data

    How AEAD encrypts messages, authenticates ciphertext and metadata, and why every nonce must be unique for a given key.

    cryptographycomputer security

  15. SQL Write-Ahead Logs and Crash Recovery

    How SQL databases record changes before data pages, then redo or undo them after a crash without losing committed work.

    sqldatabases

  16. QUIC Connection IDs and Network Migration

    QUIC connection IDs let endpoints find the same connection after a client’s IP address or NAT mapping changes.

    networking

  17. Linux Pressure Stall Information

    PSI measures how long Linux tasks wait for CPU, memory, or I/O, exposing contention that utilization and load averages can hide.

    linuxoperating systemsobservability

  18. Bloom Filters in Database Read Paths

    Bloom filters use hashed bits to reject impossible database lookups cheaply, accepting occasional extra reads when the answer is uncertain.

    databasesalgorithms

  19. Prometheus Histograms and Quantile Estimation

    Learn how Prometheus histogram buckets encode latency, how quantiles are estimated, and why bucket boundaries can change the result.

    observabilityalgorithms

  20. Windows I/O Completion Ports Explained

    How Windows queues completed asynchronous I/O and lets a bounded worker pool process it without one thread per request.

    microsoftoperating systemsconcurrency

  21. Static Single Assignment Form

    How SSA gives each value one definition and uses phi nodes to merge control-flow paths for simpler compiler optimization.

    compilerscomputer science

  22. Gate-All-Around Nanosheet Transistors Explained

    How stacked silicon nanosheets let a surrounding gate control the channel more tightly than a FinFET, and what fabrication changes follow.

    semiconductor manufacturingelectrical engineering

  23. Linux Futexes and the Contended Lock Path

    How Linux futexes keep uncontended locks in user space and use kernel wait queues and targeted wakeups when threads must sleep.

    linuxconcurrencyoperating systems

  24. Speculative Decoding

    A small model drafts several tokens so a larger model can verify them in one pass while preserving the larger model’s sampling distribution.

    artificial intelligenceperformance

  25. EUV Shot Noise and Stochastic Resist Defects

    How photon statistics and resist chemistry make EUV features randomly disappear or connect, turning lithography failures into defect probabilities.

    semiconductor manufacturingphysics

  26. AWS IAM Policy Evaluation Explained

    Learn how IAM combines identity and resource policies, permissions boundaries, and explicit denies to authorize an AWS API request.

    amazon web servicescomputer security

  27. TLB Shootdowns and Cross-Core Address Invalidation

    How operating systems invalidate stale virtual-address translations across CPU cores when page-table mappings change.

    operating systemsperformance

  28. Semiconductor Overlay Error and Lithography Alignment

    How lithography tools measure layer misalignment, model wafer distortion, and feed overlay corrections back into wafer processing.

    semiconductor manufacturing

  29. Raft Leader Election

    How Raft uses terms, randomized timeouts, and RequestVote messages to elect one leader and reject split or stale candidates.

    distributed systems

  30. WebAuthn Authentication Ceremonies

    How browsers bind WebAuthn challenges to site origins and how signed assertions stop phishing and replay.

    computer securitycryptographyweb development

  31. Transformer KV Cache Memory and Autoregressive Decoding

    The KV cache keeps attention keys and values for prior tokens, avoiding repeated computation but consuming memory with every layer, token, and request.

    artificial intelligenceperformance

  32. Memory Barriers and Safe Producer-Consumer Handoffs

    How CPUs and compilers reorder memory operations, and how release-acquire barriers make shared-data handoffs safe.

    operating systemsconcurrency

  33. LSM-Trees, Memtables, SSTables, and Compaction

    How LSM-trees turn writes into sorted files, then use compaction to balance write cost, read amplification, and storage space.

    databasesperformance

  34. Google Spanner TrueTime and Commit-Wait

    How TrueTime expresses bounded clock uncertainty and how Spanner uses commit-wait to order transactions consistently across regions.

    googledistributed systems

  35. W3C Trace Context Across HTTP Requests

    How traceparent and tracestate carry distributed trace identity between services and let each downstream request remain part of the same trace.

    observabilityweb development

  36. Go Interface Values, Method Sets, and Typed Nil Pointers

    Understand the type-and-value pair inside Go interfaces, how method sets provide satisfaction, and why a typed nil pointer can make an interface non-nil.

    golangsoftware engineering

  37. Chemical Mechanical Planarization of Semiconductor Wafers

    How CMP uses a chemical slurry and polishing pad to remove excess wafer material—and how dishing and erosion disrupt later layers.

    semiconductor manufacturingphysics

  38. Serializable Snapshot Isolation

    How snapshot isolation detects dangerous read/write dependency patterns and aborts transactions that could produce non-serializable results.

    sqldatabases

  39. Linux epoll Interest and Ready Lists

    How epoll tracks readiness, how level-triggered and edge-triggered modes differ, and how event loops avoid missing readable or writable work.

    linuxoperating systems

  40. Copy-on-Write Forks and Process Page Tables

    How fork shares physical pages, converts writes into page faults, and delays copying until a process actually changes memory.

    operating systemslinux

  41. TCP Selective Acknowledgments and Targeted Retransmission

    How TCP SACK records out-of-order data so senders retransmit only missing segments instead of repeating an entire window.

    networking

  42. B-Tree Page Splits and Parent Updates

    How B-tree pages divide entries, propagate separator keys upward, and preserve fast indexed lookups as tables grow.

    databasessql

  43. Tail-Based Trace Sampling

    How collectors hold complete traces long enough to keep failures and slow requests while discarding routine traffic.

    observabilitydistributed systems

  44. X.509 Certificate Path Validation

    How TLS builds a certificate chain, verifies signatures and constraints, and matches the certificate to the requested hostname.

    cryptographynetworkingcomputer security

  45. MVCC Snapshots and Tuple Visibility

    Learn how transaction IDs and MVCC snapshots decide which row version a query can see while concurrent writes continue.

    databasesconcurrency

  46. How Python asyncio Schedules Coroutines

    A practical explanation of how asyncio runs coroutines, waits for I/O readiness, and resumes tasks without one thread per operation.

    pythonconcurrencysoftware engineering

  47. Overlay Filesystem Copy-Up in Containers

    How overlay filesystems copy image files into a container’s writable layer, and why that affects disk usage and write latency.

    containerslinuxoperating systems

  48. TCP Slow Start and Congestion Window Growth

    How TCP uses acknowledgements to grow its sending rate, detect congestion through loss, and reduce the congestion window when delivery fails.

    networkingcomputer science

  49. DNS Negative Caching for NXDOMAIN and NODATA

    How DNS resolvers cache missing names and records, using an authoritative SOA TTL that can delay newly created or repaired names.

    networking

  50. SQL Cardinality Estimation and Query Plans

    How column statistics and histograms predict row counts—and how bad predictions lead to poor joins, scans, and unexpectedly slow queries.

    sqldatabasesperformance

  51. How Go’s G-M-P Scheduler Runs Goroutines

    How Go maps goroutines onto threads and processors using local queues, work stealing, preemption, and syscall handoff.

    golangconcurrency

  52. Content Security Policy Nonces for Inline Scripts

    Learn how servers create per-response CSP nonces and how browsers use them to allow only explicitly authorized inline scripts.

    computer securityweb development

  53. Go Escape Analysis and Stack versus Heap Allocation

    How Go’s compiler tracks references to place values on goroutine stacks or the heap, and why the choice affects allocations, garbage collection, and speed.

    golangcompilersperformance

  54. Git Packfiles, Delta Chains, and Repacks

    How Git packs loose objects, reconstructs deltified versions, and repacks them to reduce storage and improve repository performance.

    gitalgorithms

  55. Lithium-Ion Cell Balancing in Battery Packs

    How battery-management systems equalize series cells, using resistor bleeding or energy transfer to prevent overvoltage and preserve pack capacity.

    energy technologyelectrical engineering

  56. Mutation Testing and Surviving Mutants

    Mutation testing changes code deliberately to expose tests that execute behavior without checking whether it is correct.

    testingsoftware engineering

  57. SQL Write-Ahead Logging and Crash Recovery

    How databases persist redo records before data pages so committed SQL transactions survive crashes and incomplete writes can be repaired.

    sqldatabases

  58. AWS Lambda Execution Environment Lifecycle

    How Lambda initializes, reuses, freezes, and replaces execution environments—and why globals and other in-memory state are only opportunistic.

    amazon web servicesconcurrency

  59. JavaScript Browser Tasks and Microtasks

    How browser tasks, microtasks, and rendering opportunities interact—and why promise callbacks can run before the screen updates.

    javascriptweb development

  60. Consistent Hashing, Hash Rings, and Virtual Nodes

    Consistent hashing assigns keys around a ring so adding or removing servers remaps only a small portion of the keyspace.

    algorithmsdistributed systems

  61. HTTP/2 Streams, Frames, and HTTP/3 Head-of-Line Blocking

    How HTTP/2 shares one TCP connection with streams and frames, why loss still blocks it, and how HTTP/3 avoids that transport bottleneck.

    networkingweb development

  62. Python Import Machinery and Circular Imports

    How sys.modules, finders, and loaders turn an import statement into a module—and why circular imports expose partially initialized modules.

    python

  63. How LLM Tool Calls Execute

    How an LLM produces a schema-checked tool request, how an executor runs it, and how results, failures, and retries return to the model.

    ai agentsartificial intelligenceapi design

  64. Authenticated Encryption with Associated Data

    How AEAD encrypts message contents, authenticates readable headers, and why reusing a nonce can destroy both confidentiality and integrity.

    cryptographycomputer security

  65. Windows I/O Completion Ports

    How Windows queues kernel completion packets so a small worker pool can handle many asynchronous file and socket operations.

    microsoftoperating systems

  66. Static Single Assignment Form and Phi Functions

    SSA gives each computed value one name and uses φ-functions to make control-flow joins explicit for simpler compiler data-flow analysis.

    compilers

  67. Python’s Cyclic Garbage Collector

    How CPython finds unreachable reference cycles, uses generations to limit work, and introduces pauses while collecting them.

    pythoncomputer science

  68. How HyperLogLog Estimates Distinct Values

    HyperLogLog estimates cardinality with compact hash-derived registers, using statistical averaging and bias corrections to stay accurate at scale.

    algorithmsmathematicsperformance

  69. TLB Shootdowns and Cross-Core Page-Table Invalidation

    How CPUs cache virtual-to-physical mappings, why page-table changes require cross-core invalidation, and where the performance cost comes from.

    operating systemsperformancecomputer science

  70. Metric Exemplars and Trace-Based Incident Investigation

    Learn how metric exemplars attach trace or span IDs to aggregate samples so an alert can lead directly to a representative distributed trace.

    observability

  71. TypeScript Distributive Conditional Types

    Learn how conditional types map over unions and how tuple wrapping turns that distribution off when you need one combined check.

    typescript

  72. QUIC Connection Migration and Path Validation

    How QUIC connection IDs and path validation keep an established connection alive when a client’s network address changes.

    networking

  73. CPU Branch Predictors and Speculative Execution

    How history tables predict control flow, how CPUs execute ahead of branches, and why a wrong prediction flushes useful work.

    performancecomputer science

  74. Transformer Key-Value Cache During Text Generation

    A transformer KV cache keeps prior attention keys and values so each generated token avoids rebuilding the whole preceding context.

    artificial intelligenceperformance

  75. HTTP Idempotency Keys and Safe Request Retries

    How servers use idempotency keys to recognize retries, replay the first result, and handle concurrent requests or lost responses.

    api designdistributed systems

← All months