Concepts

Mental models and definitions that make the code understandable.

896 published

Page 1 of 9

Access Token Audience Binding

Audience binding restricts a token to the resource server it was minted for, preventing a token issued for service A from being replayed against service B in a shared token pool.

security
security · oauth · tokens

Actor Mailbox Bounds

Actor Mailbox Bounds governs mailbox overflow, shaping system behavior under specific failure modes and workloads.

concurrency
concurrency · parallelism

Adaptive Cardinality Estimation

Adaptive cardinality estimation corrects the optimizer row-count guesses at runtime by observing actual output sizes, so that a plan chosen on stale statistics can re-optimize mid-execution when.

database
database · optimization · cardinality

Adaptive Concurrency Limits

Adaptive concurrency limits tune the in-flight request cap to the observed goodput, so the system pushes as hard as it can without sliding into the latency cliff where backpressure collapses.

concurrency
concurrency · resilience · control

Adaptive Sampling Strategies

Adaptive sampling varies the sampling rate by the value of the data — sampling errors and slow spans heavily, healthy traffic lightly — so the retained set is informative within a fixed budget.

observability
observability · sampling · tracing

Aggregate Boundary Design

Aggregate Boundary Design governs consistency scope, shaping system behavior under specific failure modes and workloads.

architecture
architecture · design

Alert Routing Design

Alert routing design directs each alert to the on-call team that owns the affected service, so the alert reaches the team that can fix it rather than a default queue where it is ignored.

observability
observability · alerting · oncall

Allocation Pressure Reduction

Allocation pressure reduction minimizes object creation on the hot path, so the GC sees fewer allocations and pauses less, trading programmer convenience for latency predictability.

performance
performance · gc · allocation

Ambient Authority

Ambient authority grants permissions by the running process identity rather than the requested operation, making every call maximally privileged and every bug a potential escalation.

security
security · authorization · capabilities

Anchor Positioning

Anchor Positioning governs relative positioning, shaping system behavior under specific failure modes and workloads.

frontend
frontend · css

Anonymous Test Objects

Anonymous Test Objects governs minimal test data, shaping system behavior under specific failure modes and workloads.

testing
testing · quality

Anti-Corruption Boundary Translation

An anti-corruption boundary translates between a legacy or external model and your bounded context, so the foreign model concepts never leak into your domain language and you can evolve independently.

architecture
architecture · ddd · integration

ACL in DDD

ACL in DDD governs translation isolation, shaping system behavior under specific failure modes and workloads.

architecture
architecture · design

Anti-Entropy Repair

Anti-Entropy Repair governs replica divergence correction, shaping system behavior under specific failure modes and workloads.

distributed-systems
distributed-systems · reliability

Anti-Join Optimization

An anti-join returns rows from the left input that have no match in the right, and optimizing it means avoiding the naive nested-loop that scans the right side once per left row.

database
database · joins · optimization

API Error Contract

An API error contract standardizes the error response shape — code, message, details, trace ID — so the client can programmatically branch on the code and the operator can trace the instance.

api
api · errors · contract

API Fingerprinting Defense

API fingerprinting identifies the server implementation by its behavior on edge-case inputs; defending means normalizing responses so the implementation does not leak through error formats.

security
security · api · hardening

API Pagination Strategy

API pagination strategy chooses between offset, cursor, and keyset pagination so the client can iterate a large collection without skipping or duplicating rows as the collection changes under it.

api
api · pagination · collections

API Rate Limit Budget

An API rate limit budget allocates a per-client request allowance over a window, so a single client cannot consume the shared capacity and the budget enforces fair use without per-request overhead.

api
api · rate-limit · quotas

App Attestation Integrity

App attestation cryptographically proves to a server that the client is a genuine, unmodified build of the expected app, blocking modified clients and replayed tokens from tampered devices.

security
security · mobile · attestation

Assertion Roulette Anti-Pattern

Assertion roulette is a test smell where a test contains many assertions of equal weight, so a failure reports the first to trip without indicating which matters, hiding the real defect behind an.

testing
testing · test-design · assertions

Async Stack Trace Reconstruction

Async stack trace reconstruction links the frames across promise continuations and callback hops so an error in an async function points at the originating call, not at an anonymous tick in the.

testing
testing · debugging · async

Async Task Composition

Async Task Composition governs task chaining, shaping system behavior under specific failure modes and workloads.

concurrency
concurrency · parallelism

Attestation Policy Evaluation

Attestation policies encode the conditions under which a verified claim is sufficient to grant access, turning raw attestation evidence into a decision by comparing measured values against.

security
security · attestation · policy

Attribute-Based Encryption

Attribute-based encryption keys ciphertext to access policies over attributes, so decryption succeeds only when the recipient attributes satisfy the policy — embedding authorization into the.

security
security · cryptography · encryption

