Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

What Is Horizontal vs. Vertical Scaling in System Design?

1.4M views
•
July 29, 2018
by
Gaurav Sen
YouTube video player
What Is Horizontal vs. Vertical Scaling in System Design?

TL;DR

Horizontal scaling involves adding more machines to handle increased requests, while vertical scaling means upgrading to larger machines. Each approach has trade-offs: horizontal scaling offers better resilience and scalability, whereas vertical scaling provides faster communication and data consistency. A hybrid solution often combines the benefits of both methods for optimal system design.

Transcript

This video is on the basics of system design. If you have never designed a system before, this is probably the place to start. So imagine you have a computer with you in which you have written an algorithm. So some code is running on this computer and this code is like a normal function. It takes some input and it gives out an output. Now people lo... Read More

Key Insights

  • 😶‍🌫️ System design involves exposing code through APIs and hosting services on the cloud.
  • 🚥 Scalability can be achieved through vertical scaling or horizontal scaling.
  • 💨 Vertical scaling offers faster communication and data consistency, while horizontal scaling provides better resilience and scalability.
  • 😥 Trade-offs in system design include load balancing, point of failure, communication speed, data consistency, and hardware limitations.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the purpose of exposing code through APIs?

Exposing code through APIs allows others to access and use your code by making requests and receiving responses. This enables code to be usable without giving access to the entire computer.

Q: What is the difference between a desktop and the cloud?

The cloud is a set of computers provided by a service provider, such as Amazon Web Services, that offer computational power for running services. Unlike a desktop, the cloud allows for better reliability and configuration as provided by the solution providers.

Q: How can scalability be achieved in system design?

Scalability can be achieved by either vertically scaling (buying a bigger machine) or horizontally scaling (buying more machines). Vertical scaling increases processing speed, while horizontal scaling allows for distributing requests among multiple machines to handle more requests.

Q: What are the trade-offs in vertical scaling and horizontal scaling?

Vertical scaling does not require load balancing, but it has a single point of failure and slower communication between servers. Horizontal scaling requires load balancing, but it is more resilient with multiple machines and allows for faster interprocess communication.

Summary & Key Takeaways

  • System design involves exposing code through APIs to make it accessible for others to use.

  • Hosting services on the cloud allows for better configuration, reliability, and scalability.

  • Scalability options include vertical scaling (buying a bigger machine) and horizontal scaling (buying more machines) to handle increasing requests.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Gaurav Sen 📚

Why AGI is pure fantasy. thumbnail
Why AGI is pure fantasy.
Gaurav Sen
What is DATABASE SHARDING? thumbnail
What is DATABASE SHARDING?
Gaurav Sen
What is CONSISTENT HASHING and Where is it used? thumbnail
What is CONSISTENT HASHING and Where is it used?
Gaurav Sen
What are Bloom Filters? - Hashing thumbnail
What are Bloom Filters? - Hashing
Gaurav Sen
What is a MESSAGE QUEUE and Where is it used? thumbnail
What is a MESSAGE QUEUE and Where is it used?
Gaurav Sen
Segment Trees explained - LIVE thumbnail
Segment Trees explained - LIVE
Gaurav Sen

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.