Tagged articles

cache

547 articles · Page 5 of 6
DeWu Technology
DeWu Technology
Nov 23, 2020 · Backend Development

Understanding Cache: Concepts, Types, and Best Practices

Cache is a temporary storage layer that speeds data access by keeping frequently used items close to the processor, spanning hardware (CPU registers, multi‑level caches) to software (database, Redis, Memcached), and requires careful design to avoid penetration, breakdown, and consistency issues through techniques such as empty‑result caching, Bloom filters, pre‑warming, jittered expirations, logical refreshes, and multi‑level strategies.

Data Consistencybackendcache
0 likes · 12 min read
Understanding Cache: Concepts, Types, and Best Practices
Top Architect
Top Architect
Nov 18, 2020 · Backend Development

A Comprehensive Guide to Google Guava: Collections, Functional Utilities, and Caching in Java

This article introduces the core features of Google Guava—including Joiner, Splitter, CharMatcher, primitive type helpers, Multiset, immutable collections, Multimap, BiMap, Table, functional utilities like Functions and Predicates, Optional, Preconditions, and a powerful local Cache—showcasing how they simplify Java development and improve code readability, safety, and performance.

CollectionsFunctional ProgrammingGuava
0 likes · 9 min read
A Comprehensive Guide to Google Guava: Collections, Functional Utilities, and Caching in Java
Top Architect
Top Architect
Nov 4, 2020 · Backend Development

Understanding Redis Cache Penetration, Breakdown, and Avalanche: Concepts and Solutions

This article explains the three major Redis cache problems—cache penetration, cache breakdown, and cache avalanche—describes why they occur, and provides practical mitigation techniques such as cache‑null objects, Bloom filters, locking, high‑availability, rate limiting, data pre‑warming, and staggered expiration.

Bloom filterCache AvalancheCache Breakdown
0 likes · 12 min read
Understanding Redis Cache Penetration, Breakdown, and Avalanche: Concepts and Solutions
php Courses
php Courses
Nov 3, 2020 · Backend Development

Laravel-Quick: A Utility Package for Efficient Backend Development

Laravel-Quick is an open‑source Laravel package that provides translated validation messages, standardized HTTP status responses, exception handling, Redis‑based cache helpers, and artisan generators, with installation and usage instructions for backend developers.

ExceptionPHPUtility
0 likes · 2 min read
Laravel-Quick: A Utility Package for Efficient Backend Development
php Courses
php Courses
Nov 2, 2020 · Backend Development

Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP

This guide demonstrates how to set up a Redis multi-database singleton wrapper in a ThinkPHP project, covering prerequisite installation, configuration of connection parameters, creation of a custom Redis class with static instance management, and example usage of Redis commands across different databases.

PHPRedisThinkPHP
0 likes · 3 min read
Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP
php Courses
php Courses
Nov 2, 2020 · Backend Development

Using Laravel's RedisLock to Prevent Cache Breakdown

This article explains the cache breakdown problem, introduces Laravel 7's built‑in RedisLock class, details its constructor parameters, and provides a complete code example demonstrating how to acquire and release a Redis lock to safely populate and update cached data.

LockPHPRedis
0 likes · 3 min read
Using Laravel's RedisLock to Prevent Cache Breakdown
Programmer DD
Programmer DD
Oct 23, 2020 · Databases

Mastering Redis Lua Scripting: Essential Syntax and Best Practices

This article explains how Redis introduced Lua scripting to combine multiple commands atomically, covers Lua basics, data types, control structures, script execution with EVAL/EVALSHA, script management commands, and practical tips for writing efficient, safe Redis Lua scripts.

DatabaseLuaRedis
0 likes · 14 min read
Mastering Redis Lua Scripting: Essential Syntax and Best Practices
Java Captain
Java Captain
Oct 16, 2020 · Backend Development

Understanding Redis Cache Issues: Penetration, Breakdown, and Avalanche

This article explains the three major Redis cache problems—cache penetration, cache breakdown, and cache avalanche—describes their causes, illustrates solutions such as empty-object caching, Bloom filters, locking, and provides practical code examples and mitigation strategies.

Bloom filterCache AvalancheCache Penetration
0 likes · 11 min read
Understanding Redis Cache Issues: Penetration, Breakdown, and Avalanche
Java Architect Essentials
Java Architect Essentials
Oct 2, 2020 · Backend Development

Handling Cache Penetration, Breakdown, and Avalanche in Backend Systems

This article explains the three major cache issues—penetration, breakdown, and avalanche—describes why they occur in high‑traffic systems, and presents four practical mitigation strategies including Bloom filters, short‑lived empty caches, distributed mutex locks with Redis or Memcache, and resource isolation with Hystrix.

Cache BreakdownCache PenetrationRedis
0 likes · 9 min read
Handling Cache Penetration, Breakdown, and Avalanche in Backend Systems
Java Architecture Diary
Java Architecture Diary
Sep 27, 2020 · Backend Development

