LayerL04 of L08
Filed here3
Also relevant12
Updated3 Oct 2026
Field notes · Layer 04 of 8

L04 · Data

Pipelines, warehouses and dashboards. One version of the truth instead of seven spreadsheets.

Filed under Data3
  1. 3 Oct 2026 L04 Data

    pgvector vs Pinecone: hybrid search, filtering and where Postgres stops being enough

    pgvector vs Pinecone in 2026: HNSW vs IVFFlat, filtered search pitfalls, hybrid BM25 + vector search with RRF in SQL, cost model and when to move.

    21 min →
  2. 5 Jun 2026 L04 Data

    Text-to-SQL that gets the numbers right: why the semantic layer decides whether AI analytics works

    Why LLM text-to-SQL over raw schemas returns wrong numbers, how a semantic layer (dbt MetricFlow, Cube) fixes it, and how to measure correctness.

    20 min →
  3. 15 Mar 2026 L04 Data

    Evaluating RAG in production: building an eval set, the pitfalls of LLM-as-judge, and regression testing

    RAG evaluation that holds up: retrieval vs generation metrics, building a span-labelled eval set, LLM-as-judge bias, and regression gates for chunking changes.

    25 min →
Also touches Data12
  1. 23 Jul 2026 L03 Cloud & DevOps

    Anatomy of a request: one click traced through CDN, WAF, load balancer, app and database

    Distributed tracing explained hop by hop: DNS, TLS, CDN, WAF, load balancer, app, cache, database and queue, with W3C traceparent propagation.

    24 min →
  2. 11 May 2026 L03 Cloud & DevOps

    Active-active vs active-passive multi-region: what it really costs, and why you probably want active-passive

    Active-active vs active-passive multi-region: data consistency, write conflicts, global database options, failover testing, a cost model and RPO/RTO tiers.

    20 min →
  3. 20 Apr 2026 L03 Cloud & DevOps

    Multi-tenant SaaS on Postgres: row-level security vs schema-per-tenant vs database-per-tenant

    How to build multi-tenant SaaS on Postgres: RLS with session variables, PgBouncer pitfalls, migrations, noisy neighbours, residency and a decision matrix.

    23 min →
  4. 2 Mar 2026 L06 AI & Automation

    How to build LLM evals for your own use case: golden datasets, graders, and why leaderboards don't predict your results

    Build LLM evals that predict production: a golden set from real traffic, code vs LLM-judge vs human graders, judge calibration, and CI regression gates.

    24 min →
  5. 19 Feb 2026 L08 Strategy

    Technical due diligence checklist: what investors and acquirers should check

    A technical due diligence checklist across architecture, code, security, cloud cost, data, licences, AI/IP and key-person risk, with red and yellow flags.

    27 min →
  6. 24 Jan 2026 L05 Software

    Strangler fig in practice: migrating a monolith without a rewrite

    A working guide to strangler fig migrations: the routing layer, choosing seams, moving data ownership, dual writes vs CDC, shadow traffic, and when to stop.

    22 min →
  7. 25 Nov 2025 L05 Software

    Idempotency keys: designing APIs (and payments) that survive retries

    How to design idempotency keys: storage schema, request fingerprints, concurrent duplicates, response replay, TTLs, the outbox, and the IETF draft's status.

    24 min →
  8. 12 Nov 2025 L06 AI & Automation

    Document extraction at scale: structured outputs, confidence scores and when to send it to a human

    How to measure and raise LLM document extraction accuracy: field-level evals, validation rules, calibrated confidence, human review routing, cost per page.

    25 min →
  9. 22 Oct 2025 L02 Security

    Permission-aware RAG: enforcing document access rules during retrieval

    How to enforce document permissions in RAG: pre-filter vs post-filter, syncing ACLs from Google Drive and SharePoint, group expansion, caching and audit.

    26 min →
  10. 26 Sep 2025 L08 Strategy

    Post-merger IT integration: merging two tech stacks in the first 100 days

    A Day 1, Day 30 and Day 100 plan for post-merger IT integration: identity, email, security, network, SaaS, data, product platforms and people.

    24 min →
  11. 16 Sep 2025 L03 Cloud & DevOps

    Zero-downtime Postgres migrations: expand/contract, lock timeouts and the ALTER TABLE that takes production down

    How to change a live Postgres schema without downtime: the lock queue, lock_timeout, CREATE INDEX CONCURRENTLY, NOT VALID constraints, batched backfills.

    23 min →
  12. 3 Sep 2025 L01 Managed IT

    Your backups don't exist until you've restored them

    A green backup tick proves a file was written somewhere, not that you can get your business back. How to find out, with a restore test you can run this week.

    7 min →

Got a problem we should write about?

Suggest a topic →