When a page is created
Backend & software
Separate pages built ahead of time from responses generated by application code, and see why static pages can still be interactive.
- 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 - 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 - 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
The static vs dynamic comparison follows where HTML is produced, not whether the browser runs JavaScript.