Boost Spring Boot Performance with Multi‑Level Caffeine‑Redis Cache

This article explains why a multi‑level cache combining JVM‑level Caffeine and distributed Redis is essential for modern Spring Boot applications, outlines design challenges, provides step‑by‑step integration instructions, and demonstrates performance gains with benchmark results and core implementation code.

RedisSpring Bootcache
0 likes · 6 min read
Boost Spring Boot Performance with Multi‑Level Caffeine‑Redis Cache
Java Architect Essentials
Java Architect Essentials
Sep 13, 2020 · Backend Development

Which Software Architecture Fits Your Project? 5 Patterns Compared

This article compares five common software architecture patterns—layered, event‑driven, microkernel‑plugin, microservices, and cache—detailing their structures, advantages, drawbacks, and ideal use cases, helping architects choose the most suitable design for new or existing applications.

Microservicescacheevent-driven
0 likes · 9 min read
Which Software Architecture Fits Your Project? 5 Patterns Compared
JavaEdge
JavaEdge
Sep 11, 2020 · Backend Development

How to Prevent Cache Avalanche, Penetration, and Stampede in Redis

The article explains three common Redis cache problems—avalanche, penetration, and stampede—detailing their causes, impacts on system stability, and practical mitigation techniques such as random expiration, Bloom filters, mutex locks, and rate limiting, accompanied by code examples.

avalanchebackendcache
0 likes · 7 min read
How to Prevent Cache Avalanche, Penetration, and Stampede in Redis
Selected Java Interview Questions
Selected Java Interview Questions
Sep 8, 2020 · Databases

Database Cache Consistency Strategies: Using Redis as a MySQL Cache

This article explains the concept of caching, why database caching with Redis is needed for MySQL, the consistency challenges it introduces, and compares four practical solutions—TTL, write‑through, message‑queue, and binlog replication—offering guidance on selecting the appropriate approach for different latency and reliability requirements.

DatabaseMySQLRedis
0 likes · 8 min read
Database Cache Consistency Strategies: Using Redis as a MySQL Cache
Selected Java Interview Questions
Selected Java Interview Questions
Sep 6, 2020 · Backend Development

Redis Interview Questions and High‑Availability Distributed System Overview

This article compiles common Redis interview questions, compares Redis with Memcached, explains eviction policies, and provides a concise introduction to distributed systems, high‑availability architectures, master‑slave replication, synchronization methods, and Redis‑based distributed lock solutions.

High AvailabilityInterviewRedis
0 likes · 12 min read
Redis Interview Questions and High‑Availability Distributed System Overview
Top Architect
Top Architect
Aug 30, 2020 · Backend Development

Using Spring Cache with Redis for Efficient Data Caching in Java Applications

This article explains how to accelerate service response by integrating Redis as a key‑value cache with Spring Cache, covering the three‑step implementation, required Maven dependencies, XML configuration, property settings, a custom Cache implementation class, and common Spring Cache annotations.

AOPSpringSpringCache
0 likes · 12 min read
Using Spring Cache with Redis for Efficient Data Caching in Java Applications
Architecture Digest
Architecture Digest
Aug 24, 2020 · Backend Development

Cache Consistency Strategies: Cache Aside Pattern, Deleting vs Updating Cache, and Queue‑Based Solutions for High Concurrency

This article explains the cache‑aside pattern, why deleting cache entries is often preferable to updating them, outlines basic and complex cache‑database inconsistency scenarios, and presents a queue‑driven approach with practical considerations for maintaining data consistency in high‑concurrency backend systems.

Cache AsideQueuecache
0 likes · 10 min read
Cache Consistency Strategies: Cache Aside Pattern, Deleting vs Updating Cache, and Queue‑Based Solutions for High Concurrency
21CTO
21CTO
Aug 15, 2020 · Databases

Designing Scalable Like/Comment Systems: MySQL vs Redis Strategies

This article examines common requirements for like, comment, and collection features in apps, compares MySQL partition‑and‑cache designs with Redis storage and caching solutions, provides schema examples, query patterns, and discusses trade‑offs, scalability, and data consistency considerations.

MySQLcache
0 likes · 7 min read
Designing Scalable Like/Comment Systems: MySQL vs Redis Strategies
Liangxu Linux
Liangxu Linux
Aug 13, 2020 · Fundamentals

Unlock Linux Performance: Master Memory, Swap, and Cache Management

This guide explains Linux's memory architecture, how virtual memory (swap) works, and provides step‑by‑step commands to adjust swappiness, release page caches, and safely free swap space, helping you optimize system performance and avoid memory‑related issues.

BuffersLinuxcache
0 likes · 9 min read
Unlock Linux Performance: Master Memory, Swap, and Cache Management
58 Tech
58 Tech
Jul 31, 2020 · Mobile Development

Performance Optimization of React Native Pages in 58 App: Analysis and Solutions

