Fullstack Movie Streaming Platform
System Design Prompt: Design Netflix
Disclaimer: The project was intended to build a system like Netflix/ Youtube/ Tiktok from PoC to Production Like environment. Since I do not own the rights for any of the movies, I decided to replace the movie 'links' with Youtube Trailers instead.
This is not the official repository. Original repo: 330 + commits
Design a video on demand platform that lets users upload fast, watch and store videos like Tiktok, Youtube and Amazon Prime. Build the system so that it is always available for our users, highly scalable, high performance and low latency, cost effective and supported by different devices.
Goals & Tasks
User goals:
- Watch their favourite show seamlessly
- Wide range of choices to pick from
- Seamless membership experience, which they cancel anytime
- Save favourite videos so they can watch it later
User Task:
- Sign up and pick a subscription plan
- Search/ browse their favourite shows
- Choose from a wide selection of videos
- Watch movie
Tech stack
Client
- NextJS/React/TypeScript
- Tailwind CSS
- CSS + HTML
- Stripe Payments
- Firebase
Distributed System Tech Stack+
- Apollo-Federation Router (Rust)
- Async GraphQL
- Actix-Web
- Redis
- Docker / Kubernetes (wip)
- Async SQLx + PostgreSQL
- ScyllaDB/ CassandraDB
- Apache Kafka
Apache Spark (pySpark)(wip w/ tensorflow)Hadoop(HDFS)- AWS WORKFLOW
- Elastic Stack (Elasticsearch, Kabana)
Apache Beam and BigQuery- Influx DB
- Tensorflow/ TFX
BigQuery ML | Dataflow
General Logging Stack
- Prometheus
- Open Telemetry
- Grafana
- Jaeger
Final Architecture
- Build logs// Notes// Brainstorming of ideas/ Challenges can be found here