Abstract AlgorithmsAbstract Algorithms

  • Home
  • About

Category

postgres

2 articles

System Design HLD Example: Hotel Booking System (Airbnb)

TLDR: A robust hotel booking system must guarantee atomicity in inventory subtraction. The core trade-off is Consistency vs. Availability: we prioritize strong consistency for the booking path (PostgreSQL with Optimistic Locking) while allowing event...

Mar 28, 2026•14 min read
System Design HLD Example: URL Shortener (TinyURL and Bitly)

System Design HLD Example: URL Shortener (TinyURL and Bitly)

TLDR: A URL shortener is a read-heavy system (100:1 ratio) that maps long URLs to short, unique aliases. The core scaling challenge is generating unique IDs without database contention—solved using a Range-Based ID Generator or a Distributed Counter ...

Mar 13, 2026•16 min read

Abstract Algorithms

Exploring the fascinating world of algorithms, data structures, and software engineering through clear explanations and practical examples.

Navigation

  • Home
  • Guided Topics
  • Interview Preparation
  • About

Series

  • LLM Engineering
  • Apache Spark Engineering
  • Python Programming

Popular Topics

  • #apache-spark14
  • intermediate12
  • Python6
  • performance6
  • Structured Streaming4
  • big data4

Author

Abstract Algorithms

Abstract Algorithms

@abstractalgorithms

© 2026 Abstract Algorithms. All rights reserved.

Powered by Hashnode