Home/Learn/Internals
Topic

Internals

Learn Internals as a connected topic across chapters, concepts, simulations, and interview reasoning.

10 Concepts39 Articles12h 30m

Overview

Learn Internals as a connected topic across chapters, concepts, simulations, and interview reasoning.

How this topic helps

System Design
Distributed Systems
Data Structures
Database

Learning Path in this Topic

Series that contain articles from Internals. Select a path to filter the article list.

Articles

39 matched articles

Article 1CPython Internals: Reference Counting, Cycle Detection, and Memory ProfilingTLDR: CPython manages memory using a two-tier system: Reference Counting (for immediate deallocation) and a Generational Cyclic Garbage Collector (to identify and collect isolated reference cycles). T11 minArticle 2How It Works: Thread Safety Internals of Java's ConcurrentHashMapTLDR: Java's ConcurrentHashMap achieves high read throughput and thread-safe writes by avoiding table-level locks. It utilizes lock-free volatile node reads and isolates write locking to individual bu9 minArticle 3How It Works: The Internals of Database B+ Tree IndexesTLDR: Database indexes utilize B+ Trees to minimize slow disk I/O operations. By organizing data into balanced, wide node pages and linking leaf nodes sequentially, databases resolve queries in logari11 minArticle 4How It Works: Under the Hood of the Redis Single-Threaded EngineTLDR: Redis achieves sub-millisecond latencies and millions of operations per second by executing all commands inside a single thread. This avoids thread context switching and lock contention, relying9 minArticle 5CosmosDB Partition Internals: Logical vs Physical Partitions ExplainedπŸ”₯ When Your Database Bill Triples Overnight A retail engineering team ships a flash-sale feature. Traffic spikes 10Γ—. Their Azure CosmosDB bill triples within 24 hours. Queries that ran in 5ms now ta16 minArticle 6Change Feed vs Change Stream: CDC Internals, Reliability, and When to Avoid EachIn the summer of 2023, the platform team at a fast-growing e-commerce company was handling 100,000 orders per day across three microservices: Order Service, Inventory Service, and Billing Service. All49 min

Page 1 of 7