Redis Cache Penetration, Breakdown, and Avalanche: Solutions and Strategies
Cache Penetration
Concept
Cache penetration occurs when querying data that does not exist in the database. The typical cache flow works as follows: data retrieval first checks the cache. If the key does not exist or has expired, the query proceeds to the database, and the retrieved object is stored in the cache. If the database returns null, th ...
Posted on Tue, 28 Jul 2026 16:47:57 +0000 by onegative
Analyzing Beetl's GroupTemplate Core Architecture
Introduction to GroupTemplate
The GroupTemplate class serves as the central orchestrator within the Beetl template engine framework. It acts as the primary entry point for template operations, managing resources, configurations, and execution contexts. When applications need to dynamically evaluate expressions or generate content based on var ...
Posted on Wed, 22 Jul 2026 16:44:27 +0000 by robbyc
Implementing the Model-View-Presenter Pattern for Android Login Functionality
Context and Motivation
Many developers are familiar with MVP (Model-View-Presenter) as an evolution of MVC, offering clearer separation of concerns, particularly for decoupling the Model from the View. This architectural pattern has gained widespread acceptance among Android developers primarily because it structures code more clearly, even tho ...
Posted on Sat, 11 Jul 2026 17:44:25 +0000 by sam06
Understanding the Controller-Service-DAO Three-Tier Architecture in Software Development
Software development often involves breaking down complex systems in to smaller, manageable components. This approach not only improves maintainability and scalability but also enhances development efficiency. One widely adopted design pattern that achieves this is the Controller-Service-DAO three-tier architecture, which organizes applications ...
Posted on Wed, 17 Jun 2026 17:35:29 +0000 by jubripley
Refactoring a Consumer Finance Platform: Modular Code and Double-Layer Strategy Pattern
1. Background
1.1 Business Reorganization
As product requirements evolved, the consumer installment system needed to accommodate new product directions. The existing services, built up over time, could no longer support the revised business model. A fresh architecture was required.
1.2 Addressing Technical Debt
Key problems:
Module boundaries ...
Posted on Tue, 16 Jun 2026 18:04:03 +0000 by Smeep
Architecting a Multi-Module Spring Boot Application Structure
Layered Module Architecture
The foundation relies on a hierarchical Maven aggregation strategy. A root Spring Boot aggregator orchestrates dependency inheritance, while distinct child modules operate as independent deployment units. A dedicated commons artifact consolidates reusable components, including domain models, persistence layers, utili ...
Posted on Mon, 01 Jun 2026 17:32:44 +0000 by Yawa
Understanding MySQL Architecture and Storage Engines
MySQL System Architecture
The MySQL server can be divided into four layers:
Connection Layer – Includes client connections, connection pooling (authentication, caching), and thread pool management.
Service Layer – Contains SQL interface, query parser, optimizer, caches/buffers, management tools, and built-in functions. It parses queries, creat ...
Posted on Wed, 27 May 2026 23:10:22 +0000 by freebie
Database Abstraction Design: Seamless Transition from Relational to NoSQL
The core goal of database abstraction is to decouple business logic from underlying storage implementation. This ensures that higher-level code remains unaware of the specific database type (MySQL, PostgreSQL, MongoDB, Redis, etc.), allowing it to work with relational databases today and switch to NoSQL with minimal cost, while maintaining code ...
Posted on Sat, 23 May 2026 18:51:19 +0000 by fareforce
Implementing Full-Text Search in Databases: Architecture and Techniques
Full-text search implementation revolves around initializing the search environment, creating indexes on table fields, processing search terms through tokenization, matching terms against indexed records, and returning relevant results.
Implementation Workflow
Initialize Full-Text Search: Execute FullText.init() to set up necessary database sc ...
Posted on Fri, 22 May 2026 16:58:03 +0000 by kaveman50
Implementing the Core Components of Istio Architecture
Implementing Istio Architecture Components
Introduction
Istio consists of two main parts: the data plane and the control plane. The data plane handles traffic management, while the control plane manages configuration and policy. This article guides you through implementing Istio's architecture components, helping beginners understand the entire ...
Posted on Tue, 19 May 2026 03:02:38 +0000 by psurrena