This article analyzes the startup latency of React Native pages in the 58 real‑estate app, identifies bottlenecks such as bundle size, hot‑update and Java‑to‑JS bridge delays, and presents a series of optimization techniques—including bundle splitting, silent updates, on‑demand loading, and stepwise rendering—to achieve faster, more stable page launches.

AndroidBundle Splittingcache
0 likes · 16 min read
Performance Optimization of React Native Pages in 58 App: Analysis and Solutions
Ctrip Technology
Ctrip Technology
Jul 30, 2020 · Backend Development

Design and Implementation of a Distributed Ticket Order Cache System at Ctrip

This article describes how Ctrip's ticket order post‑service team identified scaling bottlenecks, selected Redis, designed a two‑level cache architecture, implemented active and passive caching strategies, tackled consistency and failure issues, and applied various optimizations to achieve over 90% cache hit rate and dramatically reduce database load.

CtripRediscache
0 likes · 14 min read
Design and Implementation of a Distributed Ticket Order Cache System at Ctrip
Laravel Tech Community
Laravel Tech Community
Jul 15, 2020 · Databases

Comprehensive Redis Interview Questions and Answers

This article provides a comprehensive overview of Redis, covering its definition, advantages over memcached, supported data types, memory consumption, eviction policies, clustering options, persistence mechanisms, distributed lock implementations, cache penetration and avalanche solutions, and best-use scenarios compared to other caching systems.

ClusteringPersistenceRedis
0 likes · 26 min read
Comprehensive Redis Interview Questions and Answers
Programmer DD
Programmer DD
Jul 15, 2020 · Backend Development

Why Caffeine Outperforms Guava: Deep Dive into Java Caching, Benchmarks & Migration

This article explains Caffeine's high‑performance local cache features, presents JMH benchmark results that show it beating Guava, ConcurrentMap and ehcache, details its expiration, refresh and eviction mechanisms, compares memory usage and eviction algorithms, and provides migration code for Guava users.

CaffeineGuavabenchmark
0 likes · 13 min read
Why Caffeine Outperforms Guava: Deep Dive into Java Caching, Benchmarks & Migration
Programmer DD
Programmer DD
Jul 9, 2020 · Cloud Computing

Boost Web Performance with CDN: Basics, How It Works, and Best Practices

This article explains how Content Delivery Networks (CDNs) dramatically reduce page load times by caching static resources near users, outlines the step‑by‑step request flow, discusses cache strategies, and highlights both the advantages and limitations of CDN adoption.

CDNCloud ComputingContent Delivery Network
0 likes · 9 min read
Boost Web Performance with CDN: Basics, How It Works, and Best Practices
Java Backend Technology
Java Backend Technology
Jul 9, 2020 · Backend Development

How to Solve Distributed Cache Consistency Issues with Lazy Updates

This article explains the Cache Aside pattern, why deleting stale cache entries is often better than updating them, and presents a queue‑based lazy‑update solution that handles simple and complex consistency problems in high‑concurrency environments while outlining practical performance considerations.

Cache Asidebackendcache
0 likes · 11 min read
How to Solve Distributed Cache Consistency Issues with Lazy Updates
JD Retail Technology
JD Retail Technology
Jul 8, 2020 · Backend Development

How to Prevent Cache Penetration and Cache Breakdown: Proven Strategies and Trade‑offs

This article explains why cache penetration and cache breakdown occur in high‑traffic systems and presents practical solutions such as null caching, Bloom filters, mutex locks, and asynchronous cache rebuilding, while discussing their advantages, limitations, and appropriate usage scenarios.

Bloom filterCache BreakdownCache Penetration
0 likes · 10 min read
How to Prevent Cache Penetration and Cache Breakdown: Proven Strategies and Trade‑offs
Open Source Tech Hub
Open Source Tech Hub
Jun 25, 2020 · Backend Development

Mastering Redis: Core Data Structures and Practical Commands Explained

This comprehensive guide explores Redis fundamentals, detailing its six primary data structures—strings, lists, hashes, sets, sorted sets, and streams—along with practical command examples, internal implementations, and usage patterns for high‑performance backend development.

Data StructuresMessage QueueRedis
0 likes · 17 min read
Mastering Redis: Core Data Structures and Practical Commands Explained
Tencent Cloud Developer
Tencent Cloud Developer
Jun 17, 2020 · Databases

Understanding Cache Challenges and Solutions with Tencent Cloud Redis Hybrid Storage

The article outlines common cache challenges—consistency, breakdown, and avalanche—explains traditional three‑tier architectures, then details Tencent Cloud Redis Hybrid Storage’s unified interface, automatic hot‑data caching, dynamic TTL, atomic updates, and cost‑effective persistence, offering a scalable, reliable cache‑plus‑storage solution.

