backendtechie.hashnode.devUnderstanding CacheCache is simply faster storage located closer to the computation. Where Cache Lives ? Cache Read Patterns 1. Cache-Aside (Lazy Loading) This is the most common pattern in production. The application controls the cache: 2. Read-Through Cache Th...Feb 6·2 min read
backendtechie.hashnode.devExecutor Service and FutureExecutorService is a Java framework that manages a pool of worker threads to execute your tasks asynchronously. Instead of manually creating and managing threads, you submit tasks to the executor and it handles all the threading complexity for you. A...Jan 19·5 min read
backendtechie.hashnode.devDesign Patterns1. Strategy Pattern When to Use: Multiple algorithms or behaviours for the same task Need to switch logic at runtime Want to avoid big if-else or switch statements Example: Payment System ❌ What NOT to do if (type.equals("CARD")) { // card ...Jan 7·4 min read
backendtechie.hashnode.devRelational DatabasesA relational database organises data into tables (rows and columns) with relationships between them. Key Components: Rows (Records): Each row represents a single entry Columns (Fields): Each column represents a specific attribute Primary Key: Uniq...Jan 5·3 min read
backendtechie.hashnode.devHandling concurrency in JavaConcurrency is about multiple threads executing at the same time. Without proper handling, threads can interfere with each other, causing race conditions and data corruption. What's a race condition? When two threads try to read and modify the same d...Nov 24, 2025·5 min read