Work

Systems I’ve designed and shipped — mostly at Kaira Vietnam, where I build the platform behind an AI-powered creator product. Written for humans first; the fine print is underneath each one.

01

Video that plays instantly for every user

Every video a creator uploads is automatically converted into adaptive streams and delivered worldwide — smooth playback whether the viewer is on fiber or a spotty mobile connection. Nobody touches it; it just happens.

under the hood: AWS MediaConvert → HLS/DASH ladders → CloudFront delivery
02

A media factory that scales itself

The processing plant behind all uploads. It grows when traffic spikes, shrinks when things are quiet, and sends heavy files to heavier machines automatically — defined entirely as code, so it can be rebuilt from scratch in minutes.

under the hood: AWS CDK · SQS → Step Functions → ECS Fargate, compute tier routed by file size
03

A For-You feed that keeps people coming back

The recommendation engine behind the app's For-You and Discover pages. It balances fresh content, what's trending, and each user's personal taste — and it runs inside the database itself, with zero extra servers to maintain.

under the hood: PL/pgSQL — freshness decay, co-visitation, creator similarity
04

AI image & video generation that never stalls

A smart queue coordinating two AI providers. Paying users get priority, long jobs don't block short ones, and when one provider has a bad day the system switches over automatically — users never notice.

under the hood: priority-tiered async pipeline · Gemini + xAI Grok with automatic failover
05

Sign-in that partner apps can trust

A custom authentication system that lets external applications connect to the platform securely and talk to the database directly — removing an entire server layer that would otherwise need building, scaling and babysitting.

under the hood: OAuth2 · ES256 JWTs verified via Supabase JWKS · Postgres row-level security
06

The economy of a creator marketplace

Coin wallets, purchase histories, expiring balances, referral rewards and web-push notifications — plus the admin dashboards and creator tools the team uses to run it all. The commerce layer, end to end.

under the hood: PostgreSQL ledger design · referral system · web-push · React/Next.js tooling
Curious how any of these work? Ask me — I love talking through them.