Work
Ten years on backends that cannot stop: game networks, payments, applied AI.
- 17,000–18,600 events/sBuilt the durable workflow engine (nagare) with a transactional outbox relayed by 4 sharded sources in batches of 500, sustaining 17–18.6k events/s on Postgres 16 with exactly-once effects.
- p99 1.80 msDesigned the journal behind every durable step, recording over gRPC with +0.14 ms p50 over a direct insert, so a step costs p50 1.13 ms and p99 1.80 ms.
- −37% CPU · −50% memoryBuilt a test engine (hakoniwa) on the workflow engine with controlled worlds (frozen clock, forked Postgres, injected faults), cutting CPU by 37% and peak memory by 50% against plain Playwright with identical verdicts.
- 0 false in 200Made time a test input: clock jumps of +1 h to +30 d run in about 155 ms, with 0 false results across 200 jumps.
- 73% → 96% triage accuracyRebuilt the WhatsApp assistant's triage on typed intent routing and re-measured it on a 45-case holdout: path accuracy 73.3% → 95.6% and routing 84.4% → 97.8%, with p95 still near 400 ms.
- −62% cost per turnRestructured the agent's prompts for caching: cached prompt share 53% → 88% and first-call cache hits 0/16 → 14/16, cutting cost per turn by 62% while blind-graded passes rose from 6/12 to 8/12.
- 91.5% → 97.3% accuracyGave support questions a dedicated reading router and validated it on a 188-item blind-graded battery: 91.5% → 97.3% (95% CI 93.9–98.9), 15 fixed vs 4 broken, exact McNemar p = 0.019.
- p95 6.1 s → 3.1 sReworked how the portal assistant reads store data, halving data-question latency (p95 6.14 s → 3.14 s, p50 3.33 s → 2.49 s) at 64/65 accuracy and 79% cached prompt tokens.
- −35% deployment errorsBuilt an evals harness with versioned batteries, a calibrated LLM judge and a candidate deployed on every push, wired into CI, cutting deployment errors by 35%.
- +50% reuse · +20% deliveryIntroduced agent-assisted engineering with an internal library of 37 skills and 18 role subagents running in parallel worktrees, raising code reuse by 50% and delivery speed by 20%.
- millions of tx/monthBuilt billing and payment services in Java, Go and Kafka for Brazil's largest condominium manager, processing millions of transactions per month.
- no double chargeMade every consumer idempotent by business key, with bounded retries, dead-letter topics and replay after a fix, so a redelivered event never charges twice.
- zero downtimeLed the strangler migration of the legacy monolith, extracting financial flows one at a time behind a routing facade, with zero downtime.
- boleto · PIXBuilt boleto and PIX reconciliation against the payment gateways, matching settlement files and webhooks to open charges and flagging every divergence.
- 40k+ players · p99 < 50 msRan a BungeeCord proxy network and Netty game servers for 40k+ concurrent players (100k+ daily peaks) with session routing and load-based lobby balancing, at p99 under 50 ms.
- millions of events/dayBuilt a real-time anti-cheat and anti-fraud pipeline that scores movement, combat and economy against per-player baselines over millions of daily events.
- POC → releaseTook EggWars and BedWars from proof of concept to release, and built Hytale's server-side modding engine in Java with a plugin API and ECS systems.
- 13k+ concurrent usersKept a Java backend for 13k+ concurrent users stable by moving database I/O off the main thread and tuning MySQL indexes, so the tick loop held under load.
- protocol levelBuilt a proprietary anti-cheat that intercepts packets in the Netty pipeline and validates speed, fly and reach on the server, blocking duplication and crash exploits.
- first roleJoined through the apprentice program and shipped CRUD features in Apache Cordova, JavaScript web UIs and SQL reports for an internal customer system.