Autovacuum Threshold Tuning

Autovacuum Threshold Tuning governs scale-free cleanup, shaping system behavior under specific failure modes and workloads.

databases
databases · data

Availability Budget Reset

Availability Budget Reset governs budget accounting over cycles, shaping system behavior under specific failure modes and workloads.

distributed-systems
distributed-systems · reliability

Backpressure Service Design

Backpressure service design makes a service propagate overload upstream rather than queue unboundedly, so the system degrades by shedding load instead of piling latency until everything collapses.

architecture
architecture · resilience · streaming

Barrier Synchronization

A barrier is a synchronization point at which every participant must arrive before any proceeds, used to separate phases of a parallel computation so no phase reads half-written state from the next.

concurrency
concurrency · synchronization · parallel

Batched Backfill Strategy

Batched Backfill Strategy governs incremental backfill, shaping system behavior under specific failure modes and workloads.

databases
databases · data

BBR Tuning

BBR Tuning governs congestion control optimization, shaping system behavior under specific failure modes and workloads.

networking
networking · protocols

Behavioral Pinning Tests

Behavioral pinning records the observable outputs of a system under a fixed input set and fails on change, turning unintended behavior drift into a visible regression rather than a silent.

testing
testing · regression · pinning

Benchmark Variance Reduction

Benchmark variance reduction controls the noise sources — CPU frequency scaling, thermal throttling, scheduler interference — that make a single benchmark run unrepeatable and a comparison.

testing
testing · performance · benchmarking

Bitmap Index Encoding

A bitmap index stores one bit per row per distinct value, making equality predicates on low-cardinality columns a bitwise AND that is faster than a B-tree lookup and compresses well.

database
database · indexing · analytics

Blind Signature Schemes

Blind signatures let a signer sign a message without seeing its content, enabling anonymous credentials and e-cash where the issuer authenticates validity without linking the signed value to the.

security
security · cryptography · privacy

Bloat Reclamation

Bloat Reclamation governs space reclamation, shaping system behavior under specific failure modes and workloads.

databases
databases · data

Bloom Join Acceleration

A bloom join builds a Bloom filter of the join keys on the smaller side and probes it on the larger side before the shuffle, so that non-matching rows are filtered out before the network transfer.

database
database · joins · distributed

Blue-Green Traffic Switch

A blue-green traffic switch flips the router from the blue environment to green in one step, so the new version is live with no in-place upgrade and rollback is a router flip back.

delivery
delivery · deployment · rollback

Bounded Context Identification

Bounded context identification finds the seams where a single domain model must split because the same word means different things to different teams, preventing a monolithic model that serves no.

architecture
architecture · ddd · modeling

Bounded Queue Backpressure

A bounded queue applies backpressure by blocking or rejecting producers when full, so that a slow consumer cannot drive the producer to exhaust memory by buffering an unbounded backlog.

concurrency
concurrency · backpressure · queues

Branch Prediction Friendly Code

Branch prediction friendly code arranges the hot path so the conditional branches are highly predictable, avoiding misprediction pipeline flushes that cost tens of cycles per branch.

concurrency
concurrency · performance · cpu

Browser Fingerprinting Mitigation

Browser fingerprinting identifies a user across sessions by combining stable attributes — headers, fonts, canvas rendering — without cookies; mitigation reduces the entropy of these observable.

security
security · browser · privacy

Buffer Pool Tuning

Buffer pool tuning sizes the in-memory cache of database pages so that the working set fits and the read path serves from memory, while leaving room for the OS page cache and other allocations.

database
database · memory · tuning

Builder vs Fixture

Builder vs Fixture governs test data design styles, shaping system behavior under specific failure modes and workloads.

testing
testing · quality

Bulkhead Isolation

Bulkhead isolation partitions resources — thread pools, connections, memory — per tenant or per dependency, so a failure or overload in one partition cannot exhaust the resources of the others.

reliability
reliability · isolation · resilience

Multi-Window Burn Rate

Multi-Window Burn Rate governs fast and slow burn detection, shaping system behavior under specific failure modes and workloads.

distributed-systems
distributed-systems · reliability

Cache Invalidation Strategy

Cache invalidation strategy decides when a cached value is no longer valid — TTL, event-driven, version-keyed — so the cache serves fresh data without becoming a correctness liability.

caching
caching · invalidation · freshness

Cache Warming Strategy

Cache warming pre-populates the cache with the working set before traffic arrives, so the first requests see a warm cache and the cold-start spike does not hammer the backing store.

performance
performance · caching · startup

Canary Analysis Strategy

Canary analysis compares the metrics of a small canary cohort against the baseline, so a regression is detected at 1% before it reaches 100% and the rollout auto-halts.

delivery
delivery · canary · analysis

Capability-Based Security

