Massif Network
Senior Developer
Location and media workspace for film production. Worked closely with the CTO/founder, driving backend and platform architecture.
- Built PostgreSQL/PGMQ processing through a broker Worker using Hyperdrive, service bindings, and Durable Objects. Claim fencing rejects stale queue acknowledgments and finalization; bounded execution, retries, and dead-letter handling make failures visible.
- Reworked test configuration and CI orchestration: a documented warm-cache comparison fell from 9m08s to 3m24s, with explicit test-environment separation.
- Moved media storage from Supabase Storage to Cloudflare R2, with authenticated delivery and uploads. Unified web, admin, and Workers in a pnpm/Turborepo monorepo and built local integration tests connecting Wrangler Workers to Supabase.
- Hardened tenant authorization, sharing permissions, and upload validation; migrated Worker authentication to Supabase JWKS.
- Built tenant-scoped hybrid search with Meilisearch, Voyage AI embeddings, and index repair. Built an evaluation harness and graded golden set of 87 queries; compared per-photo vectors with one combined text-and-image vector per location, which performed better overall in this comparison; also tested keyword/vector weighting.
- A separate 670-case A/B of Overture Maps enrichment detected no relevance gain (p = 0.75); recorded a recommendation against paid re-embedding.
- Set up Grafana Cloud monitoring across the application, database, search, and Workers, connecting metrics and logs to dashboards and alerts.
- PostgreSQLRow created
- PGMQWork queue
- Broker WorkerLease · retry · bounded reads
Retries exhausted: work goes to the dead-letter queue.
- Domain WorkersVia service bindings for metadata, embeddings, search repair, and geocoding.
Cloudflare Workers / R2 / Wrangler · TypeScript · SvelteKit · PostgreSQL / Supabase · Meilisearch