DatabaseHybrid storageTencent Cloud
0 likes · 27 min read
Understanding Cache Challenges and Solutions with Tencent Cloud Redis Hybrid Storage
Top Architect
Top Architect
Jun 8, 2020 · Databases

Best Practices and Development Guidelines for Using Alibaba Cloud Redis

This article outlines comprehensive development guidelines for Alibaba Cloud Redis, covering key naming conventions, value design, command best practices, client usage patterns, related tools, and detailed code examples for safely deleting large keys across various data structures.

Alibaba CloudKey DesignRedis
0 likes · 12 min read
Best Practices and Development Guidelines for Using Alibaba Cloud Redis
DevOps Cloud Academy
DevOps Cloud Academy
May 12, 2020 · Operations

Understanding GitLab CI Cache Configuration and Best Practices

This article explains GitLab CI cache configuration, including cache paths, keys, policies, and examples of global and job-specific caching, demonstrates pipeline execution and runner cache behavior, and provides best‑practice conclusions for effective CI/CD caching.

AutomationCI/CDDevOps
0 likes · 9 min read
Understanding GitLab CI Cache Configuration and Best Practices
Liangxu Linux
Liangxu Linux
May 3, 2020 · Fundamentals

Why Modern Operating Systems Need Virtual Memory: A Deep Dive

This article explains the necessity of virtual memory in modern operating systems, covering its role as an abstraction layer, caching benefits, memory protection, multi‑level page tables, process isolation, and how these mechanisms improve performance, security, and resource utilization.

Operating Systemscachepage-tables
0 likes · 13 min read
Why Modern Operating Systems Need Virtual Memory: A Deep Dive
Programmer DD
Programmer DD
Apr 30, 2020 · Fundamentals

Unlocking CPU Secrets: How Processors Execute, Cache, and Multithread

This article explains the core components and operation of a CPU, covering the fetch‑decode‑execute cycle, instruction sets, registers, pipeline and superscalar designs, multi‑core and hyper‑threading concepts, and the hierarchy of caches from registers to L3, providing a comprehensive fundamentals overview.

CPUPipeliningcache
0 likes · 14 min read
Unlocking CPU Secrets: How Processors Execute, Cache, and Multithread
Efficient Ops
Efficient Ops
Apr 28, 2020 · Databases

Master Redis: Core Concepts, Commands, and Data Types Explained

This article introduces Redis as an open‑source in‑memory data‑structure store, explains its role as a NoSQL database, covers fundamental data types, common commands, expiration handling, and advanced features like pipelines and transactions, providing a comprehensive guide for developers.

Data StructuresIn-Memory DatabaseNoSQL
0 likes · 15 min read
Master Redis: Core Concepts, Commands, and Data Types Explained
Laravel Tech Community
Laravel Tech Community
Apr 23, 2020 · Backend Development

Laravel Cache Cheat Sheet: Quick Reference for Common Operations

This article provides a concise cheat sheet for Laravel's Cache system, detailing facade methods, helper functions, tagging, sections, store selection, and related events with ready-to-use code snippets, while noting version‑specific nuances such as the cache duration unit change in Laravel 5.8.

CacheFacadeLaravel5.8PHP
0 likes · 4 min read
Laravel Cache Cheat Sheet: Quick Reference for Common Operations
Big Data Technology Architecture
Big Data Technology Architecture
Apr 17, 2020 · Databases

Improving HBase Cluster Performance: Cache Optimization, GC Tuning, and Multiget Concurrency

This article details a series of practical enhancements applied to an HBase 1.2.4‑based cluster—including layered BucketCache, data pre‑heating, GC‑friendly object pooling, and a multiget concurrency model—that together raise throughput several‑fold and consistently keep P99 latency below 50 ms in YCSB benchmarks.

GC optimizationHBasebenchmark
0 likes · 14 min read
Improving HBase Cluster Performance: Cache Optimization, GC Tuning, and Multiget Concurrency
Xianyu Technology
Xianyu Technology
Apr 7, 2020 · Mobile Development

Optimizing Image Loading in Flutter for Xianyu: Native Mode, CDN, and External Texture

Xianyu’s Flutter image pipeline was overhauled by using native ImageCache limits, a disk‑cache bridge, CDN‑driven resizing and WebP compression, precaching, ListView cacheExtent tuning, multi‑page texture recycling, and an external texture bridge, achieving substantial memory savings, reduced OOM risk, and a smaller app bundle.

External Texturecacheflutter
0 likes · 15 min read
Optimizing Image Loading in Flutter for Xianyu: Native Mode, CDN, and External Texture
dbaplus Community
dbaplus Community
Mar 30, 2020 · Fundamentals

Why Cache Memory Matters: From Code Layout to Multi‑Level Caches

This article explains why cache memory is essential for modern CPUs, how different loop orders affect cache hits, the structure of direct‑mapped, set‑associative and fully‑associative caches, multi‑level cache hierarchies, and the policies that govern cache allocation and updates.

