Concepts

Mental models and definitions that make the code understandable.

896 published

Page 2 of 9

Declarative Shadow DOM

Declarative Shadow DOM governs SSR shadow DOM, shaping system behavior under specific failure modes and workloads.

frontend
frontend · css

Default Credential Disabling

Default credential disabling removes the factory-set passwords and keys that ship with devices and services, eliminating the most exploited path where attackers scan for unchanged defaults at scale.

security
security · hardening · credentials

Delegation Trust Chain

A delegation trust chain records each hop that transfers authority, so a resource server can audit the full path from original principal through every intermediary rather than trusting the.

security
security · authorization · delegation

Delta Lake Transactions

Delta Lake adds an ACID transaction log on top of Parquet data files, so that concurrent writers and readers see a consistent snapshot without the file-listing race conditions of plain object storage.

database
database · transactions · lakehouse

Dependency Confusion Mitigation

Dependency Confusion Mitigation governs private package protection, shaping system behavior under specific failure modes and workloads.

security
security · safety

Dependency Inversion Principle

The dependency inversion principle makes high-level policy depend on abstractions it owns, and low-level details depend on those same abstractions, so that neither knows the other concrete type.

architecture
architecture · solid · design

Dependency SBOM Scan

Dependency SBOM Scan governs supply chain inventory, shaping system behavior under specific failure modes and workloads.

security
security · safety

Deployment Stamp Strategy

A deployment stamp is a self-contained, repeatable unit of infrastructure plus application, so scaling out is stamping a new copy and scaling in is deleting one, with no per-instance configuration.

delivery
delivery · infrastructure · stamps

Deployment Pipeline Gates

Deployment pipeline gates are the quality checks — build, test, scan, canary — that every change must pass before promotion, so a gate failure blocks the release rather than shipping a known.

delivery
delivery · pipeline · gates

Deterministic Simulation Testing

Deterministic simulation testing runs the system under a seeded, controlled scheduler so that every concurrency interleaving is reproducible, turning rare race-condition bugs into failures a.

testing
testing · concurrency · simulation

Device Attestation

Device attestation proves the device hardware and software state to a remote verifier, tying a cryptographic key to a measured boot chain so the verifier can refuse to trust a compromised or.

security
security · attestation · device

Dialog Light Dismiss

Dialog Light Dismiss governs light dismiss behavior, shaping system behavior under specific failure modes and workloads.

frontend
frontend · css

Dimensional Modeling Design

Dimensional modeling structures data into fact tables of measurable events and dimension tables of descriptive context, so a query is a filter on dimensions and an aggregate on facts that the.

data
data · warehousing · modeling

DNS CAA Enforcement

DNS CAA Enforcement governs issuance authorization, shaping system behavior under specific failure modes and workloads.

networking
networking · protocols

DNSSEC Validation Design

DNSSEC Validation Design governs DNS authenticity, shaping system behavior under specific failure modes and workloads.

networking
networking · protocols

Domain Event Design

Domain Event Design governs business occurrence, shaping system behavior under specific failure modes and workloads.

architecture
architecture · design

Eager Versus Lazy Evaluation

Eager evaluation computes a value when defined; lazy evaluation defers until needed, so lazy avoids wasted work but adds per-access thunk overhead and complicates reasoning about when effects run.

performance
performance · evaluation · functional

Early Hints Preload

Early hints (103) send the preload and preconnect hints before the final response, so the browser starts fetching subresources while the server is still computing the document.

http
http · performance · preload

Embedding Model Selection

Embedding Model Selection governs model tradeoffs, shaping system behavior under specific failure modes and workloads.

ai-ml
ai · ml

Envelope KMS Rotation

Envelope KMS Rotation governs DEK rotation via KMS, shaping system behavior under specific failure modes and workloads.

security
security · safety

Error Budget Halving

Error Budget Halving governs conservative budget policy, shaping system behavior under specific failure modes and workloads.

distributed-systems
distributed-systems · reliability

Event-Driven Architecture

Event-driven architecture makes the production and consumption of state changes the primary integration mechanism, so services react to what happened rather than calling each other and coupling.

architecture
architecture · events · decoupling

Exemplar Linking Strategy

Exemplar linking attaches a trace ID to the metric bucket that triggered it, so a dashboard spike links directly to a representative trace, closing the gap between aggregate and instance.

observability
observability · tracing · metrics

Exemplar Metrics Traces

Exemplar Metrics Traces governs metric trace linking, shaping system behavior under specific failure modes and workloads.

