Technology Glossary
One-page explanations of the 83 engineering and AI concepts behind the Site Factory, the system that builds and keeps running memocho’s sites. Each article separates the general meaning from how the Site Factory uses it in production. For the big picture, see the Architecture Overview.
83 terms
Nothing matches. Try other words, or use the other way of looking up.
A. Data-Intensive Design
- A1Source of Truth (System of Record)KeyThe single authoritative original data record across an entire system
- A2Derived Data and ProjectionKeyA read-only view computed and transformed from the authoritative source of truth
- A3Lease (Leased Lock)KeyA time-bounded exclusive ownership right over a resource or role
- A4Fencing Token and Generation NumberKeyA monotonically increasing sequence number used by the storage layer to reject stale writes from expired lock holders
- A5Compare-and-Swap (CAS) and Optimistic Concurrency ControlKeyA concurrency control technique that commits updates only if the record version matches what was originally read
- A6IdempotencyKeyA property where performing an operation once or multiple times produces the identical result and system state
- A7Delivery Guarantees (at-most-once / at-least-once)A contractual assurance regarding the reliability of message or task dispatch across distributed boundaries
- A8Uncertain State / In-Doubt StateKeyA suspended condition where an external caller cannot determine whether an operation succeeded or failed
- A9Write-Ahead Logging (WAL) and JournalingA pattern that durably records intent onto persistent storage prior to modifying main state or invoking external side effects
- A10CheckpointA recorded snapshot of verified progress within long-running or continuous systems
- A11Dual WriteWriting a single event or piece of data to two separate storage systems without a distributed transaction
- A12State MachineKeyA mechanism that strictly defines all valid states and permitted transitions for a system
- A13Dependency Graph (DAG) and Conditional SchedulesA control pattern representing task prerequisites as a directed graph to defer execution until all conditions are satisfied
- A14Content-Addressable Hash VerificationKeyUsing cryptographic hash values derived from data contents to verify identity and integrity mechanically
- A15Snapshot Verification and Head PinningStrictly pinning the tested commit SHA (head pinning) and rejecting branch merges if intermediate commits appear
- A16Clock Skew and Monotonic ClocksAn approach that avoids relying on volatile wall-clock time and instead measures elapsed durations using non-decreasing monotonic clocks
- A17Append-only LogA data structure where historical records are never overwritten or deleted, but instead continuously appended to the tail
- A18Schema ValidationA deterministic inspection verifying that data and configurations adhere to predefined structures, types, and constraints
- A19Entity Resolution / Record Linkage / DeduplicationThe process of identifying and unifying disparate records that refer to the same real-world entity despite naming variations and aliases
- A20Backup and Restore / Disaster RecoveryThe practice of isolating raw data and incremental snapshots to guard against data loss, enabling complete recovery during disasters
- A21Transactional Outbox PatternAn architecture where outgoing messages are persisted in local storage (the outbox) within the same transaction before being sent externally
B. Software Architecture
- B1ADR (Architecture Decision Record)KeyA concise document recording a significant architectural decision alongside its context, rationale, and consequences
- B2Architecture Characteristics (-ilities)KeyQuality attributes that describe how software behaves rather than what it does
- B3Separation of Concerns (SoC) and Role BoundariesKeyThe principle of dividing distinct responsibilities within a system into independent components or roles with strict non-interference boundaries
- B4Control Plane and Data PlaneKeyAn architectural separation between the control plane (which decides policies and task routing) and the data plane (which executes heavy workloads and data processing)
- B5Work Queue (Producer-Consumer Pattern)KeyAn asynchronous mechanism that buffers pending tasks in a queue to decouple task producers from task consumers
- B6Bulkhead Pattern (Isolation)Partitioning a system into isolated compartments so a failure or overload in one area cannot sink the entire system
- B7Orchestration and ChoreographyThe contrast between coordinating multiple agents via a central conductor that issues step-by-step commands (Orchestration) versus having each agent react autonomously to surrounding events (Choreography)
- B8Fallback Chain (Cascading Fallback)KeyA multi-stage resilience mechanism that sequentially switches to pre-defined alternatives according to priority whenever a primary method fails, hits quota limits, or goes offline
- B9Retry Limits and Circuit BreakersProtective mechanisms that stop repeating the same failure endlessly by capping retry counts or automatically tripping a breaker (holding dispatch) to shield the system
- B10Watchdog Timer / Watchdog ProcessKeyAn external guardian mechanism that periodically monitors system liveness and task progress, automatically reclaiming or restarting hung jobs without human intervention
- B11Heartbeat and Failure DetectionA periodic liveness signal ('pulse') sent by a process or machine to prove it is still running healthily, paired with a mechanism to declare failure when the signal stops
- B12Split-Brain Avoidance and Leader ElectionMechanisms that safely elect a single coordinator ('leader') among multiple machines and prevent 'split-brain' disasters where network partitions cause two nodes to act as leader simultaneously
- B13Single Point of Failure (SPOF) and FailoverIdentifying and eliminating critical weak points where a single failure halts the entire system (SPOF), and automatically switching operations to a standby node (Failover) to survive outages
- B14Pipes and Filters Pattern (Pipeline Architecture)KeyAn architecture that divides data processing into a sequence of independent processing stages (filters) connected by standardized data conduits (pipes)
- B15Declarative Design (Blueprint-driven Architecture)Declaring 'what to build' as structured data (a blueprint) and letting a general-purpose engine build it automatically, rather than writing imperative step-by-step code for each project
- B16Exit Code ContractStrictly defining the meaning of the integer status code returned when a program terminates so parent processes can branch deterministically without fragile text parsing
- B17Edge Computing and ServerlessAn execution platform that runs code on demand at network edge locations close to users without maintaining always-on origin servers
- B18Static Site Delivery (SSG)Serving pre-rendered HTML, CSS, and images directly from an edge CDN without assembling pages dynamically on a web server
- B19CI/CD Gate and Automated MergeKeyAn automated quality gate that merges pull requests into the production branch without human intervention once all automated tests and checks pass
- B20Self-hosted RunnerRegistering and operating your own servers or Macs as CI/CD execution nodes instead of using cloud-hosted virtual machines
- B21Architectural Fitness FunctionAutomated, objective inspection code that continuously verifies whether a system's architectural characteristics (quality standards, constraints, and banned patterns) remain intact
- B22Webhook and PollingCombining instant event-driven push notifications (Webhooks) with periodic active state checks (Polling)
- B23Principle of Least Privilege (PoLP)Granting every process, AI agent, and API key only the bare minimum permissions required to perform its specific role
- B24Secrets ManagementKeeping credentials such as API tokens, private keys, and passwords out of source code and Git, retrieving them on demand from an encrypted vault only at runtime
- B25Distinguishing 'Implemented' from 'Running' (Definition of Done)Strictly separating 'code written and passing tests (Implemented)' from 'deployed to production and verified live (Running)'
C. AI Engineering & LLM Ops
- C1LLM-as-a-JudgeKeyA design pattern that uses an LLM as an evaluator (judge)
- C2Independent Verification (Verifier)KeyA design where artifacts are checked by a mechanism completely separate from the generator
- C3Model Cascade and RoutingKeyA staged architecture that assigns work starting from the lowest-cost model
- C4Local-First (Local Pipeline)KeyA design approach that runs tasks on local hardware (Macs) before relying on external cloud AI
- C5Benchmark-Driven Model SelectionKeySelecting models based on empirical metrics measured on in-house production hardware
- C6Task-Specific BenchmarkKeyEvaluating models on tests tailored to actual operational scenarios
- C7Structured Output and JSON ContractKeyA mechanism that restricts LLM outputs to strict JSON formats agreed upon between programs
- C8Grounding and Source VerificationKeyA mechanism that mechanically verifies whether AI outputs are backed by trustworthy primary source text
- C9Hallucination MitigationKeyMechanisms that prevent, detect, and contain LLM hallucinations—plausible falsehoods or factually incorrect outputs
- C10Human-in-the-Loop and EscalationKeyA mechanism that embeds human approval gates inside autonomous AI workflows and hands off decisions in stages only when necessary
- C11Agent HarnessKeyThe outer execution environment (framework and scaffolding) that runs an LLM as a practical autonomous agent
- C12A2A (Agent-to-Agent)KeyA collaborative multi-agent architecture where multiple AI agents divide roles to exchange, verify, and review artifacts autonomously
- C13MCP (Model Context Protocol)An open standard protocol connecting AI models to external tools and data sources
- C14Agent Skills and Instruction FilesKeyInstruction files that define behavioral rules for AI agents, paired with modular, reusable workflow playbooks (Agent Skills)
- C15Context EngineeringThe discipline of optimizing and minimizing the context (prompts and reference material) fed into an LLM
- C16PersonaA concrete profile of a representative user defining their situation, device, familiarity, and goals
- C17Context Length and KV CacheThe maximum token count a model can process at once, and the cache memory holding past inference states
- C18QuantizationA technique that reduces the numerical precision of model weights to shrink memory footprint and accelerate inference
- C19ChunkingThe process of splitting long documents into smaller segments suitable for model processing
- C20Information Extraction with LLMExtracting target attributes from unstructured documents and converting them into structured records using an LLM
- C21Optical Character Recognition (OCR)Technology that recognizes and extracts readable text from images and scanned PDF files
- C22Token Quota and Cost SettlementKeyA governance mechanism managing LLM API token consumption, expenditures, and rate limits through upfront reservations and post-run settlements
- C23Sandbox and GuardrailsA protective isolation mechanism that confines an AI agent's operational scope to a safe boundary and prevents hazardous actions
- C24Inference OffloadingA distributed execution mechanism that delegates resource-heavy AI inference workloads to separate, capable machines with spare capacity
- C25Evals and Effect MeasurementKeyA rigorous methodology for continuously measuring AI model quality and system enhancements against quantitative operational data rather than subjective impressions
- C26Goodhart's LawKeyAn observation stating that when a measure becomes a target, it ceases to be a good measure
- C27Receipt and Definition of DoneA verification framework that validates task completion through tamper-evident artifacts and cryptographically verifiable receipts
D. Site Factory System Design
- D0Departments and RolesKeyThe shared names the Site Factory uses for its departments and roles
- D1Active-Standby RedundancyKeyA high-availability pattern where only one machine actively runs workloads while standby nodes remain ready to take over upon failure
- D2Deterministic VerificationKeyAn automated validation approach using programmatic code that guarantees 100% reproducible pass/fail outcomes for identical inputs
- D3Asymmetric Tiered AI Architecture (Tier 1-3)KeyAn architectural design partitioning AI workloads across three asymmetric tiers according to hardware capacity and task complexity
- D4Mutual Exclusion (Mutex) LockA synchronization mechanism granting exclusive access rights to a single process at a time across contested resources
- D5Zero Trust Access & VerificationKeyA security paradigm that never assumes requests are safe simply because they originate inside a perimeter
- D6Workers Builds vs. Direct UploadTwo distinct publishing pipelines in Cloudflare: building automatically via cloud CI/CD (Workers Builds), or uploading pre-verified local build artifacts directly via CLI (Direct Upload)
- D7Free Tier as an Architectural ConstraintAn architectural approach that treats cloud free-tier quotas and API limits as inviolable hard constraints from day one
- D8Automatic Speech Recognition (ASR / Whisper)An AI model that automatically transcribes human speech into written text (ASR)
- D9Architectural Decision Numbers (K-numbers)Sequential identifiers (starting at K01) assigned to architectural decisions and operational rules (ADRs) across the Site Factory and all sites