Consistency Patterns + CAP Theorem1. Consistency Patterns 1.1. Strong Consistency After an update is made to the data, it will be immediately visible to any subsequent read operations. The data is replicated in a synchronous manner, May 7, 2026·4 min read·11
System Design Essentials: Vertical vs. Horizontal Scaling1. Vertical vs Horizontal Scaling In system design, scaling is the ability of a system to handle increasing load. There are two primary ways to scale a system: Vertical Scaling (Scale Up) HorizontalMar 21, 2026·3 min read·13
System Design Essentials: Latency vs. Throughput1. Latency vs Throughput In system design, Latency and Throughput are two fundamental performance metrics. They are often confused, but they represent very different aspects of a system. UnderstandingMar 20, 2026·3 min read·20
StringBuilder vs StringBuffer1. Why StringBuilder and StringBuffer Exist In Java, String objects are immutable. Every time a string is modified, a new object is created. For more details, check out my previous post here. Each conMar 16, 2026·3 min read·18
Understanding Java Garbage Collection1. Why Garbage Collection Exists In many programming languages, developers must manually free memory when objects are no longer needed. If memory is not properly released, the program may suffer from Mar 16, 2026·3 min read·7