LLDCoding - Master LLD and Concurrency

WhatsAppYouTube
Buy Course

LLDCoding - Master LLD and Concurrency

Design (LLD) a file sharing system like Dropbox - Machine Coding

Design (LLD) a file sharing system like Dropbox - Machine Coding

Subhahu Jain's photo
Subhahu Jain
·Jul 15, 2023·

8 min read

Table of contents

  • Issues in Above Design
  • 🔥 Problem 1: FileStorageManager Singleton = Global Bottleneck
    • ❌ What we Did
    • ❌ Why This Is Dangerous
    • Solution
  • 🔥 Problem 2: File Data Stored in Memory (Instant Red Flag)
    • ❌ What we Did
    • ❌ Why This Is a Deal-Breaker
    • Solution
  • 🔥 Problem 3: No Concurrency Model for File Updates
    • ❌ What’s Missing Completely
    • Solution
  • 🔥 Problem 4: Version Control Is Claimed, Not Designed
    • ❌ Claimed Feature
    • ❌ Actual Code
    • Solution
  • 🔥 Problem 5: Proxy Pattern Is Used Incorrectly for Permissions
    • ❌ What we Did
    • ❌ Why This Is Unsafe
    • Solution
  • 🔥 Problem 6: Folder Model Breaks at Scale
    • ❌ What we Did
    • ❌ Why This Is Naive
    • Solution
  • 🔥 Problem 7: No Real Synchronization Model
    • ❌ Claimed Feature
    • ❌ Missing Reality
    • Solution
  • 🔥 Problem 8: Observer Pattern for Collaboration Will Explode
    • ❌ What we Implied
    • ❌ Why This Is Dangerous
    • Solution
  • NOTE
Web DevelopmentPythonJavaScriptProgramming BlogsCSS

©2026 LLDCoding - Master LLD and Concurrency

Publish with Hashnode

Powered by Hashnode - Home for tech writers and readers