observability
observability · monitoring

Expand-Contract Pattern

Expand-Contract Pattern governs backward-compatible migration, shaping system behavior under specific failure modes and workloads.

databases
databases · data

False Sharing Mitigation

False sharing occurs when independent variables on the same cache line are written by different cores, making the cache coherency traffic thrash even though no data is actually shared; mitigation.

concurrency
concurrency · performance · caching

Feature Flag Toggle Management

Feature flag toggle management decouples deploy from release by gating code behind a flag, so a new feature ships dark and is turned on per-user, per-cohort, or per-percent without a redeploy.

delivery
delivery · flags · release

Fetch Priority Hints

Fetch priority hints tell the browser the relative importance of a resource fetch, so a critical image loads before a below-the-fold one even when both are discovered at the same time.

browser
browser · loading · priority

Fixture Factory Pattern

Fixture Factory Pattern governs test data construction, shaping system behavior under specific failure modes and workloads.

testing
testing · quality

Font Display Swap

Font Display Swap governs FOUT prevention, shaping system behavior under specific failure modes and workloads.

performance
performance · web-vitals

GC Pause Tuning

GC pause tuning configures the collector to pause within the latency budget — sizing generations, choosing concurrent over stop-the-world, and trading throughput for pause duration.

performance
performance · gc · tuning

Graceful Degradation Strategy

Graceful degradation strategy defines the reduced-but-functional mode a system enters when a dependency fails, so the user sees a partial result rather than an error page.

reliability
reliability · degradation · resilience

Hash Partitioning

Hash partitioning distributes rows across partitions by a hash of the partition key, so that writes spread evenly and a query on the key touches one partition without skew.

database
database · partitioning · sharding

Hermetic Test Environment

A hermetic test environment has no external dependencies — network, clock, filesystem, sibling process — so the test result depends only on the code under test and the inputs the test controls.

testing
testing · isolation · reliability

Hexagonal Ports and Adapters

The hexagonal pattern isolates the domain at the center with ports for every external interaction, so the domain is testable and substitutable by swapping adapters without touching the core.

architecture
architecture · ports-adapters · testing

Hinted Handoff Tuning

Hinted Handoff Tuning governs deferred write replay, shaping system behavior under specific failure modes and workloads.

distributed-systems
distributed-systems · reliability

Histogram Bucket Design

Histogram Bucket Design governs bucket boundary selection, shaping system behavior under specific failure modes and workloads.

observability
observability · monitoring

Hot Path Inlining

Hot path inlining copies the body of a frequently called small function into the caller, eliminating the call overhead and enabling further optimization across the inlined boundary.

performance
performance · optimization · inlining

HSM Key Lifecycle

HSM Key Lifecycle governs key custody in hardware, shaping system behavior under specific failure modes and workloads.

security
security · safety

HSTS Preload Strategy

HSTS preload embeds the domain in a browser-shipped list so the first visit uses HTTPS without a redirect, eliminating the downgrade window the initial plain HTTP request exposes.

http
http · security · tls

HTTP Range Requests

HTTP range requests let a client fetch a byte range of a resource, so a video player seeks without re-downloading and a download resumes after a drop.

http
http · streaming · partial

HTTP Trailers Streaming

HTTP trailers send headers after the body, so a streaming response can include a checksum or final status that is only known once the body is complete.

http
http · streaming · trailers

HTTP/3 QUIC Migration

HTTP/3 over QUIC migrates a connection when the client IP changes — WiFi to cellular — without re-handshaking, so a long download or call survives a network switch.

http
http · quic · mobility

HyperLogLog Cardinality

HyperLogLog estimates the number of distinct values in a stream using fixed memory, trading exactness for the ability to count uniques that exceed memory in a set.

database
database · analytics · cardinality

Image Loading Budget

Image Loading Budget governs image optimization, shaping system behavior under specific failure modes and workloads.

performance
performance · web-vitals

in-toto Attestation

in-toto Attestation governs step attestation chain, shaping system behavior under specific failure modes and workloads.

security
security · safety

Index Swap Cutover

Index Swap Cutover governs index replacement, shaping system behavior under specific failure modes and workloads.

databases
databases · data

INP Interaction Budget

INP Interaction Budget governs interaction responsiveness, shaping system behavior under specific failure modes and workloads.

performance
performance · web-vitals

Input Versus Change Events

The input event fires on every keystroke; the change event fires on commit, so choosing the wrong one either over-fires on every edit or under-fires until the user leaves the field.