CPU performanceSet AssociativeWrite-Back
0 likes · 21 min read
Why Cache Memory Matters: From Code Layout to Multi‑Level Caches
Programmer DD
Programmer DD
Mar 17, 2020 · Backend Development

How to Keep Cache and Database Consistent Under High Concurrency?

This article explains the cache‑aside pattern, why deleting stale cache entries is preferred over updating them, outlines basic and complex cache‑database inconsistency scenarios, and presents a queue‑based solution with practical considerations for read‑blocking, request routing, and hotspot handling in high‑traffic systems.

cacheconsistencyhigh concurrency
0 likes · 11 min read
How to Keep Cache and Database Consistent Under High Concurrency?
Big Data Technology Architecture
Big Data Technology Architecture
Mar 4, 2020 · Databases

HBase Memory‑Related Performance Tuning Guide

This article explains how to optimize HBase performance by properly configuring JVM memory, selecting suitable garbage‑collection strategies, enabling MSLAB and BucketCache, and adjusting read/write cache ratios to reduce fragmentation and improve throughput.

Garbage CollectionHBaseJVM
0 likes · 8 min read
HBase Memory‑Related Performance Tuning Guide
FunTester
FunTester
Jan 25, 2020 · Backend Development

Why Redis Cached Data Lost Fields After Async‑to‑Sync Conversion

During a performance test a query API failed on the second request because the Redis cache was written before asynchronous tasks finished, causing missing fields; the article explains the root cause, shows the original and fixed code, and details the debugging process.

DebuggingRedisasync
0 likes · 5 min read
Why Redis Cached Data Lost Fields After Async‑to‑Sync Conversion
Laravel Tech Community
Laravel Tech Community
Jan 3, 2020 · Backend Development

Laravel Session Management: Configuration, Drivers, and Usage

This guide explains how Laravel handles session storage across HTTP requests, covering configuration files, built‑in drivers such as file, cookie, database, Memcached and Redis, custom driver creation, and common session operations like retrieving, storing, flashing, and regenerating IDs, with code examples throughout.

DatabasePHPWeb Development
0 likes · 12 min read
Laravel Session Management: Configuration, Drivers, and Usage
Architects' Tech Alliance
Architects' Tech Alliance
Jan 1, 2020 · Fundamentals

Understanding CPU Execution, Architecture, and Multicore/Multithreading

This article explains how a CPU executes programs through the fetch‑decode‑execute cycle, describes instruction sets, registers, pipelines, superscalar and multithreaded designs, and details the cache hierarchy from registers to L3, providing a comprehensive overview of modern processor fundamentals.

CPUInstruction Setarchitecture
0 likes · 11 min read
Understanding CPU Execution, Architecture, and Multicore/Multithreading
ITPUB
ITPUB
Dec 24, 2019 · Databases

Why Does Redis Have 16 Databases by Default? Origins and Best Practices

Redis creates 16 logical databases by default, a design inherited from its early architecture; this article explains the origin of that number, how to modify it via configuration, the proper way to view these databases as namespaces, and the limitations when using Redis in cluster mode.

ClusterDatabasesRedis
0 likes · 6 min read
Why Does Redis Have 16 Databases by Default? Origins and Best Practices
Java Captain
Java Captain
Dec 14, 2019 · Backend Development

Key Considerations and Implementation Strategies for a Local Cache in Java

This article outlines the essential design points for a local Java cache—including data structures, size limits, eviction policies, expiration handling, thread safety, blocking mechanisms, simple APIs, and persistence options—while providing concrete code examples and implementation guidance.

Persistencecacheconcurrency
0 likes · 12 min read
Key Considerations and Implementation Strategies for a Local Cache in Java
Programmer DD
Programmer DD
Dec 8, 2019 · Backend Development

Why Does Dubbo Keep Calling When Nacos Is Down? Uncovering the Cache Mechanism

This article analyzes a real‑world incident where Dubbo services continued to operate despite Nacos registry failures, explains the role of local provider caches, examines the namingLoadCacheAtStart configuration, and provides reproduction steps and best‑practice recommendations for high‑availability service discovery.

DubboHigh AvailabilityNacos
0 likes · 11 min read
Why Does Dubbo Keep Calling When Nacos Is Down? Uncovering the Cache Mechanism
Selected Java Interview Questions
Selected Java Interview Questions
Dec 7, 2019 · Backend Development

Understanding Redis Cache Avalanche, Penetration, and Breakdown: Causes and Mitigation Strategies

The article explains what Redis cache avalanche, penetration, and breakdown are, illustrates real‑world incidents, and provides pre‑, during‑, and post‑incident solutions such as high‑availability setups, local caches with rate limiting, fallback mechanisms, and placeholder writes to prevent database overload.

BreakdownRedisavalanche
0 likes · 8 min read
Understanding Redis Cache Avalanche, Penetration, and Breakdown: Causes and Mitigation Strategies
ITPUB
ITPUB
Nov 25, 2019 · Databases

