Kubai Kevin

Backend engineering, AI tooling and developer careers

Explainers on backend engineering, AI tooling and developer careers: mechanisms, failure modes and decision checklists. Drafted with an LLM pipeline; figures are illustrative.

Articles are drafted by an automated LLM pipeline under the editorial direction of Kubai Kevin, a software developer based in Nairobi, Kenya. Topics are drawn from a curated list of recurring backend, AI and career themes; the pipeline is gated by hard quality controls (minimum length, duplicate detection, boilerplate rejection). Individual line-by-line human review is not performed on every post before publication — the author maintains the quality gates and corrects articles when readers report issues. Full AI content policy → · Editorial process →

Latest Posts

Your health check is lying…

Your readiness probe returns 200 but users see 500s.

14 min read

Testing Kubernetes Reliability

Legacy systems: what new hires find in week one

New hires break legacy systems by trusting docs over logs. Map hidden contracts, avoid the rewrite trap, and decide what to leave alone.

12 min read

Observability Distributed Systems Engineering Management

Codebase due diligence: read the tests first

Evaluate a codebase before joining by reading tests, CI config, and commit history. Spot red flags like ignored dependency updates and broken builds.

12 min read

Testing Payments Engineering Careers

Hallucination detection: metrics that mislead

Hallucination detection metrics often mislead: class imbalance, annotation noise, and distribution shift can make a 95% accurate detector useless in…

13 min read

LLMs

Message queues vs event streams: 7 traps

Message queues vs event streams: seven traps around replay, fan-out, backpressure and exactly-once, with a rule for choosing and a 30-minute check.

14 min read

Messaging Software Architecture

Encryption at rest vs in transit: the gap

Encryption at rest vs in transit: where the guarantees break. Learn the tradeoffs, failure modes, and a 30-minute audit to enforce TLS in PostgreSQL.

11 min read

AWS Security PostgreSQL

Structured outputs: schema vs. reality

Here is a minimal, runnable validator using Pydantic v2, which is the de facto schema library in the Python ecosystem and supports JSON Schema generation.

11 min read

LLMs Python

Secure file uploads: where pipelines break

Secure file upload pipelines fail at the same six points. Spot the Content-Type trust mistake, path traversal, and origin misconfig before a review does.

13 min read

AWS Python Security

Backpressure in Streaming Pipelines: The Silent Killer

Backpressure in streaming pipelines: why unbounded queues cause OOM, how Kafka consumers lose the signal, and the pause/resume fix that avoids rebalance…

16 min read

Java Messaging Reliability

Mentoring without formal authority: the invisible mandate

Mentoring without formal authority fails when advice evaporates after the meeting.

12 min read

Engineering Careers Engineering Management

CPU-based autoscaling is mostly wrong

CPU-based autoscaling under-provisions when work is blocked, not computing.

14 min read

LLMs Kubernetes Serverless

Graceful shutdown: SIGKILL is not the enemy

Graceful shutdown for long-running workers fails when jobs outlast the grace period. Add a deadline check and checkpointing to stop losing work on deploy.

14 min read

Kubernetes Distributed Systems

CSRF and SameSite cookies: what breaks

CSRF and SameSite cookies: why Lax still allows state-changing GETs, how to add a double-submit token, and the Secure flag mistake that silently drops…

13 min read

Security Payments

On-call without derailing projects

On-call rotations erode project delivery when alerts are noisy and capacity isn't planned.

13 min read

Reliability

Object storage lifecycle policies explained

Object storage lifecycle policies: avoid early deletion fees, orphaned uploads, and silent data loss.

14 min read

AWS Azure Google Cloud

Senior without the title: what stalls engineers

Senior work without the senior title: how freelance engineers build real technical depth through decision logs, timezone-aware design, and payment…

16 min read

Payments Kubernetes Reliability

Security engineering isn't a ladder

Security engineering careers aren't a ladder—they're a lattice.

13 min read

LLMs Security Reliability

RBAC vs ABAC: pick by blast radius

RBAC vs ABAC for services: why role explosion and attribute spoofing fail in opposite directions, with runnable policy code and a deny-on-missing test.

12 min read

AI Agents Identity & Access

Kubernetes Requests and Limits: Seven Production Traps

Why pods get OOMKilled, throttled, or evicted: seven common requests-and-limits mistakes, how to detect each with real metrics, and which to fix first.

15 min read

Java Kubernetes Containers

Human-in-the-loop: when agents need a human veto

Design agent approval gates that live in the executor, not the prompt: signed single-use tokens, per-action scope, audit trails and anti-rubber-stamp checks.

14 min read

LLMs Payments AI Agents

Multi-region active-active: the hidden costs

Active-active across AWS, Azure and Google Cloud is a distributed-systems build, not a product. Here are its real costs and failure modes.

17 min read

AWS Azure Google Cloud

Python deps: uv vs Poetry vs pip-tools

Compare uv, Poetry and pip-tools by resolver, lockfile and environment model, with a worked example, failure modes and a decision checklist.

12 min read

AWS Python Containers

Your platform team is too big

Small engineering orgs often staff a platform team before scoping the platform as a product. Here is a staffing test, a written boundary, and paved roads.

18 min read

Terraform Reliability Engineering Careers

Freelance vs full-time: African devs' real tradeoffs

A structural comparison of freelance contracts and full-time remote jobs for African developers: risk transfer, utilization, tax, IP, and a worked pay comparison.

12 min read

Payments Africa Tech Mobile Money

Browse older posts →