All posts
3 / 5
·3 min readBackend

A simple app needs a complex backbone

How a minimalist video-log app pushed me into presigned uploads, Redis queues and Kubernetes.

Have you ever looked at a minimalist app with just a few buttons and thought, “That probably took a weekend to build”? Yeah… I used to think like that too.

I joined the Apple Developer Academy and built plenty of SwiftUI screens, but realised I was stuck in the “code phase”. I had never touched real deployment, monitoring, or backend architecture. So I picked SnapLog, a shared video-log app inspired by setlog, as a case study to test a hypothesis: how hard could the backend for a simple video-sharing app actually be?

Turns out, it’s complex.

My initial assumption was that a standard API server could handle media uploads, state tracking, and video processing in one place. That assumption fell apart fast. Routing raw video payloads through an API hogged server memory, and stitching video clips in real time destroyed response times.

Rethinking the architecture

To fix it, I had to rethink the entire system:

  1. Decoupled video uploads by issuing short-lived presigned URLs directly to Cloudflare R2, bypassing the API server entirely.
  2. Offloaded heavy video stitching to asynchronous worker processes using Redis queues.
  3. Built real-time timeline caching and WebSocket presence with Redis pub/sub, containerised everything with Docker, and deployed on Kubernetes with autoscaling rules.

The takeaway

What started as a simple case study ended up being my biggest lesson in system design. A simple app in front often demands a complex backbone behind it, and making those invisible moving parts work seamlessly is where the real work happens.

Thanks to Apple Developer Academy @ BINUS for giving me the space to explore and act on my ideas.

If you are curious about the code, the repository is here.