Which Database Architecture Best Balances Availability, Performance, and Consistency?

This article examines four common database architecture patterns—primary‑standby, dual‑primary, master‑slave read/write separation, and a hybrid dual‑primary + master‑slave—evaluating each against high availability, performance, consistency, and scalability, and then presents practical consistency‑resolution techniques and cache strategies.

Database ArchitectureShardingcache
0 likes · 10 min read
Which Database Architecture Best Balances Availability, Performance, and Consistency?
Architect's Tech Stack
Architect's Tech Stack
Nov 23, 2019 · Databases

Redis Usage Guidelines and Operational Restrictions

This article provides comprehensive best‑practice guidelines for using Redis, covering data classification, key naming, size and connection limits, cache TTL, recommended client‑hash sharding, and a strict list of prohibited commands and operations to ensure performance, reliability, and maintainability.

OperationsRediscache
0 likes · 9 min read
Redis Usage Guidelines and Operational Restrictions
ITPUB
ITPUB
Nov 15, 2019 · Databases

How Oracle Uses Cache, Buffer, and Write‑Back to Keep Data Consistent

The article explains the differences between cache and buffer, how Oracle’s log buffer and data buffer cache interact with various storage‑level caches, and why write‑back, battery‑backed caches, RAID and disk cache settings are crucial for maintaining data consistency during power loss.

DatabaseOracleWrite-Ahead Logging
0 likes · 6 min read
How Oracle Uses Cache, Buffer, and Write‑Back to Keep Data Consistent
Liangxu Linux
Liangxu Linux
Nov 4, 2019 · Fundamentals

How CPUs Execute Programs: From Fetch‑Decode‑Execute to Multicore & Cache

This article explains the core principles of CPU operation, covering the fetch‑decode‑execute cycle, instruction sets, registers, pipeline and superscalar designs, multithreading and multicore behavior, as well as cache hierarchy from registers through L1‑L3, illustrating how these mechanisms affect program execution.

CPUInstruction Setarchitecture
0 likes · 14 min read
How CPUs Execute Programs: From Fetch‑Decode‑Execute to Multicore & Cache
Senior Brother's Insights
Senior Brother's Insights
Nov 4, 2019 · Fundamentals

Why Understanding Java Memory Model Boosts Your Code Efficiency

This article explains the hardware memory architecture, the role of caches, and how the Java Memory Model abstracts thread interaction with main and working memory, detailing the eight fundamental JMM operations, their ordering rules, and special considerations for long and double types to help developers write correct, high‑performance concurrent Java code.

JVMMemory ModelThread Safety
0 likes · 11 min read
Why Understanding Java Memory Model Boosts Your Code Efficiency
Selected Java Interview Questions
Selected Java Interview Questions
Nov 4, 2019 · Databases

Redis Expiration Strategies and Memory Eviction Mechanisms

This article explains how Redis removes expired keys using periodic and lazy deletion, describes the slave expiration handling, details the asynchronous memory reclamation commands like UNLINK and FLUSHALL ASYNC, and outlines the various maxmemory eviction policies including LRU, LFU, and their implementations.

LFULRULazy Free
0 likes · 13 min read
Redis Expiration Strategies and Memory Eviction Mechanisms
Big Data Technology & Architecture
Big Data Technology & Architecture
Oct 14, 2019 · Big Data

Optimizing Spark PageRank: Cache, Checkpoint, Data Skew, and Resource Utilization

This article presents a comprehensive analysis of Spark PageRank performance, detailing the algorithm's basics, the original example code, and four key optimizations—caching with checkpointing, memory‑efficient data structures, handling data skew, and maximizing executor and driver resource usage—backed by experimental results and practical recommendations.

Big DataCheckpointData Skew
0 likes · 18 min read
Optimizing Spark PageRank: Cache, Checkpoint, Data Skew, and Resource Utilization
FunTester
FunTester
Sep 29, 2019 · Backend Development

Force a Page Refresh in Selenium to Prevent Cache‑Induced Slowdowns

When repeatedly performing Selenium actions causes the page to refresh slowly and occasional save errors, a custom forced‑refresh method using Ctrl+F5 and low‑level key events can reliably clear the cache and keep the automation stable.

cachepage refreshrobot
0 likes · 3 min read
Force a Page Refresh in Selenium to Prevent Cache‑Induced Slowdowns
vivo Internet Technology
vivo Internet Technology
Sep 25, 2019 · Mobile Development

Analysis of Glide Image Loading Cache Mechanisms on Android

The article dissects Glide’s five‑level caching system—active resources, memory cache, resource and data disk caches, and network cache—explaining how active weak references feed the LRU memory cache, how DiskCacheStrategy governs transformed and raw data storage, and how I/O and network tasks run on separate executors while network responses are cached before delivery.