browser
browser · events · forms

Intersection Observer Lazy Loading

Intersection observer lazy loading defers the load or render of an element until it approaches the viewport, so off-screen images and widgets do not cost bandwidth or render time until needed.

browser
browser · lazy-loading · performance

Invariant Protection

Invariant protection ensures the rules that must always hold — balance non-negative, order total matches line items — are enforced at the only place that can guarantee them: the aggregate boundary.

architecture
architecture · ddd · invariants

IO Batching Strategy

IO batching strategy groups multiple small operations into one large transfer, so the per-operation fixed cost — syscall, network round-trip — is amortized across the batch.

performance
performance · io · batching

Islands Architecture

Islands Architecture governs interactive regions, shaping system behavior under specific failure modes and workloads.

performance
performance · web-vitals

Layout Shift Prevention

Layout shift prevention reserves space for async content — images, ads, fonts — before it loads, so the content does not push the layout when it arrives and the CLS stays at zero.

browser
browser · layout · cls

Lazy Hydration Strategy

Lazy Hydration Strategy governs hydration deferral, shaping system behavior under specific failure modes and workloads.

performance
performance · web-vitals

LCP Optimization Budget

LCP Optimization Budget governs largest contentful paint, shaping system behavior under specific failure modes and workloads.

performance
performance · web-vitals

LLM Evaluation Harness

An LLM evaluation harness runs a model against a held-out suite of tasks with automatic scoring, so a model change is measured against the tasks that matter before it ships, not after.

ai
ai · evaluation · llm

LLM Guardrail Patterns

LLM Guardrail Patterns governs output safety, shaping system behavior under specific failure modes and workloads.

ai-ml
ai · ml

Lock Contention Profiling

Lock contention profiling finds the locks where threads wait, so the optimization targets the lock that bounds throughput rather than the lock that is held but never contended.

performance
performance · profiling · locking

Lock-Free Structures

Lock-free data structures guarantee that at least one thread makes progress in a bounded number of steps, so the system never freezes from a thread being preempted while holding a lock, at the.

concurrency
concurrency · lock-free · algorithms

Log Aggregation Design

Log aggregation design collects logs from every instance into a queryable store with retention and search, so an operator finds a log across a fleet without SSH to each machine.

observability
observability · logging · aggregation

Log Structured Enrichment

Log structured enrichment adds context — request ID, user, tenant, build version — to every log entry at emit time, so the log is queryable by context without parsing prose and joining.

observability
observability · logging · enrichment

Log Structured Pipeline

Log Structured Pipeline governs log processing, shaping system behavior under specific failure modes and workloads.

observability
observability · monitoring

Long Task Observer

The Long Task API reports tasks that block the main thread beyond 50ms, so a performance monitor can find the jank source without instrumenting every function.

browser
browser · performance · monitoring

Loom Virtual Threads

Loom Virtual Threads governs JVM virtual threads, shaping system behavior under specific failure modes and workloads.

concurrency
concurrency · parallelism

Materialized View Maintenance

Materialized view maintenance keeps a precomputed query result fresh as the base tables change, so reads against the view are fast and the refresh cost is paid on write, not on read.

database
database · views · performance

Memory Barrier Ordering

A memory barrier constrains the CPU and compiler from reordering memory operations across it, so that a release store is visible before an acquire load sees it, the foundation of lock-free.

concurrency
concurrency · memory · ordering

Memory Pool Sizing

Memory pool sizing pre-allocates a fixed arena for a known allocation pattern, so the hot path allocates from the pool without entering the general allocator or fragmenting the heap.

performance
performance · memory · allocation

Merkle Tree Repair

Merkle Tree Repair governs range differencing for repair, shaping system behavior under specific failure modes and workloads.

distributed-systems
distributed-systems · reliability

Metric Attribute Cardinality

Metric Attribute Cardinality governs label explosion, shaping system behavior under specific failure modes and workloads.

observability
observability · monitoring

Metric Histogram Buckets

Histogram bucket boundaries must be chosen so the SLO threshold falls inside a bucket, so the p99 computed from bucket counts is accurate at the latency that matters rather than only at the median.

observability
observability · metrics · histograms

Metric Relabeling Rules

Metric relabeling rules rewrite label values at ingest — bucketing, dropping, renaming — so the stored metric has controlled cardinality and the labels the dashboard will query by.

observability
observability · metrics · relabel

Modular Monolith Bounded

