Skip to main content

System Design - Others

System Design Exercise

Business Plan

  • “We Love Grandma’s Cookies” will be a recipe repository (not just for cookies or Grandmas!) for creators to share their recipes with a global audience.
  • Monetization will be subscription-based, allowing users to subscribe to a creator and have access to their recipe content.
  • Creator will also be able to share pilot recipes for free to all users to attract new subscriptions.

Initial Product Specifications

  • Creators need a portal to create a profile, add financial remittance for the subscription, and upload their recipes.
  • Users will need access to a payment portal to make and manage their subscription.
  • There will be a search feature that, given a discrete search, users will be able to find Creators and recipes that match their search criteria.
  • The user portal should provide a minimal interface to save their favorite recipes and be updated on content from their creator subscriptions.

TODO

  1. Service level domain
  2. Architecture diagram
  3. Data models
  4. Databases
  5. Scalability
  6. Recommendation of tech stack for the product (Cloud-agnostic)
  7. Timelines - MVP
  8. SEO

CricInfo

CRICINFO system design | CRICBUZZ System design

image

image

Netflix

  1. AWS

  2. OpenConnect (Netflix CDN)

    1. OC
    2. Backend
    3. Client

image

netflix-overall-architecture

https://www.linkedin.com/pulse/system-design-netflix-narendra-l

https://netflixtechblog.com/netflixs-viewing-data-how-we-know-where-you-are-in-house-of-cards-608dd61077da

NETFLIX System design | software architecture for netflix

Gitlab

image

S3 system design (distributed cloud storage)

Cluster Manager

  1. Allocates account
  2. Disaster recovery
  3. Resource track
  4. Holds policies Authentication + Authorization
  5. Manages Cluster- Hash(UUID) - Partition Map Table
  • Consistent Hashing
  • 1 hit wonder (don't cache any request till a threshold)
    • Maybe the request is only once/twice for a day

Streaming layer (Stream Manager)

  1. Append only
  2. Seal
  3. Garbage collection
  4. Replication
  5. Health of FS
  6. Store offsets

image

S3 system design | cloud storage system design | Distributed cloud storage system design - YouTube

Financial System

image

TikTok

System Design Interview: TikTok architecture with @sudoCODE

  • Intagram Reels
  • Short TikTok Videos

Challenges

  • Ingestion
  • Storage
  • Distribution

Functional requirements

  • Upload videos
  • Feed
  • Profiles

Non-functional requirements

  • Scalability
  • Availability
  • Fault tolerant
  • Performance

Others