AndroidDisk CacheGlide
0 likes · 21 min read
Analysis of Glide Image Loading Cache Mechanisms on Android
MaGe Linux Operations
MaGe Linux Operations
Sep 7, 2019 · Fundamentals

How Linux Manages Memory: From Process Allocation to OOM and Cache

This article explores Linux kernel memory management, detailing process address space allocation, the behavior of the OOM killer, various memory mapping types (shared, private, anonymous), cache usage, manual and automatic memory reclamation, and related kernel parameters, providing practical insights and examples.

Memory ManagementOOMcache
0 likes · 20 min read
How Linux Manages Memory: From Process Allocation to OOM and Cache
Programmer DD
Programmer DD
Aug 24, 2019 · Backend Development

How to Solve Cache‑Database Consistency Issues in High‑Concurrency Systems

This article examines common cache‑database consistency problems, explains why naive double‑write approaches fail, introduces the Cache‑Aside pattern, and proposes a queue‑based serialization solution with lazy cache updates to maintain data integrity under high‑traffic, concurrent read‑write workloads.

Queuebackendcache
0 likes · 12 min read
How to Solve Cache‑Database Consistency Issues in High‑Concurrency Systems
Ctrip Technology
Ctrip Technology
Aug 14, 2019 · Backend Development

Full-Link Mocking: Technical Background, Implementation Details, and Open Issues

The article introduces the concept of full‑link mocking for complex, multi‑dependency applications, explains its technical background, describes the implementation architecture and performance considerations, and discusses practical challenges such as duplicate calls, cache consistency, and HTTP 302 forwarding.

MockingSystem Designbackend
0 likes · 9 min read
Full-Link Mocking: Technical Background, Implementation Details, and Open Issues
ITPUB
ITPUB
Jul 11, 2019 · Backend Development

How to Prevent Redis Cache Avalanche and Penetration Failures

The article explains what cache avalanche and cache penetration are in Redis, why they can crash databases, and provides practical strategies—including random expiration, high‑availability setups, local caches, rate limiting, Bloom filters, and empty‑object caching—to mitigate these issues and maintain cache‑database consistency.

Cache AvalancheCache PenetrationRedis
0 likes · 6 min read
How to Prevent Redis Cache Avalanche and Penetration Failures
HomeTech
HomeTech
Jul 10, 2019 · Frontend Development

Implementing Native‑App‑Like Page Transitions in a Vue.js Single‑Page Application

This article explains how to achieve native‑app‑style page transition effects in a Vue.js SPA by using the vue‑navigation component to listen to router events, applying absolute positioning, managing a custom page cache, recording scroll positions, optimizing animation performance, and handling inter‑page communication with an EventBus.

EventBusNavigationSPA
0 likes · 11 min read
Implementing Native‑App‑Like Page Transitions in a Vue.js Single‑Page Application
ITPUB
ITPUB
May 27, 2019 · Databases

Mastering Redis Data Types: Practical Tips and Real-World Use Cases

This article introduces Redis as an open‑source in‑memory store, outlines its core data structures—strings, hashes, lists, sets, sorted sets, bitmaps, hyperloglogs, and geospatial indexes—and provides concrete command examples, application scenarios, and best‑practice guidelines for effective usage.

Data StructuresHashRedis
0 likes · 7 min read
Mastering Redis Data Types: Practical Tips and Real-World Use Cases
Java Backend Technology
Java Backend Technology
May 26, 2019 · Backend Development

How to Prevent Hot‑Key Crashes in Cache Clusters with Real‑Time Streaming

This article explains why cache clusters are essential, describes the problems caused by hot keys and large values, and presents a multi‑layer solution using streaming analytics, automatic hotspot detection, local JVM caching, and rate‑limiting to keep backend systems stable under massive traffic spikes.

Backend ArchitectureHot KeyLoad Balancing
0 likes · 10 min read
How to Prevent Hot‑Key Crashes in Cache Clusters with Real‑Time Streaming
Programmer DD
Programmer DD
May 15, 2019 · Backend Development

Why MyBatis Runs Extra SQLs and How to Tune Its Cache

This article explains why MyBatis may execute unexpected additional SQL statements, reveals the default caching behavior, shows the required XML configuration and Serializable implementation, and offers practical steps to prevent cache clearing on inserts for more efficient backend data access.

MyBatisORMSQL
0 likes · 3 min read
Why MyBatis Runs Extra SQLs and How to Tune Its Cache
macrozheng
macrozheng
May 10, 2019 · Backend Development

How to Integrate Redis for SMS Verification in a Spring Boot Mall Project

This guide walks you through installing Redis, adding Maven dependencies, configuring Spring Boot, creating a Redis service interface and implementation, and building controller endpoints to generate and verify SMS verification codes, complete with code examples and deployment instructions.

Backend IntegrationRedisSMS verification
0 likes · 10 min read
How to Integrate Redis for SMS Verification in a Spring Boot Mall Project
Java Captain
Java Captain
Apr 27, 2019 · Databases

