Skip to main content

122 docs tagged with "quadrant:technique"

View all tags

Address Space and Memory Model

Virtual address width, page granularity, alignment and the ordering contract that lets x86-64, ARM64 and RISC-V programs agree on what a shared memory write means.

Addressing Modes

How an effective address is computed from base, index, scale, displacement and PC, and why the same array access costs a different number of address calculations on x86-64, ARM64 and RISC-V.

Agents & Tool Calling

What an agent adds on top of a model, how to write tool contracts it cannot misread, and where the loop must stop.

Amdahl, Little and Roofline

Three bounds that answer different questions: how far parallel speedup can go, how much concurrency a latency needs, and whether compute or bandwidth is the ceiling.

ARP and VLAN

ARP and NDP neighbour resolution, proxy and gratuitous ARP, 802.1Q access and trunk ports, and where inter-VLAN routing happens.

Assembly and Toolchain

Preprocess, compile, assemble, link: the four stages, the directives and relocations each leaves behind, and how to read them back from ELF objects.

Atomics and Fences

Read-modify-write instructions and ordering instructions: how C11 memory orders map onto lock prefixes, LDAXR/STLXR, LR/SC and the fences each ISA requires.

Atomics and Synchronization

How a read-modify-write grabs a cache line exclusively, why LL/SC fails spuriously, and when a queue lock or futex beats a spinning test-and-set.

Bandwidth, Latency and Loss

RTT, bandwidth, BDP, jitter, loss and tail latency: the arithmetic that explains why a fast link still feels slow.

Benchmarks, Simulation and PMU

Three kinds of evidence for a performance claim: standard workloads, cycle-level models, and the on-chip counters that explain where the time went.

BFF

GraphQL and REST backends for frontends: shaping one API per client without leaking it into the domain.

Bits, Bytes and Layout

Bit and byte conventions, byte order, alignment and padding, and the object layout rules that decide what a binary format looks like.

Branch Prediction

How direction and target predictors, BHT, BTB, TAGE, and the return-address stack keep the front end fed.

Branches and Jumps

How a program changes its control flow: flags versus compare-and-branch, PC-relative encodings, and the range limits of x86-64, AArch64 and RISC-V.

Cache Coherence

The single-writer invariant, MESI and MOESI state machines, and why snooping gives way to directories as core counts grow.

Cache Organization

The tag-index-offset split, direct-mapped versus set-associative lookup, line size and index translation, and the numbers that decide hit rate and hit time.

Career Development

Technology selection and the architect path: the scope, trade-offs and communication the next role expects.

Certificate Operations

ACME, private CAs, rotation and inventory: issuing and replacing certificates without an outage.

Combinational and Sequential Logic

From gates to state: multiplexers, adders and decoders, then latches, flip-flops, setup and hold, and the clocking rules that make state reliable.

Compiler-ISA Contract

The two-way promise between a compiler and an instruction set: instruction semantics, ABI, alignment, memory model, undefined behaviour and target features.

Complexity Analysis

How much work an algorithm does as its input grows, and how that estimate picks the implementation before you measure.

Computability

Turing machines and the halting problem: what no program can decide, and why.

Congestion Control

cwnd, slow start, AIMD, CUBIC, BBR, ECN and bufferbloat: how a sender guesses a network it cannot see.

Cost and Technology Scaling

Die cost from area, yield and wafer price, the NRE that volume must amortize, and why Dennard scaling no longer funds the next node.

Datapath Building Blocks

The ALU, register file, shifter, multiplier and divider, their delay and area cost, and how they share one clocked path.

DDR, HBM and Persistent Memory

How the DRAM interface evolved from one 64-bit channel to DDR5 subchannels, stacked HBM, persistent DIMMs and CXL memory, and what each costs in latency and bandwidth.

Domain-Driven Design

Strategic and tactical design: bounded contexts, aggregates and the model that survives a rewrite.

Dynamic Scheduling

How an out-of-order core uses scoreboards, reservation stations, and the wakeup-select loop to hide latency while preserving dataflow semantics.

Ecosystem: Scripting Workflow

Turning a notebook into a parameterized and testable script: arguments and config, logging and exit codes, atomic writes, idempotent runs, validation and scheduling.

Encapsulation and MTU

Header bytes per layer, the 1500-byte budget, MSS derivation, fragmentation and PMTUD under tunnel overhead.

End-to-End Testing

Playwright and Cypress: driving a real browser, and the flakiness that comes with it.

Ethernet and Switching

Ethernet framing, MAC learning, flooding, STP, link aggregation and duplex: how a switch moves frames inside one broadcast domain.

Exceptions and Interrupts

Synchronous faults and asynchronous interrupts as one control-transfer mechanism: vector tables, privilege switch and the cost of handling an event.

Failure Signatures

A symptom catalogue that maps each network failure to its layer, decisive evidence and first action.

Fault Models, ECC and Redundancy

How faults become errors and errors become failures, what SECDED and chipkill can and cannot correct, and how availability follows from MTBF and MTTR.

