Skip to content

Case studies

Work

Production systems with measured outcomes, plus personal projects. Some real-work case studies are anonymised: names redacted, numbers honest.

Two acts on a parish-admin platform

Provstiskyen: optimising then rewriting a 10-year SaaS

50s → 18s

App startup

Two acts on a 44,000-line R Shiny platform that runs about half of Denmark's deaneries. Act I cut cold start from 50s to 18s and deploys from 35min to 80s on the existing codebase. Act II, once the architecture itself was the ceiling, is a full rewrite onto FastAPI, Polars, and React: performant by default, far more maintainable, with the legacy app retiring as the last module ports across.

DevOps Optimization Fullstack
R Shiny FastAPI Polars React TanStack Kubernetes MariaDB DragonflyDB Auth0

Enterprise CI cluster

Jenkins pipeline right-sizing

8% → 60%

RAM utilisation

Took 2,600 production pipelines from 8% to ~60% memory utilisation by building per-build telemetry, then designing bins from real percentile data. Same hardware, several multiples more headroom, no rewrite of any pipeline required.

DevOps Observability Optimization Data
Kubernetes Jenkins OpenTelemetry Thanos Grafana Polars Groovy

Equities backtester + risk budget

Thoth

DSR + CI

Selection-bias-aware ranking

An equities backtester built with the statistical honesty of a real-money system: selection-bias-aware deflated Sharpe with explicit trial count, stationary block-bootstrap confidence intervals, predicted-vs-realized calibration against a live trade journal, correlation-adjusted quarter-Kelly sizing with heat / sector / currency caps. The engine work (pure Polars strategies, vectorised regime detection with hysteresis, threaded scanner) is what makes the trust layer cheap enough to actually run every morning.

Optimization Fullstack Data
FastAPI Polars PostgreSQL React Vite TanStack

Anonymised, long-catalogue specialty e-commerce

Inventory decision engine

27%

Lower tail-forecast error vs baseline

Replacing a legacy 121K-line per-SKU integer-programming procurement system, whose actual demand forecaster was this-year-over-last-year, with a two-stage decision engine: a LightGBM quantile demand forecaster feeding a HiGHS LP capital allocator. A four-way ablation cleanly attributes wins between the forecaster and the allocator, on a simulation engine that runs ~30× faster than the Python-idiomatic baseline and is locked by nine source-level invariants.

Optimization Fullstack Data
FastAPI Polars LightGBM HiGHS MariaDB MongoDB React TanStack

This site

Tachyon

9,840 ns → 210 ps

Python V0 → Zig V7 per pair

The same haversine kernel walked from a naïve pandas `.apply` through C++, Rust, Zig SIMD, and finally an analyzer-driven V7 in Zig that reads its own compiled assembly to land at 150 GB/s, plus a WebGPU compute lab in the browser. End-to-end demo of the optimisation work I do for clients.

Optimization DevOps Fullstack
Python Zig Rust C++ WebGPU FastAPI Astro Fly.io

Horus / Neper / Maat

Home GitOps cluster

4 nodes

ARM64 GitOps cluster

Bare-metal Kubernetes on 4× Raspberry Pi 4 with Flux, Cilium, Tailscale, an in-cluster Zot registry, and MinIO. Hands-on platform engineering: the same GitOps patterns I apply to bigger clusters at work.

DevOps Fullstack
Kubernetes Flux Cilium Tailscale MinIO Zot ARM64