Capability security grants authority by handing the caller an unforgeable reference to a specific resource, so authority is bounded by what you hold, not by who you are or what process you run in.

security
security · authorization · capabilities

Capacity Planning Model

A capacity planning model projects the workload against the resource ceiling with margin for growth and burst, so a capacity decision is a forecast, not a guess made when the system is already slow.

operations
operations · capacity · planning

Capture-Replay Testing

Capture-replay testing records production traffic and replays it against a candidate build, testing real-world input distributions without the labor of synthesizing representative fixtures by hand.

testing
testing · replay · regression

Telemetry Cardinality Control

Telemetry cardinality control bounds the number of distinct label combinations, so a high-cardinality dimension does not explode storage and make the metric unreadable as one line per value.

observability
observability · metrics · cardinality

Cell-Based Architecture

Cell-based architecture groups a service and its dependencies into a self-contained cell with its own data and routing, so that a cell failure is contained and a cell deployment is independent of.

architecture
architecture · deployment · isolation

Cert Pinning Mobile

Cert Pinning Mobile governs MITM prevention on mobile, shaping system behavior under specific failure modes and workloads.

security
security · safety

CT Monitor

CT Monitor governs mis-issuance detection, shaping system behavior under specific failure modes and workloads.

networking
networking · protocols

Certificate Transparency

Certificate transparency appends every publicly trusted certificate to an append-only public log, so a misissued certificate is detectable by the domain owner rather than remaining trusted until.

security
security · pki · tls

Change Data Capture Pattern

Change data capture streams every row mutation as an event by reading the transaction log, so downstream systems see changes in order without polling the source table.

database
database · cdc · streaming

Channel Backpressure Go

Channel Backpressure Go governs bounded channels, shaping system behavior under specific failure modes and workloads.

concurrency
concurrency · parallelism

Checkpoint-Restart Recovery

Checkpoint-restart periodically persists the progress of a long-running job so that a failure resumes from the last checkpoint rather than restarting from the beginning.

database
database · recovery · batch

Circuit Breaker Tuning

Circuit breaker tuning sets the failure threshold, open duration, and half-open probe count so the breaker trips on real outages, not on a blip, and recovers without hammering the recovering service.

reliability
reliability · resilience · circuit-breaker

Closure of Operations

Closure of operations means an operation on a value of a type returns a value of the same type, enabling composition and chaining without type-casing at every step.

architecture
architecture · design · composition

CLS Layout Stability

CLS Layout Stability governs visual stability, shaping system behavior under specific failure modes and workloads.

performance
performance · web-vitals

Command-Query Responsibility Allocation

CQRS allocates the command (write) and query (read) sides to separate models, so each can be optimized for its workload without forcing one model to serve both a normalized write and a.

architecture
architecture · cqrs · events

Composite Application Pattern

A composite application assembles independent capabilities into a user-facing experience through composition rather than a monolith, so each capability can be built, deployed, and evolved by a.

architecture
architecture · composition · micro-frontends

Conceptual Model Design

A conceptual model captures the essential entities and relationships of a domain in a form the domain experts validate, serving as the bridge between their language and the implementation model.

architecture
architecture · modeling · ddd

Conditional Request Caching

Conditional request caching sends a validator — ETag or Last-Modified — so the server can return 304 Not Modified when the representation is unchanged, transferring zero body bytes.

http
http · caching · validation

Conformance Testing

Conformance testing checks an implementation against a written standard, so that compliance with the spec is a pass/fail property rather than a matter of interpretive reading by each implementer.

testing
testing · standards · interoperability

Conformist Relationship

Conformist Relationship governs upstream compliance, shaping system behavior under specific failure modes and workloads.

architecture
architecture · design

Connection Migration QUIC

Connection Migration QUIC governs IP change resilience, shaping system behavior under specific failure modes and workloads.

networking
networking · protocols

Connection Pool Sizing

Connection pool sizing sets the min, max, and acquire timeout so the pool serves peak concurrency without exhausting the database, and a spike waits rather than opening unbounded connections.

performance
performance · pooling · tuning

Constant-Time Cryptography

Constant-time implementations make execution time and memory access pattern independent of secret values, eliminating the timing side channel that leaks keys one bit at a time through measurement.

security
security · cryptography · side-channels

Container Style Queries

Container Style Queries governs parent style response, shaping system behavior under specific failure modes and workloads.

frontend
frontend · css

Content Encoding Negotiation

Content encoding negotiation lets the client advertise accepted encodings (gzip, br, zstd) so the server picks the best compression, trading CPU for transfer size per the client capability.

http
http · compression · negotiation

Content-Visibility Rendering

The content-visibility CSS property lets the browser skip rendering work for off-screen content, so a long page paints the visible portion fast and defers the rest until scrolled into view.

browser
browser · rendering · performance

Context Map Patterns

