Back to portfolio
Cloud Platform · Case study

Cloud-Native Audio Streaming Platform

Uploaded audio is validated, processed and indexed asynchronously, then delivered through streaming APIs that scale separately from ingestion.

Challenge

Audio libraries grow faster than one service can ingest, process and stream them.

Audio files are large and arrive in bursts. Validating, converting and extracting metadata from each file takes seconds to minutes, and doing that work inside the upload request would use capacity that playback needs.

02Event-Driven
Media Pipeline

Solution

Ingestion, processing, storage, indexing and streaming are separate services that communicate through RabbitMQ and gRPC. An upload returns as soon as its job is queued. Workers consume jobs at their own pace, and the streaming service reads only from S3 and the search index, so a spike in one stage does not slow the others.

  • Distributed media ingestion Uploads are validated and queued without waiting for processing.
  • Event-driven processing pipeline Each stage reacts to the previous stage's event.
  • RabbitMQ job orchestration Jobs are distributed across workers and tracked until acknowledged.
  • Parallel worker processing Multiple workers handle metadata, validation and conversion at once.
  • Amazon S3 object storage Processed media is stored outside the compute layer.
  • Elasticsearch metadata indexing Search by title, author, album, category and tags.
  • Redis caching layer Frequently requested metadata and playback URLs are served from memory.
  • Secure streaming APIs Playback through authenticated endpoints and signed URLs.
  • Independent horizontal scaling Workers and streaming services scale separately.
  • Fault-tolerant microservices A failed service restarts without losing queued jobs.
  • Kubernetes deployment Containerised services deployed and scaled as separate workloads.

Event-Driven Media Pipeline

Clients upload through a Go REST API, which validates metadata and publishes a job to RabbitMQ. Worker services consume jobs in parallel, write processed media to Amazon S3 and send metadata to Elasticsearch. The streaming service reads from S3 and the search index through a Redis cache and shares no runtime with the workers. Every service is packaged with Docker and deployed on Kubernetes.

Business impact

  • Reliable ingestion: uploads are accepted and queued even while workers are busy
  • Processing work stays off the playback path
  • Faster catalogue search from a dedicated index
  • Streaming capacity scales without scaling workers, and the reverse
  • Fewer operational bottlenecks: no single service limits throughput
  • Cloud-native deployment on Docker and Kubernetes
  • High availability: a failed instance does not take the platform down