Abstract AlgorithmsAbstract Algorithms

  • Home
  • All Posts
  • All Series
  • About

Category

concurrency

2 articles in this category

LLD for Movie Booking System: Designing BookMyShow

TLDR: A Movie Booking System (like BookMyShow) is an inventory management problem with an expiry: seats expire when the show starts. The core engineering challenge is preventing double-booking under concurrent user load with a 3-state seat model (AVA...

Mar 9, 2026•5 min read
Types of Locks Explained: Optimistic vs. Pessimistic Locking

Types of Locks Explained: Optimistic vs. Pessimistic Locking

TLDR: Pessimistic locking locks the record before editing — safe but slower under low contention. Optimistic locking checks for changes before saving using a version number — fast but can fail and require retry under high contention. Choosing correct...

Feb 10, 2026•6 min read

Abstract Algorithms

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

Navigation

  • Home
  • All Posts
  • All Series
  • About

Series

  • Machine Learning Mastery

Popular Topics

  • llm
  • interview-prep
  • System Design
  • distributed systems
  • Machine Learning
  • Databases

Author

Abstract Algorithms

Abstract Algorithms

@abstractalgorithms

© 2026 Abstract Algorithms. All rights reserved.

Powered by Hashnode