Kubai Kevin

Older Posts — Page 4 of 19

Rate limiters: burst vs abuse, two designs

Two rate limiter designs compared: token bucket with concurrency cap versus sliding window with penalty box, plus how to tune and measure each.

15 min read · 11 October 2026

Senior engineer: the bar moved, nobody updated the rubric

Seniority signals shifted from code production to specification, review and judgement. How to rewrite interview rubrics to measure the work that now exists.

13 min read · 11 October 2026

7 IDP shifts for AI feature delivery

Seven platform shifts that let teams version prompts, pin models, run offline evals, attribute token cost, and roll out AI changes gradually.

15 min read · 10 October 2026

7 bundling decisions that still matter

A practical review of seven bundling and code-splitting choices, their failure modes, and how to measure whether they help your app.

14 min read · 10 October 2026

Self-service AI tooling: the permission trap

Design self-service LLM layers so identity, context and budget controls prevent quiet permission failures instead of only working on the happy path.

14 min read · 9 October 2026

Promotions in the AI era: the mechanism

Why code volume stopped being a promotion signal, and how decision artifacts — ADRs, PR descriptions, instrumented tradeoffs — restore legible evidence of judgment.

17 min read · 8 October 2026

Core Web Vitals: what actually moves the needle

A decision framework for Core Web Vitals: read field distributions, find fixed costs that hit the slow tail, and verify changes with segmented RUM.

16 min read · 7 October 2026

Deployment platforms: senior vs new hire

How to build a deployment platform that serves both senior engineers and new hires, with escape hatches, guardrails, and a decision checklist.

17 min read · 7 October 2026

Debugging techniques that outlast any framework

Framework-agnostic debugging methods: narrow hypotheses about state, time, concurrency, boundaries and data shape, with a worked race-condition example.

11 min read · 6 October 2026

SLOs for agentic features: beyond latency

Define agent SLOs on task success, tool-call validity and clean termination, instrument them with OpenTelemetry, and alert on error-budget burn.

15 min read · 6 October 2026

Cross-border fintech: why your KYC fails in Dakar

Why KYC validation breaks across borders, and how to replace per-country code forks with a policy layer, reachability checks, and locale-safe schemas.

13 min read · 5 October 2026

Fraud detection: rules vs scoring, where they meet

How to split fraud decisions between a deterministic rules gate and a calibrated scoring model, with a worked three-layer architecture and audit trail.

17 min read · 4 October 2026

SBOM + attestation that gets used

How to generate, sign, attach and enforce SBOMs and build attestations so admission control and CI gates reject unverified artifacts.

17 min read · 3 October 2026

LLM evals: LangSmith vs Promptfoo in prod

How to choose between hosted trace-based eval platforms and local CLI eval runners, with latency, cost, CI and data-residency tradeoffs.

15 min read · 3 October 2026

Webhook delivery that survives outages

How to build durable webhook delivery with a transactional outbox, at-least-once queues, idempotency keys, and a retry schedule that outlasts outages.

13 min read · 2 October 2026

Who signs off on AI code?

AI coding assistants produce diffs fast, but accountability still needs a named human. Here is a review workflow with hooks, policy checks, and failure modes.

12 min read · 2 October 2026

Double-entry ledger: concurrent write errors

Why concurrent writes corrupt double-entry ledgers, and how to enforce the debit-equals-credit invariant with isolation, locks, and triggers.

15 min read · 1 October 2026

Agentic workflows: surviving network partitions

How to keep agentic workflows correct when networks drop: idempotency keys, an outbox with stable action IDs, and reconciliation on reconnect.

18 min read · 1 October 2026

DuckDB in production: when it replaces a warehouse

When an embedded columnar database beats a cloud warehouse for analytics, how to size it, and the failure modes that decide the boundary.

14 min read · 30 September 2026

Chaos engineering without an SRE team

How to run controlled fault injection in CI without a dedicated SRE team: scoping, kill switches, instrumentation, and failure modes to avoid.

14 min read · 30 September 2026

Multi-agent handoffs: the latency tax nobody measures

Multi-agent pipelines pay a latency tax at every handoff. Here is how to measure serialisation, transport and re-prompting cost, and what to fix first.

11 min read · 29 September 2026

Agent versioning: the contract you forgot

Agents expose tool schemas and output shapes as a public interface. Learn how to version that interface, migrate state, and avoid silent caller breakage.

13 min read · 28 September 2026

Settlement vs clearing: backend engineer's guide

Clearing produces obligations; settlement moves money. How to model both ledgers, reconcile them, and avoid the schema mistakes that break finance.

15 min read · 28 September 2026

Prompt injection: what breaks first in prod

Why prompt injection defeats prompt-level defenses, and how to bound the blast radius with tool allowlists, argument scoping, URL filtering and confirmation gates.

15 min read · 27 September 2026