File Systems

Ext4, ZFS and journaling: how a file survives a crash and what fsync actually promises.

Floating-Point

IEEE 754 fields, rounding, special values and the non-associativity that breaks naive comparisons, reductions and parallelism.

Graph Algorithms

Shortest paths and minimum spanning trees: which algorithm fits which graph, and where the complexity moves.

Graph Structures

Adjacency matrices, adjacency lists, topological sort and union-find: how a graph is stored decides which algorithm is cheap.

Hardware (Legacy)

Superseded by the Hardware domain; kept while its content moves into the new pages.

Hardwired and Microcoded Control

Two ways to turn opcodes into control signals: direct combinational decode and a microprogram in a control store, with the latency, area and patchability each buys.

HDL, EDA and FPGA

The RTL-to-bitstream flow, what synthesis infers, and the timing and resource numbers a field-programmable device really delivers.

Heterogeneous Cores

How performance and efficiency cores share one ISA and one coherent domain, what differs inside them, and why the scheduler rather than the silicon decides whether the mix pays off.

Hierarchy and AMAT

The capacity-latency ladder from registers to disk, the AMAT identity that prices it, and how locality turns a hundred-nanosecond miss into a one-nanosecond average.

HTTP

How HTTP semantics stay stable while framing, multiplexing and the wire move from HTTP/1.1 to h2 and h3.

I/O Models

epoll, io_uring and zero-copy: the readiness and completion models behind a network server.

ICMP and NAT

Read ICMP error and probe traffic, diagnose PMTUD black holes, and reason about NAT mappings, conntrack timeouts and hairpin paths.

Instruction Formats and Encoding

How opcodes, register numbers and immediates share a fixed word: the six RISC-V formats, x86-64 variable-length encoding, and the decode and code-size limits each choice buys.

Integer and Fixed-Point

Two’s complement ranges, the three overflow semantics, and the Q-format arithmetic that replaces floats in DSP and embedded code.

Integration Testing

Testcontainers and API mocks: testing the seam between your code and a real dependency.

Interleaving and Bandwidth

How physical addresses are striped across channels, banks and ranks, why stride and granularity decide the achieved bandwidth, and how to measure the gap to the theoretical peak.

IP Addressing and Subnets

Read any CIDR, derive subnet boundaries, and allocate non-overlapping IPv4 and IPv6 prefixes for sites, VLANs and containers.

ISA and Abstraction

The ISA as the binary contract between software and silicon: what it fixes, what it leaves to the microarchitecture, and how compatibility survives across generations.

ISA Classes

RISC and CISC as consequences of two choices, operand location and encoding width, with the real instruction counts, code sizes and decode limits of x86-64, ARM64 and RISC-V.

ISA Selection

Choosing an instruction set on ecosystem, energy, extensions and supply rather than on clock speed: x86-64, AArch64, RISC-V and the migration cost.

Layered Architecture

MVC, clean architecture and hexagonal architecture: the dependency rule and where each boundary pays off.

Linear Structures

Arrays, linked lists, stacks, queues and hash tables: the storage trade-offs behind every collection API.

Loop Transformations

How unrolling, software pipelining, tiling, and interchange expose ILP and locality, and when dependence analysis forbids them.

Memory Consistency

What SC, TSO and the weak models allow, how store buffers make write-read reordering the default, and how acquire and release pin it back down.

Memory Management

Virtual memory, paging and segmentation: the address space, the page table and the cost of a miss.

Metrics and CPI

The three-factor performance equation, how CPI decomposes into stalls, and which metric answers which question.

Microservices

Service discovery, configuration and API gateways: the operational cost of splitting a system.

Misses, Prefetch and Blocking

The three Cs plus coherence, non-blocking caches and MSHRs, hardware and software prefetch, and cache blocking as the software answer to a working set that will not fit.

Multi-Cycle Processor

Splitting one instruction across several clock cycles: intermediate registers, a step sequencer, variable CPI, and the area-for-time trade.

Multicore Organization

How several cores share LLC slices, a ring or mesh fabric, memory controllers and I/O inside one socket, and how that topology sets the latency and bandwidth a parallel program actually sees.

Multilevel and Inclusion

Private L1 and L2 behind a shared L3: what inclusive, exclusive and non-inclusive caches cost in effective capacity, snoop filtering and back-invalidation traffic.

Network Authentication

Who proves what at each layer: 802.1X, IPsec, TLS and the certificate chain that anchors them.

NUMA

Nodes, distance matrices and first-touch allocation: why a remote page costs 1.5 to 2 times a local one and how to bind CPU and memory together.

OSI and TCP/IP

The seven-layer and four-layer models as a diagnostic tool: PDU names, encapsulation order and the layer that owns a failure.

Page Faults and Working Set

Fault classes and their costs, the kernel path that fills a missing PTE, and why the working set rather than RSS decides whether memory is enough.

Paging and Page Tables

