Resume · Backend

Backend systems built around explicit failure modes.

Queues, crash isolation, GPU admission, cloud infrastructure, and durable local services—with the concurrency and recovery mechanics left visible.

Choose a focus

01

Experience

Nov 2025 – Present

CrunchAtlas

Software Engineer

Local-first, air-gapped AI security platform for critical infrastructure. Sole author of the systems below.

  • Replaced Celery with a Postgres-native job queue for the platform's GPU, LLM, sandbox, and document jobs, so any one job can be cancelled without killing its worker. Interactive work runs ahead of background work, customers take fair-share turns, dependency DAGs gate what is claimable, and workers claim with SELECT FOR UPDATE SKIP LOCKED.
  • Made every job reach a terminal state, even when its process dies. Each runs under a spawned (not forked) supervisor that survives a segfault or OOM kill and reaps the child's process group, and a heartbeat sweeper fails jobs whose supervisor dies or freezes. Chaos tests SIGKILL live supervisors and kill the database mid-job.
  • Replaced fixed LLM concurrency with token-budgeted GPU scheduling. Five fixed 131k-token llama.cpp slots became one 655k-token KV-cache pool that holds 7 concurrent 128k-context agents or 160 4k-token jobs; a per-pool Postgres advisory lock admits a job only when its tokens fit, re-pricing under READ COMMITTED after any wait.
  • Made the platform investigate on its own, completing nearly 17,000 PCAP investigations in its first two months with no analyst click. A background reconciler queues the AI work that should exist, recording its progress durably so a crash loses nothing already queued.
  • Cut the main document-list query from 12.3 s to 1.5 ms on a 7.2M-row table by moving per-document alert counts into a summary table kept exact by statement-level Postgres triggers, with a reconcile job that repairs drift.
  • Created the agent harness every security agent runs on (LangChain/LangGraph). Before each model call it tokenizes the exact outgoing request and compacts or refuses anything that won't fit; it also evicts oversized tool output, detects tool-call loops, and sandboxes each run in a network-isolated container.
  • Own AtlasCyber's AWS across GovCloud and commercial partitions, managed in Terraform: EC2 and its reverse-proxy/tunnel fleet, load balancers, WAF, S3, IAM, VPC networking, CloudWatch alarms, and CloudFront.
  • Rewrote the network-capture sensor from scratch in Rust (#![forbid(unsafe_code)]): a headless Linux daemon whose SQLite-WAL upload queue persists each capture before upload, so queued captures survive a restart.

Mar 2025 – Nov 2025

CrunchAtlas

Software Engineer, AtlasConnect

Sole developer and maintainer of an inherited codebase — Django REST, React/Vite, self-hosted LLM stack.

  • Turned pitch decks into structured deal fields with a document-ingestion pipeline: PDF/DOCX/PPTX/DocSend extraction, parallel OCR only on pages without a text layer, and concurrent LangChain chains under a token budget.
02

Edge & networking

CrunchAtlas: how the platform's on-prem GPU boxes are reached from the internet, all declared in Terraform.

  • Exposed on-prem boxes without opening a single inbound port. A remotely managed Cloudflare Tunnel (cloudflared, outbound-only) carries traffic from Cloudflare's edge, where DNS, TLS, WAF rules, and bot management are declared in Terraform; the box holds only the daemon and its token.
  • Built a reusable AWS edge module: an ALB terminates TLS behind a US-only WAF with a per-IP login rate limit and forwards to a single nginx bastion that reaches the on-box app over WireGuard. The whole bastion (packages, firewalld, WireGuard, nginx, journald, a tunnel probe) renders from Terraform user data, and plan-only terraform test runs cover it against mocked AWS.
  • Adopted two hand-built SSH reverse-tunnel edges into Terraform with import blocks, exactly as they were, then hardened them one reviewed plan at a time: dedicated ALB security groups, WAF, Elastic IPs, VPC flow logs, CloudWatch health alarms, and certificate-expiry alerts through EventBridge and SNS.
  • Versioned every box's host config in the repo (systemd units, supervisord-managed tunnels, firewall rules, WireGuard), with a deploy-time drift gate that fails the deploy when a box has diverged from what is committed.
03

Selected projects

docq

Python · SQLite/FTS5 · Ollama

  • Created a cited retrieval engine that lets coding agents search a long reference without loading it. On a 266-case eval, hybrid BM25/vector retrieval beat either channel alone at 0.67 hit@1; a query-rewrite A/B raised it to 0.74 (p=0.0045).

Celery Fork-Safety Investigation

Python · Celery · GDB · LLDB · Docker

  • Traced a Celery hang to fork safety: a Rust-backed vector store initialized before fork() left the child holding a lock whose owning thread didn't survive the fork. Linux deadlocked on a futex (GDB); macOS crashed in libdispatch (LLDB).
04

Honors