Skip to content

📺 Netflix in Rust/ React-TS/ NextJS, Actix-Web, Async Apollo-GraphQl, Cassandra/ ScyllaDB, Async SQLx, Kafka, Redis, Tokio, Actix, Elasticsearch, Influxdb Iox, Tensorflow, AWS

License

Notifications You must be signed in to change notification settings

philipdaquin/fullstack-movie-streaming-platform

Repository files navigation

Fullstack Movie Streaming Platform

📺 Netflix in RUST/ NextJS, Actix-Web, Async Apollo-GraphQl, Cassandra/ ScyllaDB, Async SQLx, Spark, Kafka, Redis, Elasticsearch, Influxdb Iox, Tensorflow

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:

  1. Watch their favourite show seamlessly
  2. Wide range of choices to pick from
  3. Seamless membership experience, which they cancel anytime
  4. Save favourite videos so they can watch it later

User Task:

  1. Sign up and pick a subscription plan
  2. Search/ browse their favourite shows
  3. Choose from a wide selection of videos
  4. 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

homepage

Final Architecture

architecture_final

  • Build logs// Notes// Brainstorming of ideas/ Challenges can be found here

Subscription Plan

subs

Search

search_page search_page1

Profile Page

profile

Sign Up/ Sign In

image

Initial Architecture

architecture_sample

About

📺 Netflix in Rust/ React-TS/ NextJS, Actix-Web, Async Apollo-GraphQl, Cassandra/ ScyllaDB, Async SQLx, Kafka, Redis, Tokio, Actix, Elasticsearch, Influxdb Iox, Tensorflow, AWS

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published