A visual guide to web technology
The web, clearly
explained.
Understand hosting, domains, networks, and the technology behind every website.
A few ideas to start with.
Browse the library- concept
URL structure
Read a web address, one part at a time. Learn what reaches the server—and why the fragment is different.
Explore the idea - comparison
Latency vs bandwidth
Waiting is not the same as transferring. See how round-trip time, body size and goodput shape one simplified response.
Explore the idea - concept
DNS TTL
A DNS answer can outlive a change at its source. Follow one resolver cache—not a global propagation clock.
Explore the idea - concept
Web hosting
See what a hosting environment supplies, trace a static or dynamic request, and separate service capabilities from the responsibilities in your plan.
Explore the idea - concept
Domain name
A domain names a place in DNS. It is neither the complete URL nor the site files or hosting account.
Explore the idea - comparison
Domain vs hosting
Separate registration, DNS, website hosting and mail, then explore what changes—and what stays unchanged—when you renew a domain or prepare a new host.
Explore the idea - comparison
Shared hosting vs VPS
Shared hosting simplifies administration; a VPS offers more system control. Neither guarantees speed or reliability.
Explore the idea - comparison
Managed vs unmanaged hosting
“Managed” describes which jobs a provider performs, not whether the machine is shared, virtual or dedicated.
Explore the idea - comparison
VPS vs dedicated server
Compare shared-host VMs, sole-tenant VMs and bare metal by physical exclusivity, hardware access, resizing and operational responsibility—not a universal score.
Explore the idea - comparison
Static vs dynamic website
Static pages can still be interactive. The key distinction is when and where HTML is produced for a request.
Explore the idea - procedure
Choose hosting for a small website
A practical selection checklist for a small site: requirements, responsibility, verification and an exit plan.
Explore the idea - procedure
Connect a domain to a website
Connect web DNS safely without disrupting existing mail: check delegation, stage the site, change only needed records and verify.
Explore the idea - concept
DNS resolution
Trace cold and cached DNS lookups, distinguish referrals from answers, and see why NXDOMAIN, NODATA and an HTTP response are different outcomes.
Explore the idea - concept
Authoritative nameserver
Learn how authoritative nameservers answer for DNS zones and why registrar delegation must point to the zone you edit.
Explore the idea - concept
Recursive DNS resolver
Understand recursive DNS resolvers, cache hits and misses, negative caching, and why cached data is not a global clock.
Explore the idea - comparison
DNS A and AAAA records
Compare DNS A and AAAA records by address family, check both sets independently and avoid assuming IPv6 always works.
Explore the idea - concept
CNAME record
See how a DNS CNAME aliases a hostname to another name and why ordinary records cannot share that alias owner.
Explore the idea - concept
MX record
Understand MX targets and lower-number mail preference, independent of website A/AAAA records and mail authentication TXT.
Explore the idea - procedure
Change a DNS record safely
Rehearse a single web A-record change, inspect the protected zone data, compare two resolver caches and practice a rollback that does not erase cached answers.
Explore the idea - troubleshooting
A DNS change is not visible
Diagnose an invisible DNS change by separating wrong-zone edits, delegation, cached positive or negative answers, and record type.
Explore the idea - troubleshooting
A website works for some visitors only
Isolate why a site works for some visitors but not others using DNS, IPv4/IPv6, TLS, caches and origin checks.
Explore the idea - concept
HTTP request and response
Read the method, target, headers, optional body, status and returned content in a small HTTP exchange.
Explore the idea - concept
HTTPS and TLS
Understand what HTTPS protects with TLS, how a browser authenticates a service, and which threats remain.
Explore the idea - concept
Reverse proxy
See how a reverse proxy receives public requests and forwards them to one or more upstream applications.
Explore the idea - concept
CDN
Understand how a CDN serves nearby edge responses, when it contacts origin, and why not all content is cached.
Explore the idea - concept
Browser cache
Learn when a browser can reuse a response, revalidate it, or must fetch it again under HTTP caching rules.
Explore the idea - troubleshooting
HTTP 404 troubleshooting
Diagnose an HTTP 404 from request, deployment, routing and cache evidence, then test a narrow correction without turning genuinely missing routes into success pages.
Explore the idea - troubleshooting
HTTP 502 troubleshooting
Investigate a proxy 502 by separating upstream response failures from 404, 503 and 504 without risky restarts.
Explore the idea - procedure
Back up a small website
Plan a recoverable small-site backup that includes deployable source, configuration, changing data and a tested restore.
Explore the idea - comparison
SSH vs SFTP
Compare SSH remote command sessions with SFTP file transfers carried over SSH, including their security limits.
Explore the idea - concept
DNS TXT record
A DNS TXT record holds textual data at a DNS owner name.
Explore the idea - concept
DNS NS records and delegation
An NS delegation tells a resolver which authoritative servers are responsible for a child DNS zone.
Explore the idea - concept
DNS SOA record
The SOA (Start of Authority) record identifies administrative parameters for a DNS zone.
Explore the idea - concept
DNSSEC
DNSSEC lets a validating DNS resolver authenticate signed DNS RRsets through a chain of trust.
Explore the idea - concept
DNS CAA record
A DNS CAA (Certification Authority Authorization) RRset expresses which certificate authorities may issue specified certificates for a domain.
Explore the idea - concept
SPF email authentication
SPF (Sender Policy Framework) lets a receiving mail system evaluate whether an observed SMTP sending IP is authorized for a specific SMTP identity, commonly MAIL FROM or HELO.
Explore the idea - concept
DKIM email signatures
DKIM (DomainKeys Identified Mail) associates a signing domain with selected canonicalized email headers and message content through a cryptographic signature.
Explore the idea - concept
DMARC alignment and policy
DMARC checks whether either SPF or DKIM passes and aligns with the domain in the visible From header; its published policy requests, but does not guarantee, how failures are handled.
Explore the idea - concept
HTTP status codes
An HTTP status code is a three-digit field in a server's HTTP response.
Explore the idea - concept
HTTP redirects
An HTTP redirect is a response directing a client to another URI, usually through a `Location` header and a 3xx status.
Explore the idea - concept
HTTP cookies
An HTTP cookie is a small name/value state item delivered in `Set-Cookie` and potentially returned in later `Cookie` request headers.
Explore the idea - concept
HTTP Cache-Control
The HTTP Cache-Control response field describes constraints on storage and reuse of a response.
Explore the idea - concept
ETag and conditional requests
An HTTP ETag is an opaque representation validator.
Explore the idea - concept
TLS certificates and trust chains
A TLS certificate chain lets a client build a candidate trust path from the service's leaf certificate through one or more issuing intermediates to a configured trust anchor.
Explore the idea - troubleshooting
TLS certificate hostname mismatch
A TLS hostname mismatch occurs when the requested reference identity does not match a supported name in the certificate presented by the server.
Explore the idea - concept
IP addresses
An IP address is a network-layer identifier used to deliver packets to an interface or endpoint context.
Explore the idea - comparison
TCP vs UDP
TCP provides an ordered, reliable *byte-stream service* under its protocol conditions, using sequence information, acknowledgments and retransmission.
Explore the idea - concept
Network ports
A network port helps identify a transport endpoint within a host's protocol stack.
Explore the idea - concept
CIDR and subnet masks
CIDR combines an IP address and prefix length, such as `192.0.2.0/24`, to describe a range of IP addresses by their leading bits.
Explore the idea - troubleshooting
Connection refused vs timeout
Connection refused and connection timed out describe different observations before an HTTP response is necessarily available.
Explore the idea - concept
Linux paths: absolute vs relative
An absolute Linux pathname starts at the process root. A relative pathname normally starts at the working directory, unless an API supplies another starting directory.
Explore the idea - concept
Linux file and directory permissions
Linux mode bits select owner, group or other permissions for an operation. Directory execute means search; passing a mode-bit check alone does not prove that real access will succeed.
Explore the idea - concept
Linux processes and PIDs
A Linux process has a PID and lifecycle. A child can exit before its parent collects the status; under ordinary retained-status rules, that unreaped child is a zombie.
Explore the idea - concept
systemd services and service states
systemd manages service lifecycles. Automatic restart depends on unit configuration, why the process stopped and applicable limits; a failed service is not guaranteed to restart.
Explore the idea - procedure
Read systemd service logs with journalctl
Use journalctl with a confirmed service unit, boot, time window, and priority threshold to narrow the journal records you read without restarting or reconfiguring the service. Missing output does not prove that an event never happened.
Explore the idea - concept
SSH public-key authentication
SSH public-key authentication proves control of a private key matching a key authorized for the account. That user-authentication proof does not replace separate verification of the server.
Explore the idea - troubleshooting
Disk space vs inode exhaustion
A Linux filesystem can run out of inodes while still reporting free data-block space. Those resources are counted separately, so free bytes alone do not establish that new files can be created.
Explore the idea - concept
Linux signals and graceful process shutdown
SIGTERM can be handled to allow an orderly shutdown. SIGKILL cannot be caught, blocked or ignored; neither signal choice proves that work was saved or termination completed.
Explore the idea - concept
Linux load average explained
Linux load average describes an averaged count of runnable tasks and tasks in some uninterruptible waits. It is not a CPU-utilization percentage, and it cannot by itself distinguish CPU demand from waiting elsewhere.
Explore the idea - procedure
Linux packages, dependencies and safe updates
Package dependencies can broaden a proposed update. Review the whole transaction against authorized scope and a recovery plan; a newer package version alone does not make the update safe.
Explore the idea - comparison
CPU cores vs threads for web workloads
SMT lets hardware threads share a physical core. More logical processors therefore do not guarantee the same workload capacity as the same number of independent physical cores.
Explore the idea - concept
RAM, paging and swap pressure
Memory pressure can trigger reclaim, eligible swap activity or an out-of-memory condition. Swap provides backing for some pages but does not replace RAM performance or guarantee allocation success.
Explore the idea - comparison
Storage IOPS, throughput and latency
IOPS counts operations, throughput counts transferred bytes and latency measures delay. Operation size connects the two rates, but neither rate alone establishes request latency.
Explore the idea - comparison
RAID redundancy vs backups
RAID redundancy can preserve access during some disk failures, but it does not replace an independently retained backup for recovering an earlier state.
Explore the idea - comparison
Virtual machines vs containers
A virtual machine can run its own guest kernel; an ordinary Linux container shares the host kernel. This boundary alone does not establish which environment is safer or faster.
Explore the idea - troubleshooting
Find a server resource bottleneck
Distinguish CPU, memory, storage and network bottlenecks by matching resource-wait evidence to the slow requests, workload scope and time window. A busy resource is a candidate to investigate, not proof that it delayed the affected work.
Explore the idea - comparison
NVMe vs SATA storage interfaces
NVMe and SATA describe storage communication, not flash media. Device capabilities, interface and workload are separate factors; an interface name alone does not establish application performance.
Explore the idea - concept
SQL primary keys and unique constraints
A primary key requires unique, non-null key values. A unique constraint follows its declared duplicate rule; PostgreSQL 18 default UNIQUE constraints allow multiple NULLs.
Explore the idea - concept
Database indexes and query plans
An index can let a query locate candidate rows without scanning every table row. That can reduce retrieval work, but a planner may still choose a sequential scan when its estimated cost is lower.
Explore the idea - concept
SQL joins explained
INNER JOIN returns one row for every matching left–right pair. LEFT JOIN returns those same pairs and also preserves each unmatched left row with NULLs in the right-side fields. Later filters can still remove rows from that joined result.
Explore the idea - concept
Database transactions and ACID
A transaction groups transactional changes into commit or rollback. ACID names distinct guarantees whose behavior depends on the database, isolation level and persistence configuration.
Explore the idea - comparison
Object, block and file storage
Object storage addresses named objects by key through an API; block storage exposes addressable logical blocks; file storage presents files and directories through paths and filesystem operations.
Explore the idea - comparison
Database backups, snapshots and consistency
A snapshot can be part of a backup, but its existence proves neither consistency nor recovery. The base copy must meet engine requirements, and required change logs must cover the recovery target.
Explore the idea - concept
Database connection pooling
A database connection pool reuses connections and caps how many callers can borrow them at once. When all usable connections are borrowed, additional callers must wait or fail according to the pool's policy.
Explore the idea - concept
The browser DOM explained
The DOM is a tree of nodes representing a document. A browser builds it as it parses HTML, and scripts can update that tree after the initial parse.
Explore the idea - concept
Critical rendering path
The critical rendering path links resources and browser work needed for visible content. Required HTML/CSS, script execution, layout and painting can delay rendering; download time is only one part.
Explore the idea - concept
CORS and the same-origin policy
CORS permits browser scripts to read qualifying cross-origin responses. With credentials mode include, an explicit matching origin and credentials permission are required; a wildcard origin is insufficient.
Explore the idea - procedure
Responsive images with srcset and sizes
srcset supplies candidate resources; sizes describes the intended display size for width candidates. Browser selection also considers pixel density and is not a command to fetch one exact file.
Explore the idea - concept
HTML forms and validation boundaries
Browser form validation can catch declared input errors before submission, but it is not a trust boundary. The server must independently validate requests and enforce application and authorization rules.
Explore the idea - comparison
Semantic HTML and ARIA roles
Prefer native HTML when it supplies the interaction you need. Adding role=button to a div can expose semantics, but it does not create native focusability or keyboard activation.
Explore the idea - concept
REST APIs and HTTP methods
HTTP methods express intended request semantics. Safe and idempotent are different properties; neither promises success, and method names alone do not certify a correct or RESTful implementation.
Explore the idea - comparison
Authentication vs authorization
Authentication establishes an identity; authorization decides whether it may perform a particular action on a resource. Being signed in does not supply a missing permission.
Explore the idea - comparison
Sessions vs JWT authentication state
A server session uses a lookup for state; a signed JWT can carry locally checked claims. A local-only verifier cannot learn an uncommunicated revocation, so invalidation is a key design tradeoff.
Explore the idea - concept
API rate limiting and HTTP 429
HTTP 429 indicates that the server has rate-limited the request. Use the provider’s limit and retry guidance to decide whether and when to retry; waiting alone does not establish that another attempt is safe or will succeed.
Explore the idea - procedure
Webhooks, retries and idempotency
Repeated webhook delivery must not duplicate business effects. An idempotent operation or correctly committed deduplication can help; reconcile an uncertain prior outcome before another non-idempotent change.
Explore the idea - comparison
Background job queues vs synchronous requests
A queue separates accepting work from completing it. Use it when results can arrive later with tracked outcomes; keep required immediate results synchronous. A queue does not add worker capacity.
Explore the idea - comparison
Recovery point objective vs recovery time objective
RPO limits tolerated data loss as a time interval. RTO targets the duration of disruption before agreed service capability returns. The two goals measure different recovery outcomes.
Explore the idea - procedure
What a restore test actually proves
A restore test establishes only the recovery checks and conditions it actually exercises. A completed backup job alone does not prove usable data, dependencies or application behavior can be restored.
Explore the idea - concept
Principle of least privilege
Least privilege means granting only the permissions required for a defined task, scope, and period.
Explore the idea - concept
Content Security Policy basics
Content Security Policy restricts certain browser resource loads and script execution. It is a defense-in-depth control, not a replacement for preventing injection in application code.
Explore the idea - comparison
MFA and phishing-resistant authentication
MFA does not automatically stop phishing: a typed OTP can be relayed. An origin-bound passkey resists that path when relying-party and origin checks are correct; MFA qualification is a separate question.
Explore the idea - procedure
Secrets management for web applications
Keep credentials out of repositories and public client output. After exposure, deleting a visible copy is not enough: authorized revocation or rotation and verification are separate tasks.
Explore the idea - concept
Git commits, branches and merging
Git histories diverge when neither tip is an ancestor of the other. Merging may fast-forward or combine divergent histories; divergence alone does not prove a file conflict.
Explore the idea - procedure
Deploy a static website safely
Switch a static release only after its complete output matches the accepted source/build, staged checks pass and exact publication is authorized. Verify the expected current release and rollback path too.
Explore the idea - comparison
Blue-green vs rolling deployments
Rolling deployment mixes versions while replacing instances. Blue-green switches traffic to a separately prepared pool. Neither name guarantees zero downtime: readiness, compatibility and recovery still matter.
Explore the idea - concept
Website uptime monitoring and false alarms
Uptime probes sample a defined check at selected times and locations. Successful probes do not prove universal availability; one failed probe does not prove a global outage.
Explore the idea - troubleshooting
Troubleshoot a slow website using evidence
Locate the delayed stage of a page load, then gather evidence that distinguishes its causes. Use browser timings and authorized matching server observations before changing infrastructure.
Explore the idea - comparison
HTTP compression: gzip and Brotli
gzip and Brotli are lossless HTTP content codings. Content-Encoding names the applied coding, but neither format guarantees a smaller body or faster response for every payload and implementation.
Explore the idea - concept
Core Web Vitals: LCP, INP and CLS
Core Web Vitals measure loading, responsiveness and visual stability through LCP, INP and CLS. Field assessment uses eligible observations and the 75th percentile, not one favorable test.
Explore the idea - concept
CDN cache keys and response variants
A cache key must preserve request distinctions needed to select suitable content. HTTP cache selection considers method and target URI; Vary can require matching nominated request headers.
Explore the idea - comparison
Forward proxies versus interception proxies
A network can put an intermediary on the path without making it a TLS endpoint. Compare who selects the proxy, where HTTP is readable, and why neither fact establishes permission to inspect content.
Explore the idea - concept
HTTP CONNECT tunnel boundaries
A 2xx response to HTTP CONNECT establishes a tunnel, not encryption. The proxy knows the requested host and port; what it can read in the forwarded bytes depends on the protocol inside.
Explore the idea - troubleshooting
Trusted proxy chains and client IP attribution
A forwarded address is justified by a trusted chain, not by its position in a header. Follow the receiving peer and the right-to-left trust walk before attributing an address.
Explore the idea - concept
SOCKS5 TCP and UDP association lifecycle
SOCKS5 uses TCP to set up a UDP association, not to carry its datagrams. A successful reply identifies the UDP relay; closing the TCP connection that carried the request ends the association.
Explore the idea - concept
Proxy auto-configuration decision paths
A proxy auto-configuration policy tells a browser which routes to try, not which one worked. Follow a hostname through an exact match, a dotted suffix, and an ordered proxy list to see why the same DIRECT result can have two causes.
Explore the idea - troubleshooting
NAT mapping collisions and port exhaustion
A full NAT port pool can block a new UDP mapping while an existing mapping stays usable. The key evidence is whether the sender needed a slot and whether one was available before the request.
Explore the idea - concept
Carrier-grade NAT and inbound reachability
A port forward tells your router where to send a connection that reaches it. Behind carrier-grade NAT, an inbound connection also needs a mapping at the carrier and permission along the path.
Explore the idea - concept
IPv6 SLAAC addresses and privacy lifetimes
Follow one IPv6 SLAAC address from creation to expiry. See why a temporary replacement can be due while the original is still preferred, and why deprecation does not mean the address is invalid.
Explore the idea - concept
Happy Eyeballs IPv6/IPv4 connection races
Happy Eyeballs staggers IPv6 and IPv4 connection attempts so a slow first attempt need not block the next. Follow the time from each DNS answer to connection success to see why the later start can win.
Explore the idea - concept
Policy routing and source-dependent route tables
The same IPv4 destination can lead to different Linux routes. A source rule determines which table to search; the longest matching prefix and its route type determine what happens there.
Explore the idea - concept
Connection tracking state and firewall decisions
A packet can be NEW whether a firewall allows it or denies it. Follow a Linux Netfilter example from packet observation to tracking label to filter verdict, and see which conclusions the label cannot support.
Explore the idea - concept
nftables hooks, priorities and multiple chains
Follow a packet through two nftables base chains at one hook. Changing a priority can change which verdicts the packet reaches, even when the result is still a drop.
Explore the idea - troubleshooting
Firewall rule shadowing in one ordered chain
To tell whether a later firewall rule is shadowed, look for traffic it could still match after earlier terminal verdicts in the same chain. Even one remaining class makes the difference.
Explore the idea - concept
WireGuard tunnel MTU and path-MTU constraints
A WireGuard path has to carry the whole outer IP packet. See how a change of outer header uses up 20 spare bytes, and why a packet one byte over the limit is not proof of a black hole.
Explore the idea - comparison
Split-tunnel VPN routes and DNS boundaries
A VPN route answers where traffic to an IP address should go. A DNS rule answers which resolver to ask about a name. Compare the two without mistaking either choice for an observed packet path.
Explore the idea - concept
Noisy neighbors and tail latency in shared hosting
A shared server can be busy for the same fraction of time yet make some requests wait much longer. Compare spaced arrivals with a burst to see what average utilization leaves out.
Explore the idea - troubleshooting
VPS CPU steal time and oversubscription
On a Linux VPS, steal is reported CPU scheduling wait, not guest work. Compare it with workload quota throttling over the same interval before attributing a slowdown to the host.
Explore the idea - concept
cgroup v2 memory.high versus memory.max
In Linux cgroup v2, memory.high puts a workload under reclaim and throttling pressure. At the hard limit, memory.max, the key question is whether reclaim can free enough memory for the attempted charge.
Explore the idea - concept
Shared hosting storage I/O throttling and queue contention
Free disk space tells you how much data will fit, not how fast reads can finish. Compare arrival rates, request sizes and service limits to see when a burst clears and when a storage queue keeps growing.
Explore the idea - comparison
Colocated versus managed database failure domains
A separate database can survive an app-host failure, yet the app still cannot serve a request. Compare what each fault interrupts, who handles recovery, and what a restore exercise actually proves.
Explore the idea - troubleshooting
Hosting control plane failures versus data plane health
A failed provisioning API can block changes while an existing site keeps serving. Check the visitor's request separately: a running process still needs its dependencies to deliver a response.
Explore the idea - concept
Live VM migration and dirty-page convergence
A pre-copy migration makes progress when it copies memory faster than the guest dirties it. Follow the pages left after each round to see why reaching a threshold is different from predicting downtime.
Explore the idea - comparison
Multi-region hosting failover versus data consistency
A replacement site can be reachable and still be five writes behind. Compare what the replica can recover, who can write next, and whether clients have actually reconnected.
Explore the idea - concept
NUMA locality and hosting workload placement
On a multi-socket server, the same worker can make both local and remote memory accesses. Compare a fixed set of reads to see how placement and the assumed cost of each path affect the total.
Explore the idea - concept
Autoscaling warmup and transient overload
A launch decision, usable capacity and an empty queue can occur at three different times. Follow a traffic burst second by second to see what changes when new instances take longer to become ready.
Explore the idea - concept
Quorum intersection without magical consistency guarantees
When read and write quorums come from the same fixed set of replicas, R plus W is greater than N guarantees a shared member. It does not guarantee that the read returns the latest completed write.
Explore the idea - comparison
Linearizability versus serializability in histories
A read can fit a serial order yet contradict the timing of a completed write. Compare what order explains the values with what order the calls and responses allow.
Explore the idea - concept
Raft elections, terms and stale leaders
A Raft leader wins a majority of votes in one term. An isolated former leader may still report itself as leader, but a server that knows the newer term rejects its older-term request.
Explore the idea - concept
Raft log conflicts and commit indexes
A Raft follower can acknowledge a log entry before it is committed or applied. Follow one request to see why a new leader counts replicas of a current-term entry, not just copies of an older one.
Explore the idea - concept
Duplicate delivery and the exactly-once illusion
A broker acknowledgment does not prove a change happened exactly once. Follow two deliveries of the same request and see why a crash between applying a credit and recording its key can leave two credits instead of one.
Explore the idea - procedure
Transactional outbox dual-write crash windows
A transactional outbox saves the business change and its event record together. A relay can still send the same event twice if it crashes after sending but before recording its progress.
Explore the idea - concept
Distributed leases and fencing tokens
A lease can expire while its holder is paused. When that holder resumes, an old write can still arrive. A fencing token lets the resource reject it if the resource has already accepted a newer token.
Explore the idea - concept
Logical clocks versus wall-clock timestamps
A send at logical time 3 and a receive at 6 respect message order, even if their wall clocks read 90 ms and 80 ms. Remove the message link and the same counts can label concurrent events.
Explore the idea - concept
Retry storms and jitter under partial outage
Four clients, eight retries, two timing patterns. See why spreading retries can complete more requests during recovery without reducing the amount of work sent.
Explore the idea - concept
Consistent hashing and virtual-node imbalance
A new token changes ownership for one interval of a hash ring. Follow the keys in that interval to see why moving three keys can shift 12 of 19 requests per window.
Explore the idea - concept
MVCC snapshot visibility across concurrent transactions
In PostgreSQL Repeatable Read, a later commit by another transaction does not change an established snapshot. The reader can still see its own earlier writes.
Explore the idea - concept
Write skew and snapshot isolation anomalies
Two doctors can each see the other on call, update different rows, and leave the roster empty. Write skew is about the rule their decisions share, not a collision between their writes.
Explore the idea - concept
WAL commit durability and crash recovery
A changed page can still be unwritten when a transaction commits. What matters for crash recovery is whether the durable log records both the change and its commit—not just whether the client received a reply.
Explore the idea - concept
B-tree page splits and index amplification
One index insert can change two leaves and their parent. Compare a key that fills the last slot with one that forces a B-tree split, and distinguish changed pages from disk writes.
Explore the idea - comparison
Hash join versus merge join under skew
Compare the same rows two ways: a hash join pays for a build or partition that outgrows memory; a merge join pays for missing input order. See which cost changes without treating either score as runtime.
Explore the idea - troubleshooting
Cardinality-estimation errors and optimizer choices
A lookup can be cheap once and costly when repeated. Compare the plan favored by an estimated row count with the plan favored by the actual count, and see when an estimate error matters.
Explore the idea - concept
Database deadlocks and wait-for graphs
Follow the arrows from waiting transactions to their blockers. A path that loops back explains a lock deadlock; a path that ends can still leave transactions waiting.
Explore the idea - concept
LSM-tree compaction and write amplification
Compaction can shrink a set of sorted runs while increasing total bytes written. Follow a four-run merge to separate the cost of rewriting entries from the benefit of having fewer places to look.
Explore the idea - troubleshooting
Hot partitions and shard-key skew
Two shards can own two keys each yet receive 100 requests on one and 20 on the other. Follow one popular key to see why moving it changes the busy shard without dividing its demand.
Explore the idea - procedure
Change-data-capture offsets and replays
A CDC checkpoint tells a consumer where to resume, not which effects survived. Compare it with durable effects and retained history to distinguish a harmless reread from a repeated effect, skipped work, or a gap.
Explore the idea - concept
TLS 1.3 transcript binding and key schedule
TLS 1.3 Finished checks whether the sender used the expected secret material with the expected handshake transcript. It does not tell the client, by itself, that the certificate identifies the intended site.
Explore the idea - concept
TLS 1.3 early data and replay constraints
TLS 1.3 early data lets a request go out sooner, but encryption alone does not prevent replay. Compare what two accepted copies mean for an operation that can repeat and one that must not.
Explore the idea - concept
Certificate Transparency inclusion versus trust
A CT inclusion proof ties a certificate entry to a particular log tree. It does not tell you whether the chain is trusted, the hostname matches, or the evidence satisfies your client's CT policy.
Explore the idea - concept
HTTP message framing ambiguity and request smuggling
When an edge proxy sees one HTTP request and a backend sees two, they disagree about where a request ends. Compare their boundary decisions and learn when rejection, rather than a count, is the right result.
Explore the idea - concept
OAuth PKCE binding during authorization-code exchange
PKCE binds an authorization code to a request-specific verifier. See why the code alone is not enough, and why even a matching verifier does not guarantee a token.
Explore the idea - troubleshooting
JWT issuer and audience validation
A JWT can have a valid signature and still be meant for another API. Compare two recipients to see how issuer, audience, and expiry checks determine eligibility without granting access.
Explore the idea - concept
WebAuthn relying-party and origin binding
A passkey signature ties an assertion to its data. The relying party still has to decide whether that data matches its expected origin, RP ID, challenge, and credential.
Explore the idea - comparison
Password hashing salts and work factors
Salts determine whether a password-hash calculation can be reused across accounts. Work factors determine the resources each calculation requires. Neither makes a predictable password less predictable.
Explore the idea - concept
AEAD nonce reuse and authenticated encryption boundaries
A valid tag does not prove a nonce was used only once. Compare two encryptions to see when a key-and-nonce pair repeats, and why the absence of a repeat in one pair is a much narrower finding.
Explore the idea - procedure
Reproducible builds and artifact provenance
Compare the exact build inputs and output bytes to assess reproduction. To assess origin, verify the provenance statement for that artifact. A matching digest alone does not identify the builder.
Explore the idea - concept
TCP slow start and congestion window growth
TCP slow start grows the sender’s congestion window as data is acknowledged. Follow three round trips to see why the amount in flight can be smaller than the window, even without loss.
Explore the idea - comparison
QUIC streams versus transport head-of-line limits
A gap in QUIC stream A need not delay received bytes on stream B. Compare that with one ordered TCP byte stream, then see why both streams still draw on the same budget for new sends.
Explore the idea - concept
QUIC connection migration and connection IDs
A QUIC connection ID lets a peer recognize a connection after an address change. Packet authentication, permission to migrate, and proof that the new path is reachable are separate checks.
Explore the idea - comparison
BBR versus CUBIC congestion-control behaviors
CUBIC’s ideal window follows a curve after a congestion event. BBR estimates bandwidth and delay to guide sending. Compare what changes each target without mistaking either one for measured throughput.
Explore the idea - concept
Tail-latency amplification in request fan-out
A parallel request that needs every result waits for its slowest call. Its p99 depends not just on how often each call is slow, but on whether those delays happen in the same requests.
Explore the idea - comparison
Hedged requests, wasted work and latency
A delayed second attempt can shorten the wait for a valid response. Compare the caller’s wait with the work both attempts do, and see why cancellation is no substitute for safe duplication or spare capacity.
Explore the idea - concept
Cache admission and TinyLFU frequency estimates
A cache miss need not displace a resident item. TinyLFU-style admission compares their estimated recent demand; aging can change which item leads without changing which resident is up for eviction.
Explore the idea - concept
Request collapsing during cache stampedes
Simultaneous misses for one eligible cache key can share an origin fetch. Count the requests waiting on it as well as the calls saved: one failed fetch can affect the whole group.
Explore the idea - concept
Adaptive load balancing with EWMA latency
A latency estimate can guide the next request, but sending the request can change the next estimate. Follow two backends round by round to see how EWMA weighting affects that feedback.
Explore the idea - concept
Backpressure and queueing collapse
A queue buys time, not service capacity. Follow five ticks of arrivals, completions, and rejections to see why accepting more work need not deliver more useful answers.
Explore the idea - concept
Linux page cache versus durable writeback
Linux can accept a buffered write before it reaches durable storage. At power loss, the difference between bytes accepted and bytes covered by a successful sync is an uncertainty, not a count of bytes lost.
Explore the idea - concept
Linux namespaces and isolation boundaries
Mount, PID, user, and network namespaces each isolate a different resource view. Compare two processes to see why a separate PID view says nothing by itself about networking, privileges, or resource limits.
Explore the idea - concept
seccomp filtering: allow, deny and log decisions
A seccomp filter can block a system call, but allowing it does not grant access to a file or other resource. A logging action is neither a denial nor proof that the operation succeeded.
Explore the idea - concept
eBPF verifier versus live observability
The eBPF verifier checks how a program can execute. A load result, an attachment at the intended point, and a count of observed events each answer a different question.
Explore the idea - concept
io_uring submission and completion queues
An io_uring completion identifies the request that finished, not necessarily the first one submitted. For an ordinary single-shot read, match its terminal result to its buffer before reuse.
Explore the idea - comparison
ext4 journal modes and crash windows
Compare the same ext4 crash point in ordered, writeback and journal modes. What does a metadata commit tell you about the file data, and what still depends on a successful sync?
Explore the idea - comparison
Copy-on-write snapshots, reflinks and backups
Snapshots and reflinks can preserve an earlier version by sharing data blocks. Even after every block has diverged, two versions on one device are not an independent backup.
Explore the idea - troubleshooting
Linux OOM selection and cgroup boundaries
A Linux workload can hit its cgroup memory limit while the host still has RAM. The OOM boundary tells you which processes could be selected; it does not tell you which one was killed.
Explore the idea - concept
Epoll edge- versus level-triggered readiness
A partial read can leave bytes waiting in either epoll mode. Level-triggered readiness can be reported again while those bytes remain; edge-triggered readers cannot count on a fresh edge just because they stopped early.
Explore the idea - concept
TCP SYN backlog versus accept queue
On Linux, incomplete TCP handshakes and completed connections waiting for accept are different queues. A full accept queue tells you how many are waiting, not whether a connection failed.
Explore the idea - concept
JavaScript tasks, microtasks and rendering opportunities
A browser can finish a JavaScript task and still have microtasks to run before rendering. Compare the end of that work with a target time to see why meeting the target is different from observing a paint.
Explore the idea - concept
Streaming HTML parsing and blocking scripts
A script can finish downloading at the same time in two timelines yet leave the parser at different points in the HTML. Compare blocking, defer, and async to see when the DOM can keep growing.
Explore the idea - concept
Preload scanner and browser resource priorities
Finding a URL early gives it a chance to start sooner. Follow two transfers through one busy slot to see when a priority hint changes their order and when an early fetch goes unused.
Explore the idea - concept
JavaScript module dependency waterfalls
Independent module downloads can overlap. Follow a dependency from discovery through evaluation to see why fetching it earlier can help, and why its importer may still have to wait.
Explore the idea - concept
Service worker update, waiting and activation lifecycle
See why a successfully installed service worker can wait while old pages remain open, and why activating the replacement is different from claiming a previously uncontrolled page.
Explore the idea - troubleshooting
IndexedDB transaction lifetime and quota failures
Trace a missing IndexedDB edit from transaction activity to the write result and the final commit or abort. A quota error is not the same as an inactive transaction, and a commit is not a promise of permanent storage.
Explore the idea - concept
Storage partitioning and third-party contexts
An embedded panel can come from the same origin on two sites yet see different stored state. Compare the key selected in each context and see why a cookie grant need not change access to other storage.
Explore the idea - concept
Back-forward cache versus actual reload
Back can restore the document you left, including its JavaScript state. Reload starts a new document. Compare the two with an in-memory counter, then see what the pageshow event tells you on a real return.
Explore the idea - concept
Web font loading, FOUT and layout shifts
A fallback font can make text readable before a web font arrives. See why replacing it can add a line, why hiding text is different, and why neither a font swap nor a line count measures layout shift.
Explore the idea - concept
CSS containment and content-visibility tradeoffs
With content-visibility: auto, an offscreen section can stay in the document while its rendering is skipped. Relevance determines what can be skipped; size containment affects how much room the box takes.
Explore the idea - concept
SLO burn rates and multi-window alerting
Burn rate compares the observed fraction of failed requests with the fraction an SLO allows. A two-window rule can distinguish a recent spike from an error rate that is high over both intervals.
Explore the idea - concept
Distributed tracing propagation and sampling bias
A missing span is not a missing call. Follow four service hops to see how lost parent context changes which spans link to a trace, while sampling changes which spans you can inspect.
Explore the idea - concept
Histogram buckets and misleading percentiles
To estimate p95 across instances, add request counts at matching bucket boundaries first. The counts establish a range; a specific latency inside it depends on an interpolation assumption.
Explore the idea - troubleshooting
Incident timeline: evidence versus causal hypothesis
An incident timeline can rule out a change that came too late. To connect an earlier deployment to a failure, look beyond the timestamps for evidence of how it affected the failing request.
Explore the idea - procedure
Canary rollout signal detection and rollback choices
Compare canary and control error rates without losing sight of request counts. Learn when a critical signal means stop, when to collect more evidence and why meeting a threshold is not approval to roll out.
Explore the idea - procedure
Chaos experiments with explicit blast-radius limits
Limit a chaos experiment by what could be affected, not just how many instances you select. Use a synthetic preflight to see when scope, abort evidence, or recovery evidence rules out a proposal.
Explore the idea - procedure
Expand-contract migrations across application versions
A read switch and a schema removal answer different questions: are the new values current, and could an active consumer or a rollback still need the old interface?
Explore the idea - troubleshooting
DDL lock queues and migration outage risk
A schema change can delay reads before it acquires a lock. Follow one PostgreSQL-like queue to separate the time a reader spends behind a waiting request from the time it spends behind a held lock.
Explore the idea - concept
Monotonic clocks versus wall time for deadlines
Use a monotonic clock for a timeout: a wall-clock step can make the same wait appear too short or too long. Choose the elapsed-time clock by whether time spent suspended should count.
Explore the idea - concept
Feature flags, sticky cohorts and split decisions
A sticky rollout keeps bucket placement repeatable. Follow one synthetic user across two evaluators to see when a different cutoff changes the decision and when a different group changes the bucket.
Explore the idea - concept
DNS SVCB and HTTPS service binding records
SVCB and HTTPS records point to service information or describe candidate endpoints. Learn why a client can skip priority 1, and why an IP hint is different from a resolved target address.
Explore the idea - concept
HTTP range requests and If-Range resumable transfers
If-Range asks for the rest of a download only if the version still matches. Learn why a full 200 must stay separate and what to check before joining a 206 to saved bytes.
Explore the idea - concept
HTTP 103 Early Hints and preload boundaries
A 103 can give a browser a head start on a resource while it waits for the final response. Whether that helps depends on whether the browser acts and the page needs the resource.
Explore the idea - concept
WebSocket handshake, frame flow and close states
An HTTP/1.1 upgrade lets both endpoints send WebSocket frames without a new request per message. A Close frame starts or answers the closing handshake; it does not prove the TCP connection has closed.
Explore the idea - concept
HTTP/2 stream and connection flow-control stalls
A positive HTTP/2 stream window is not enough to send DATA. Follow two streams sharing one connection window to see which bytes can move, which must wait, and why the target of a window update matters.
Explore the idea
Follow your curiosity.
- Frontend & browsers18 article
- Networks18 article
- Domains & DNS19 article
- Operations & procedures16 article
- Hosting16 article
- Backend & software17 article
- HTTP, TLS & web servers14 article
- Delivery & performance17 article
- Security & reliability20 article
- Servers & hardware7 article
- Data & storage17 article
- Linux & administration21 article
A clear definition. A small example to explore. A closer look at why it works.