Modular Monolith Bounded governs in-process modules, shaping system behavior under specific failure modes and workloads.

architecture
architecture · design

Monolith to Modular Migration

Monolith to Modular Migration governs incremental decomposition, shaping system behavior under specific failure modes and workloads.

architecture
architecture · design

mTLS Rotation Strategy

mTLS Rotation Strategy governs certificate lifecycle, shaping system behavior under specific failure modes and workloads.

security
security · safety

MTU Path Discovery

MTU Path Discovery governs packet size optimization, shaping system behavior under specific failure modes and workloads.

networking
networking · protocols

Mutation Testing

Mutation testing measures test quality by injecting small code changes — flipping operators, removing calls — and checking whether the tests catch the mutant, exposing tests that pass without.

testing
testing · coverage · quality

MVCC Snapshot Isolation

MVCC gives each transaction its own consistent snapshot of the database at a timestamp, so readers never block writers and writers never block readers, at the cost of handling write skew.

database
database · concurrency · mvcc

Named Test Cases

Named Test Cases governs test readability, shaping system behavior under specific failure modes and workloads.

testing
testing · quality

Nanosecond Latency Budget

A nanosecond latency budget applies to the innermost loop — packet parsing, cache lookup — where every instruction is a measurable fraction of the budget and the design is cycle-accounted.

performance
performance · low-latency · cycles

Observability Gap Analysis

Observability gap analysis walks the incident lifecycle and finds the steps where the operator was blind — no trace, no log, no metric — so the instrumentation backlog is prioritized by diagnosis.

observability
observability · instrumentation · gaps

OCSP Stapling Config

OCSP Stapling Config governs revocation check latency, shaping system behavior under specific failure modes and workloads.

networking
networking · protocols

Online Index Build

Online Index Build governs concurrent indexing, shaping system behavior under specific failure modes and workloads.

databases
databases · data

Online Repartitioning

Online Repartitioning governs partition reorganization, shaping system behavior under specific failure modes and workloads.

databases
databases · data

Online Schema Evolution

Online Schema Evolution governs zero-downtime migration, shaping system behavior under specific failure modes and workloads.

databases
databases · data

Open Host Service

Open Host Service governs standardized API, shaping system behavior under specific failure modes and workloads.

architecture
architecture · design

OTel Collector Config

OTel Collector Config governs telemetry pipeline, shaping system behavior under specific failure modes and workloads.

observability
observability · monitoring

PACELC Theorem

PACELC Theorem governs latency consistency tradeoff, shaping system behavior under specific failure modes and workloads.

distributed-systems
distributed-systems · reliability

Parameterized Test Design

Parameterized Test Design governs case generation, shaping system behavior under specific failure modes and workloads.

testing
testing · quality

Partial Hydration

Partial Hydration governs selective hydration, shaping system behavior under specific failure modes and workloads.

performance
performance · web-vitals

Partition Attach Strategy

Partition Attach Strategy governs partition rollout, shaping system behavior under specific failure modes and workloads.

databases
databases · data

pg-repack Online

pg-repack Online governs zero-lock reorganization, shaping system behavior under specific failure modes and workloads.

databases
databases · data

PMTUD Blackhole

PMTUD Blackhole governs MTU discovery failure, shaping system behavior under specific failure modes and workloads.

networking
networking · protocols

Popover API

Popover API governs declarative popover, shaping system behavior under specific failure modes and workloads.

frontend
frontend · css

Predicate Locking

Predicate locking locks the set of rows matching a condition rather than individual rows, so that a phantom row inserted later that matches the predicate is also blocked, achieving serializable.

database
database · concurrency · locking

Prefetch Strategies

Prefetch strategies issue memory loads before the data is needed, so the cache line arrives by the time the computation reads it, hiding the miss latency behind useful work.

performance
performance · memory · prefetch

Preload Prioritization

Preload Prioritization governs resource hints ordering, shaping system behavior under specific failure modes and workloads.

performance
performance · web-vitals

Process Manager Pattern

Process Manager Pattern governs workflow coordination, shaping system behavior under specific failure modes and workloads.

architecture
architecture · design

Progressive Delivery

Progressive delivery ramps a change from 0% to 100% in bounded steps with analysis at each, so a regression is caught at a small blast radius and the rollout halts before the full fleet is exposed.

delivery
delivery · rollout · canary

Prompt Injection Defense

Prompt injection defense separates untrusted user input from the trusted system prompt, so the model treats user content as data to operate on rather than instructions to follow.

ai
ai · security · prompt-injection