Learning Resources

Tutorials

Step-by-step guides and in-depth articles to level up your skills.

Page 6 of 9

How to Design Actionable Alerts

Turn monitoring signals into alerts a human can act on, with thresholds from your SLO, grouping, and a runbook per alert.

Resilience

How to Detect Event Loop Starvation

Measure event loop lag and per-phase time to find the synchronous code that starves I/O, and fix latency spikes that come from your own process.

Resilience

How to Detect Schema Drift in Data Pipelines

Catch producer changes before they corrupt downstream tables: compare observed schemas against a pinned contract and quarantine the records that diverge.

Data Integrity

How to Detect Typosquatted Packages in CI

Catch typosquatted and malicious dependencies in CI with name-similarity checks, allow-lists, lockfile review and install-script blocking.

Security Boundaries

How to Enable TLS 1.3 Early Data

Use TLS 1.3 0-RTT early data to cut a round trip on resumed connections, and restrict it to safe requests to avoid replay.

Security Boundaries

How to Fuzz Parsers and Decoders

Feed malformed input to parsers automatically so crashes, hangs and wrong-but-accepted output surface before attackers find them.

Data Integrity

How to Generate an SBOM in CI

Produce a software bill of materials for every build so you can answer within minutes whether a new vulnerability affects you.

Security Boundaries

How to Handle Expect: 100-continue

Use the Expect: 100-continue handshake to avoid uploading a body a server will reject, and implement it correctly on both client and server.

Resilience

How to Implement a Bounded Work Queue

Keep a work queue from growing without bound by applying backpressure, priorities and deadlines instead of accepting unlimited tasks.

Resilience

How to Implement Chaos Experiments

Run controlled chaos experiments that inject real failures, state a hypothesis and blast radius, and stop safely, to prove resilience.

Resilience

How to Implement Code Splitting

Load only the JavaScript a route needs, defer the rest, and prefetch the next chunk so a split never costs a delay.

Data Fetching

How to Implement Continuous Profiling

Run always-on, low-overhead profiling in production to attribute CPU and memory cost to specific functions and find regressions before users do.

Config Management

How to Implement Email Verification

Confirm a user owns an email address with a single-use, expiring token, and resend safely without enabling abuse or enumeration.

Security Boundaries

How to Cache Embeddings by Content Hash

Avoid re-embedding identical text by keying a cache on a content hash and the model version, with LRU eviction and stampede protection.

Data Integrity

How to Implement Field-Level Encryption

Encrypt sensitive columns individually with per-field keys and authenticated encryption, keeping plaintext out of databases, backups and logs.

Security Boundaries

How to Implement Happy Eyeballs

Connect fast on dual-stack hosts with Happy Eyeballs: race IPv6 and IPv4, prefer IPv6 with a head start, and connect to whichever answers first.

Resilience

How to Implement Idempotency Keys

Make retried requests safe by storing a client-supplied key and replaying the original result instead of performing the work twice.

Resilience

How to Implement LLM Tool Calling Safely

Give a language model tools without letting it run arbitrary actions, using typed schemas, least-privilege scopes and human confirmation gates.

Security Boundaries

How to Implement Logical Replication

Replicate selected tables between databases with logical replication: publications, subscriptions, initial sync and conflict handling.

Data Integrity

How to Implement Negative Caching

Cache the answer that something does not exist for a short time, so repeated lookups for a missing key do not hammer the origin.

Resilience

How to Implement Request Coalescing

Deduplicate identical concurrent calls into a single upstream request so a burst of readers does not fan out into a burst of fetches.

Resilience

How to Implement Search Autocomplete

Serve prefix suggestions in milliseconds with an indexed prefix structure, client debouncing and a ranking that favours useful results.

Data Fetching

How to Implement SLO Burn-Rate Alerts

Alert on error-budget burn rate with multi-window, multi-burn-rate rules so alarms fire on real outages without paging on every blip.

Resilience

How to Generate SLSA Provenance in CI

Produce SLSA provenance for builds so artifacts carry verifiable evidence of what source produced them and how, enabling policy checks.

Security Boundaries

How to Implement Subresource Integrity

Pin the exact bytes of third-party scripts and styles with integrity hashes so a compromised CDN cannot run altered code in your pages.

Security Boundaries

How to Implement Trace Sampling Strategies

Choose head, tail and per-key sampling so traces stay useful and cheap: keep every error and slow request while sampling the boring majority.

Config Management

How to Instrument the Golden Signals

Instrument latency, traffic, errors and saturation for every service using consistent metrics, so health is visible before customers report it.

Config Management

How to Layout a Medallion Lakehouse

Organise a lakehouse into bronze, silver and gold layers, with clear responsibilities, contracts and reprocessing so each layer earns its keep.

Data Integrity

How to Load Test an API with k6

Measure how an API behaves under realistic load with scripted virtual users, thresholds and staged ramps before real traffic arrives.

Resilience

How to Manage Session Tokens Securely

Issue opaque session tokens, store only their hash, rotate on privilege change, and revoke cleanly so a stolen token has a short life.

Security Boundaries

How to Monitor Replication Lag

Measure how far a replica trails its primary, understand what causes lag, and bound the staleness your readers can tolerate.

Resilience

How to Optimize Bundles with esbuild

Use esbuild for fast JS/TS bundling: entry points, code splitting, external deps, CSS and defining production globals correctly.

Cli Tooling

How to Optimize Database Indexes

Design composite, covering and partial indexes from the queries you actually run, and drop indexes you do not need.

Data Integrity

How to Optimize Web Font Loading

Keep a web font from blocking text or shifting layout with font-display, preload, subsetting and a size-adjusted fallback.

Data Fetching

How to Prevent Broken Access Control

Enforce authorization on every request at the object level, deny by default, and test it adversarially so a missing check cannot leak data.

Security Boundaries

How to Protect Against Timing Attacks

Compare secrets in constant time, equalise visible work, and close the timing side channels that leak values byte by byte.

Security Boundaries

How to Reduce React Re-renders

Find what is re-rendering, why, and fix it by memoising props, moving state down and keeping context from fanning out.

Data Fetching

How to Rotate Database Credentials Safely

Rotate database passwords without downtime using dual credentials, connection pool draining and a verified cutover, plus a rollback path.

Security Boundaries

How to Rotate Secrets with a KMS

Manage encryption keys and application secrets so rotation happens on schedule without downtime or redeploys.

Security Boundaries

How to Run Accessibility Tests in CI

Add automated accessibility checks to CI with axe, keyboard tests and manual review, and gate merges on regressions without false confidence.

Form Validation

How to Scan for Secrets in CI

Keep credentials out of the repository by scanning every pull request for secret patterns and blocking merges on high-confidence findings.

Security Boundaries