lab / sync / offline-first action queue
Offline-first action queue
Principle
Every tap is a command. Offline, commands queue locally; on reconnect they replay in order, conflict-safe.
Stack SwiftUI · tRPC · Redis
Kind Sync
Working model
Need this in your product?
lab / data / double-entry ledger
Double-entry ledger
Principle
Balances are derived from postings, never stored. Money can't be created or lost, only moved.
Stack NestJS · PostgreSQL
Kind Data
Working model
Need this in your product?
lab / reliability / idempotent money movement
Idempotent money movement
Principle
Every mutation carries a key. Retry the same request a hundred times, the transfer happens once.
Stack NestJS · Redis
Kind Reliability
Working model
Need this in your product?
lab / realtime / crdt multiplayer
CRDT multiplayer
Principle
Edits merge without a server deciding who wins. Offline changes fold in cleanly when you're back.
Stack Yjs · WebSockets
Kind Realtime
Working model
Need this in your product?
lab / product logic / conviction scoring
Conviction scoring
Principle
A portfolio number from confidence × horizon × effort, recomputed on every change so the plan ranks itself.
Stack TypeScript
Kind Product logic
Working model
Need this in your product?
lab / data / pre-aggregated analytics
Pre-aggregated analytics
Principle
Raw events land in Kafka and compact into ClickHouse materialised views, so a dashboard reads a few pre-aggregated rows instead of scanning every event.
Stack Kafka · ClickHouse
Kind Data
Working model
Need this in your product?
lab / graphics / gpu grading in the browser
GPU grading in the browser
Principle
Colour grades are WebGL shaders applied per frame on a zero-copy path. The preview is graded live in the browser, no render farm.
Stack WebGL · Rust → WASM
Kind Graphics
Working model
Need this in your product?
lab / product logic / interval-tree availability
Interval-tree availability
Principle
Rooms, tables and terraces are one availability graph. Double-booking is impossible, not just unlikely.
Stack Prisma · PostgreSQL
Kind Product logic
Working model
Need this in your product?
lab / ops / incident state machine
Incident state machine
Principle
Open → acknowledged → mitigated → resolved, with every transition audited and every timer explicit.
Stack Go · TimescaleDB
Kind Ops
Working model
Need this in your product?
lab / interface / zero-lag editor with history
Zero-lag editor with history
Principle
Input is committed locally on the same frame; snapshots are versioned in the background.
Stack Remix · PostgreSQL
Kind Interface
Working model
Need this in your product?
lab / design systems / token pipeline
Token pipeline
Principle
One source of truth compiles to CSS, iOS and print. Every visual diff gates a pull request.
Stack Style Dictionary · Chromatic
Kind Design systems
Working model
Need this in your product?
lab / performance / edge-rendered commerce
Edge-rendered commerce
Principle
Storefront rendered on Cloudflare Workers with persisted GraphQL queries, so pages are assembled close to the shopper instead of at one distant origin.
Stack Nuxt · Workers · Shopify
Kind Performance
Working model
Need this in your product?
lab / data / blended attribution
Blended attribution
Principle
Meta spend and organic search normalised in one dbt model, so ROAS is defined once and pacing rules act on it.
Stack BigQuery · dbt
Kind Data
Working model
Need this in your product?
lab / product logic / rights-attached approvals
Rights-attached approvals
Principle
Approving a post signs its usage window. Payout escrow releases on the same event.
Stack NestJS · Instagram Graph API
Kind Product logic
Working model
Need this in your product?
lab / realtime / realtime order feed
Realtime order feed
Principle
Orders stream to the maker's phone over channels; status changes fan out to buyers instantly.
Stack Supabase · Expo
Kind Realtime
Working model
Need this in your product?