Redis Key Design, Command Usage, and Client Best Practices

This guide presents comprehensive best‑practice recommendations for designing Redis keys, choosing appropriate data types, managing key lifecycles, safely using commands, optimizing client connections, handling big keys, and selecting eviction policies to ensure high performance and reliability in production environments.

DatabaseKey DesignRedis
0 likes · 12 min read
Redis Key Design, Command Usage, and Client Best Practices
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Mar 6, 2019 · Frontend Development

Boost Your Web App with PWA: From Service Workers to First‑Load Optimization

This article explains what a Progressive Web App (PWA) is, how Service Workers enable caching of static, dynamic, and HTML resources, and provides practical techniques such as precaching, offline‑package replacement, update strategies, and a webpack plugin to streamline integration for faster first‑screen loads.

Frontend PerformancePWAService Worker
0 likes · 12 min read
Boost Your Web App with PWA: From Service Workers to First‑Load Optimization
HomeTech
HomeTech
Jan 18, 2019 · Big Data

Data Mill: A Real‑Time Spark Streaming Framework for DSP Business Support

Data Mill is a Spark‑Streaming‑based real‑time computation framework that abstracts tasks as DataFrames, enables SQL‑driven development, and supports DSP business requirements by reducing latency to 15‑30 minutes while providing a scalable architecture, caching strategy, and automated fault handling.

DSPData PipelineReal-Time Computing
0 likes · 10 min read
Data Mill: A Real‑Time Spark Streaming Framework for DSP Business Support
JD Tech
JD Tech
Jan 15, 2019 · Backend Development

Performance, Storage, Index, and Cache Design of JD's JMQ4 Message Middleware

The article presents JD's self‑developed JMQ middleware, detailing its 2018 performance improvements, comparative benchmarks with Kafka, storage and index architecture evolution from JMQ2 to JMQ4, and the high‑performance I/O and caching strategies that enable millions of TPS on modern hardware.

JMQcachestorage design
0 likes · 12 min read
Performance, Storage, Index, and Cache Design of JD's JMQ4 Message Middleware
Programmer DD
Programmer DD
Dec 12, 2018 · Databases

Essential Redis Health Metrics Every Engineer Should Monitor

This guide explains how to monitor critical Redis health indicators—including ping response, client connections, blocked clients, memory usage, fragmentation, cache hit rate, OPS, persistence status, expired keys, and slow logs—to ensure optimal performance and prevent failures.

MemoryMonitoringPersistence
0 likes · 7 min read
Essential Redis Health Metrics Every Engineer Should Monitor
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 5, 2018 · Backend Development

Cache Breakdown (Cache Penetration) and Mitigation Strategies: Mutex Lock, Asynchronous Cache, and Bloom Filter

This article explains the concept of cache breakdown, illustrates why malicious requests can bypass caches and overload databases, and presents three practical mitigation techniques—using a Redis SETNX‑based mutex lock, asynchronous cache rebuilding, and a Bloom filter—along with their advantages, drawbacks, and performance testing results.

Bloom filterCache BreakdownMutex Lock
0 likes · 7 min read
Cache Breakdown (Cache Penetration) and Mitigation Strategies: Mutex Lock, Asynchronous Cache, and Bloom Filter
Youzan Coder
Youzan Coder
Nov 23, 2018 · Cloud Computing

Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache in Youzan PaaS

Youzan’s Transparent Multilevel Cache (TMC) adds automatic hotspot detection and a 64 MB local cache to existing distributed caches via a Hermes‑SDK‑augmented Jedis client, delivering transparent Java integration, strong consistency, up to 80 % local‑hit rates, and improved QPS during high‑traffic events.

PaaScachedistributed systems
0 likes · 15 min read
Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache in Youzan PaaS
Architect's Tech Stack
Architect's Tech Stack
Oct 23, 2018 · Databases

Redis Overview: Features, Data Types, Persistence, Clustering, and Common Interview Questions

This article provides a comprehensive introduction to Redis, covering its core concepts, advantages, data structures, persistence mechanisms, eviction policies, clustering, common usage scenarios, and typical interview questions for developers working with this high‑performance in‑memory key‑value store.

ClusteringIn-Memory DatabasePersistence
0 likes · 24 min read
Redis Overview: Features, Data Types, Persistence, Clustering, and Common Interview Questions
MaGe Linux Operations
MaGe Linux Operations
Sep 7, 2018 · Operations

Why Linux ‘Ate My RAM’: Understanding free, buffers, and cache

Linux appears to consume most of a system’s RAM, but the free command’s output, including buffers and cache, actually reflects memory used for performance optimization; this article explains the distinction, how to interpret free’s columns, and demonstrates the impact with a 1 GB file read experiment.

BuffersLinuxMemory Management
0 likes · 7 min read
Why Linux ‘Ate My RAM’: Understanding free, buffers, and cache