Context Map Patterns governs bounded context relationships, shaping system behavior under specific failure modes and workloads.

architecture
architecture · design

Context Mapping Strategies

Context mapping documents the relationships between bounded contexts — shared kernel, customer-supplier, conformist — so that the integration patterns are explicit and the teams know who depends.

architecture
architecture · ddd · integration

Continuity Testing

Continuity testing exercises the recovery path — failover, restore, runbook — under controlled conditions, so that the recovery works when called on at 3 a.m. because it has been called on.

testing
testing · recovery · resilience

Cooperative Cancellation Token

Cooperative Cancellation Token governs graceful cancellation, shaping system behavior under specific failure modes and workloads.

concurrency
concurrency · parallelism

Cooperative Multitasking

Cooperative multitasking yields control at explicit points rather than being preempted, so a task that never yields freezes the system — simpler than preemptive but unsafe with untrusted code.

concurrency
concurrency · scheduling · async

Coroutine Stack Layout

A coroutine stack layout determines how the coroutine suspends and resumes its frame — segmented stacks grow on demand, pool stacks avoid allocation — trading memory for suspension speed.

concurrency
concurrency · coroutines · memory

Cosign Keyless Signing

Cosign Keyless Signing governs OIDC based signing, shaping system behavior under specific failure modes and workloads.

security
security · safety

Covering Index Design

A covering index includes every column the query reads, so the engine satisfies the query from the index alone without a heap fetch, turning a table scan into an index-only scan.

database
database · indexing · performance

CPU Cache Locality

CPU cache locality arranges data access so the working set fits in cache and access is sequential, turning a 100x cache-miss penalty into a 1x cache-hit on the hot path.

performance
performance · cache · memory

Critical Resource Chains

Critical Resource Chains governs dependency chains, shaping system behavior under specific failure modes and workloads.

performance
performance · web-vitals

Cross-Tenant Data Leakage

Cross-tenant leakage occurs when a multi-tenant system returns or exposes data belonging to a different tenant, the canonical SaaS failure where isolation breaks at the data layer rather than the.

security
security · multi-tenancy · isolation

CSS Containment

CSS containment declares that an element subtree is independent of the rest of the document, so the browser can skip reflowing or repainting outside the subtree when it changes.

browser
browser · css · performance

CT Log Inclusion

CT Log Inclusion governs certificate auditability, shaping system behavior under specific failure modes and workloads.

networking
networking · protocols

CUBIC vs BBR

CUBIC vs BBR governs congestion control selection, shaping system behavior under specific failure modes and workloads.

networking
networking · protocols

Curve25519 Key Agreement

Curve25519 is a carefully chosen elliptic curve for Diffie-Hellman key agreement whose constant-time Montgomery ladder avoids the implementation pitfalls that plague shorter-Weierstrass-curve.

security
security · cryptography · key-exchange

Customer-Supplier Relationship

Customer-Supplier Relationship governs team dependency, shaping system behavior under specific failure modes and workloads.

architecture
architecture · design

Dashboard Latency Budget

A dashboard latency budget caps the query time behind a dashboard panel, so the operator sees data in seconds and the panel does not hang on a query that scans a week of data at every refresh.

observability
observability · dashboards · performance

Data Contract Versioning

Data contract versioning governs the evolution of the schema a producer and consumer agree on, so a producer can add a field without breaking consumers and a removal is a negotiated, versioned change.

data
data · schema · versioning

Data Distribution Shift

A data distribution shift is the change in the input distribution between training and production, so a model that scored well in lab degrades because the real data no longer matches the data it.

data
data · ml · monitoring

Data Exfiltration Detection

Data exfiltration detection identifies the unauthorized transfer of sensitive data out of a network by modeling normal egress patterns and flagging anomalies in volume, destination, or timing.

security
security · dlp · monitoring

Data Masking Policies

Data masking replaces sensitive fields with structurally consistent non-sensitive substitutes, so non-production environments and least-privilege views receive usable data without exposing the.

security
security · privacy · data-protection

Data Mesh Governance

Data mesh governance decentralizes ownership to domains that publish data as products with contracts, so the platform provides the infrastructure and the domains own the schema, quality, and SLOs.

data
data · governance · mesh

Data Quality Monitoring

Data quality monitoring continuously checks the dimensions — completeness, consistency, timeliness, accuracy — that the data contract specifies, so a quality regression is detected before it.

data
data · quality · monitoring

Data Race Detection

Data race detection finds two concurrent accesses to the same location where at least one is a write, the bug class that produces nondeterministic corruption that only surfaces under specific.

concurrency
concurrency · races · detection

Deadlock Avoidance

Deadlock avoidance structures lock acquisition so the circular-wait condition cannot arise — by a global lock ordering, by lock timeouts, or by acquiring all locks atomically up front.

concurrency
concurrency · deadlock · locking