The virtual-address split, the four- or five-level radix tree that maps it, and the PTE bits that carry protection, presence and dirty state.

Path and Latency

Splitting RTT hop by hop, separating queueing from loss, spotting asymmetry, and probing the path MTU.

Performance Testing

k6 and JMeter: load models, thresholds and the difference between a benchmark and a capacity test.

Pipeline Basics

Overlapping instruction stages: the five-stage schedule, the clock period set by the slowest stage, and the speedup formula that governs every later page.

Pipeline Hazards and Exceptions

Structural, data and control hazards, the forwarding and stall rules that resolve them, and the in-order commit a precise exception requires.

Power, Energy and Thermal

Dynamic and leakage power, the RAPL counters that measure them, and the thermal path that decides when a chip must slow down.

Primitives

AES, RSA, hashes, MACs and KDFs: the primitives and the parameters that keep them sound.

Privilege and Virtualization

Privilege levels as a capability label and virtualization as one more layer under them: rings, exception levels, sensitive instructions and stage-2 translation.

Procedure Calls and ABI

The binary contract behind a call: argument registers, callee-saved state, stack alignment and frame layout in System V AMD64, AAPCS64 and RISC-V.

Processes & Threads

Scheduling and context switching: what the OS shares between execution units and what it does not.

QUIC

Streams, TLS 1.3 integration, 0-RTT, connection IDs and loss recovery: reliability moved into user space over UDP.

Realtime WebSocket and SSE

WebSocket, SSE and long polling: upgrade, frames, heartbeats, reconnect, backpressure and the proxy timeouts that break them.

Register Renaming and ROB

How register renaming removes false dependencies and the reorder buffer restores precise state at commit.

Registers and Operands

Architectural registers across x86-64, ARM64 and RISC-V, the four operand kinds an instruction can encode, and why constant materialisation and calling conventions follow from register width.

Replacement and Write Policy

How a set chooses the line to evict and how a write reaches the next level: LRU and its approximations, write-back versus write-through, and the traffic each choice costs.

Routing and BGP

Read a routing table, choose between static, OSPF and BGP, and debug prefix propagation and route selection across autonomous systems.

RPC and gRPC

When to model a call as a remote procedure, and how protobuf contracts, deadlines, trailers and streaming stay safe under retry.

Simultaneous Multithreading

How one physical core interleaves several thread contexts to fill idle issue slots, which state is replicated, which resources stay shared, and why SMT buys throughput instead of latency.

Single-Cycle Processor

One instruction per clock cycle: the shared combinational path, the load-limited clock period, and why a CPI of one still loses on frequency.

Sorting & Searching

Quicksort, merge sort and binary search: the comparison model, stability, and when the input shape changes the right answer.

Speculative Execution

How a core executes past unresolved branches and memory dependencies without exposing speculative state, and why Spectre broke that contract.

SRAM and DRAM

The two cells behind every level of the hierarchy: a 6T latch that holds a bit and a 1T1C capacitor that leaks one, with the density, timing and refresh contracts each imposes.

Superscalar

Issue width, parallel pipelines and the dependency limits that turn a four-wide machine into an IPC of two or three.

Supply Chain Security

SBOM, Sigstore, Snyk and Dependabot: knowing what a build contains and whether it can be trusted.

TCP

Handshake, the eleven-state machine, byte sequencing, retransmission, flow control and the TIME_WAIT tail of a close.

TLB

How a small translation cache turns a four-level walk into one lookup, why its reach matters more than its hit rate, and what a shootdown really costs.

TLS

TLS 1.3 handshake, record layer, resumption and 0-RTT: the session a client and server agree on.

Trees & Heaps

Binary trees, red-black trees, B-trees, B+ trees and heaps: the balance and fan-out choices behind ordered data.

Troubleshooting Method

A layer-by-layer decision tree that turns refused, timeout, reset and slow into falsifiable hypotheses with the cheapest evidence.

Tunnels and VPN

Choose an encapsulation and key exchange, budget the MTU cost, and tell a handshake failure apart from a routing or policy failure.

UDP

Datagram semantics, the eight-byte header, checksum coverage and the amplification risk of a connectionless protocol.

Uncore Organization

What sits around the cores inside a socket: LLC slices, the ring or mesh, home agents, memory controllers, the I/O complex and the power unit that binds their clocks.

Unit Testing

What a unit test isolates, the assertion libraries that express it, and where Vitest/Jest fits.

Virtualization Support

Root and non-root CPU modes, two-dimensional paging with EPT or NPT, and the exit and nested-walk costs that set a guest apart from bare metal.

VLIW and Static ILP

How VLIW and EPIC bundles move scheduling into the compiler, and what that trades away in compatibility and code size.

Web Security

OWASP Top 10, XSS, CSRF and WAF: the browser threat model and the controls that reduce it.

Wireless and Wi-Fi

802.11 framing, CSMA/CA, channels and bands, roaming, WPA2/WPA3 and interference: why wireless throughput is a shared-medium budget.