luigialecce.com

luigi

backend engineer

More
Some things I built

apartmentlens.fyi ↗ live site

apartment listings make you guess whether a building is exempt from WA's 2025 rent stabilization law and how good the noise insulation is between units. I built a site that pulls county assessor data for residential buildings in King County and answers both on a map.

Map of Capitol Hill apartment buildings colored by rent control coverage The same map colored by estimated interior noise, from red for noisier buildings to green for quieter ones Building card for a 2019 building: likely exempt until 2032 under the new-construction exemption, with every other rule spelled out, a noise score breakdown, and raw county records

task-queue ↗ github repo

a task queue for agent work built on Postgres.

PostgresKubernetes
1 · the problem
one process · identical capacity for all
fetch io summarize llm price api draft llm send smtp

need 3× the llm work? clone the whole thing

no pool per task type, no dial per task type.

2 · how it works
ONE KUBERNETES DEPLOY agent orchestrator enqueue · never twice Postgres queue retry routed by type llm ×3 io ×1 smtp ×1 notify done
3 · measured
170/s
sustained at saturation
59ms
p95 queue wait, steady load
20,000→0
backlog drained in 117s
83,000
jobs · 0 lost · 0 dup enqueues

minikube, 12 workers ×4 · jobs sleep 50–500ms · preloaded backlog drained, then steady 150/s