DFNN · IoT
POS terminal fleet management
Activation, onboarding and real-time updates for a nationally deployed Android POS fleet on Cloudflare Workers + D1.
- Role
- Development Lead / Full Stack Developer
- Company
- DFNN, Inc.
- Year
- 2025
- Metric
- National
- Android POS fleet
Stack
- Cloudflare Workers
- Cloudflare D1
- Android POS
Details limited by NDA. Client names, numbers and architecture are shown only as far as I'm permitted to share them.
Problem
A nationally deployed fleet of Android POS terminals needed one place to activate devices, onboard them, and push updates to them in real time.
Constraints
- Terminals spread across the country, on variable networks.
- Traffic spikes when many terminals check in at once.
- DDoS resilience: the control plane for a payments fleet cannot go down.
Architecture
Key decisions
- Cloudflare Workers at the edge so terminal traffic is absorbed close to the device and shielded by Cloudflare's network, rather than funnelled to one origin.
- D1 as the fleet registry, keeping state next to the Workers that serve it.
- Activation and onboarding as explicit steps, so a terminal is never half-configured.