Skip to content
Tagged articles

caching

500 articles · Page 1 of 5
Java Captain
Java Captain
Nov 19, 2026 · Industry Insights

Why MongoDB Struggles in China: Stuck Between Caching, OLTP, and OLAP

The article argues MongoDB's positioning is awkward: early versions lacked persistence and competed with Redis, but Redis now dominates caching with alternatives like TiKV and Hazelcast; MongoDB's JSON advantage is eroded by PostgreSQL and Redis ReJSON; for OLTP it cannot match MySQL-compatible distributed databases like TiDB; for OLAP it is outclassed by modern lakehouse engines such as ClickHouse and Doris.

ClickHouseMongoDBOLTP
0 likes · 5 min read
Why MongoDB Struggles in China: Stuck Between Caching, OLTP, and OLAP
Architecture Pony
Architecture Pony
Oct 29, 2026 · Backend Development

Spring Boot Caching: From @Cacheable to Multi-Level Consistency Defense

This comprehensive guide explores Spring Boot's caching abstraction, detailing @Cacheable execution flow, source code internals, four consistency strategies (Cache Aside, delayed double-delete, binlog), multi-level Caffeine+Redis architecture, and eight production pitfalls with troubleshooting techniques.

@CacheableCache AsideCache Consistency
0 likes · 33 min read
Spring Boot Caching: From @Cacheable to Multi-Level Consistency Defense
IoT Full-Stack Technology
IoT Full-Stack Technology
Oct 25, 2026 · Backend Development

Implementing Redis Cache Preheating in Spring Boot: A Practical Guide

This article explains cache preheating concepts and demonstrates a complete Spring Boot implementation using an abstract cache class, ApplicationContext utility, CommandLineRunner for startup loading, and a concrete NewsCache example with RedisTemplate to load hot data at startup, reducing cache penetration and database load.

ApplicationContextAwareCache PreheatingCommandLineRunner
0 likes · 6 min read
Implementing Redis Cache Preheating in Spring Boot: A Practical Guide
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Oct 22, 2026 · Databases

MySQL High-Concurrency Optimization: From Diagnosis to Sharding with Seckill Case Study

A layered MySQL optimization guide for high-concurrency scenarios covering bottleneck diagnosis, SQL/index tuning, transaction/lock optimization, a three-layer seckill inventory implementation (Redis Lua, MQ async, sharded buckets), caching patterns, read-write separation, connection pooling, InnoDB tuning, and sharding trade-offs, with real production metrics showing P99 latency dropping from 1.2s to 85ms.

Connection PoolInnoDBPerformance Optimization
0 likes · 64 min read
MySQL High-Concurrency Optimization: From Diagnosis to Sharding with Seckill Case Study
Architect's Guide
Architect's Guide
Oct 21, 2026 · Backend Development

High-Performance Local Cache Solutions Compared: Guava, Caffeine, Ehcache & ConcurrentHashMap

This article compares four Java local caching solutions — ConcurrentHashMap, Guava Cache, Caffeine, and Ehcache — detailing their features, performance characteristics, and code examples, while addressing cache consistency challenges in two-level cache architectures using MQ or Canal for synchronization.

Cache ConsistencyCaffeineEhcache
0 likes · 11 min read
High-Performance Local Cache Solutions Compared: Guava, Caffeine, Ehcache & ConcurrentHashMap
Architect's Guide
Architect's Guide
Oct 21, 2026 · Backend Development

Redis Pagination & Multi-Condition Fuzzy Search: A Combined Approach

This article explains how to implement pagination using Redis Sorted Sets (ZSet) and multi-condition fuzzy queries using Hash with HSCAN, then combines both by caching filtered results in pattern-keyed ZSets for efficient paginated retrieval, including TTL-based expiration and data freshness strategies.

HSCANHashPagination
0 likes · 11 min read
Redis Pagination & Multi-Condition Fuzzy Search: A Combined Approach
SpringMeng
SpringMeng
Oct 20, 2026 · Backend Development

Google Guava Deep Dive: Fluent Strings, Immutable Collections, and Local Caching

This article explores Google Guava's core utilities for Java developers, demonstrating how Joiner, Splitter, and CharMatcher simplify string handling, how Immutable collections provide true immutability versus JDK's unmodifiable views, and how Multimap, BiMap, and Table solve common collection gaps. It also covers primitive utilities, functional transforms with Functions and Predicate, null-safety via Preconditions and Optional, a self-maintaining local Cache, and ListenableFuture for cleaner async callbacks.

Google GuavaImmutableJava
0 likes · 11 min read
Google Guava Deep Dive: Fluent Strings, Immutable Collections, and Local Caching
21CTO
21CTO
Oct 19, 2026 · Backend Development

9 Proven Techniques to Solve Laravel Production Performance Problems

This article outlines nine practical methods for diagnosing and resolving Laravel performance issues in production, covering request measurement, N+1 query elimination, query plan optimization, memory-efficient data processing, strategic caching, queue offloading, external API timeouts, framework bootstrapping optimizations, and log/payload reduction, with code examples and a step-by-step diagnostic checklist.

Database IndexingLaravelN+1 Queries
0 likes · 16 min read
9 Proven Techniques to Solve Laravel Production Performance Problems
Architecture Pony
Architecture Pony
Oct 15, 2026 · Backend Development

MyBatis Deep Dive: Architecture, Source Code & Best Practices

A comprehensive 14k-word technical deep-dive into MyBatis covering its semi-automatic ORM design, four core components (Executor, StatementHandler, ParameterHandler, ResultSetHandler), dynamic SQL parsing via SqlNode trees, two-level caching, plugin mechanism, Spring integration, and source-code-level analysis of 11 key classes with practical best practices and common pitfalls.

Dynamic SQLJava PersistenceMyBatis
0 likes · 36 min read
MyBatis Deep Dive: Architecture, Source Code & Best Practices
JD Retail Technology
JD Retail Technology
Oct 15, 2026 · Artificial Intelligence

RA-CFGCache: Risk-Aligned Caching for CFG-Guided Diffusion Models

RA-CFGCache introduces a risk-aligned caching framework for classifier-free guided diffusion models that jointly models cross-branch error alignment and timestep-dependent error propagation, achieving superior efficiency-fidelity trade-offs on FLUX.1-dev, Wan2.1, and CogVideoX while remaining compatible with existing cache estimators.

Classifier-Free GuidanceGenerative AIModel Acceleration
0 likes · 19 min read
RA-CFGCache: Risk-Aligned Caching for CFG-Guided Diffusion Models
Mike Chen Rui
Mike Chen Rui
Oct 13, 2026 · Backend Development

Nginx Proxy Cache Internals: Key-Value Design, Configuration & Cache Locking Strategies

This article explains Nginx proxy caching as a local key-value file-system store, detailing its five-step request flow, configuration directives like proxy_cache_path and proxy_cache_lock, and techniques such as stale-cache serving and background updates to reduce backend load, cut latency, and improve availability during upstream failures.

NginxPerformance Optimizationbackend development
0 likes · 5 min read
Nginx Proxy Cache Internals: Key-Value Design, Configuration & Cache Locking Strategies
Mike Chen Rui
Mike Chen Rui
Oct 12, 2026 · Backend Development

Nginx Static-Dynamic Separation: Principles, Architecture & Practical Configuration

This article explains Nginx static-dynamic separation principles and architecture, showing how Nginx routes static files directly via root/alias while proxying dynamic requests to backend services, with complete configuration examples including caching headers and proxy settings that can reduce backend load by over 70%.

Backend ArchitectureCDNNginx
0 likes · 5 min read
Nginx Static-Dynamic Separation: Principles, Architecture & Practical Configuration
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Oct 7, 2026 · Backend Development

Mastering High-Concurrency Caching: Penetration, Breakdown, Avalanche & Hot Keys

This article explains four classic high-concurrency caching problems—cache penetration, breakdown, avalanche, and hot keys—their root causes, differences, and practical solutions including empty-value caching, Bloom filters, mutex locks, logical expiration, TTL jitter, multi-level caching, and cache-database consistency patterns.

Bloom filterCache AsideConsistency
0 likes · 12 min read
Mastering High-Concurrency Caching: Penetration, Breakdown, Avalanche & Hot Keys
Coder Trainee
Coder Trainee
Oct 6, 2026 · Artificial Intelligence

Production-Grade RAG Architecture: HA, Caching & Cost Control for AI Knowledge Bases

This article details a production-grade RAG architecture covering high availability design, multi-level caching strategies, asynchronous processing, cost optimization techniques, monitoring metrics, and a deployment checklist for moving AI knowledge bases from development to production environments.

AI knowledge baseHigh AvailabilityLLM
0 likes · 15 min read
Production-Grade RAG Architecture: HA, Caching & Cost Control for AI Knowledge Bases
Java Tech Workshop
Java Tech Workshop
Oct 3, 2026 · Backend Development

LRU Cache in 3 Lines: How LinkedHashMap Does the Heavy Lifting

This article demonstrates how to build a bounded LRU cache in three lines by extending LinkedHashMap with access-order enabled and overriding removeEldestEntry, detailing the internal doubly-linked list mechanics, thread-safety limitations, memory overhead, and when to migrate to Caffeine for advanced features like TTL and high concurrency.

CaffeineConcurrencyData Structures
0 likes · 22 min read
LRU Cache in 3 Lines: How LinkedHashMap Does the Heavy Lifting
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 21, 2026 · Backend Development

Why Your API Slows Down: 8 Critical Bottlenecks in Spring Boot Performance

This article analyzes eight common API performance bottlenecks in Spring Boot applications, including N+1 queries, improper entity returns, missing indexes, JOIN FETCH pagination issues, in-memory filtering, deep pagination, long transactions, and caching strategies, with code examples and optimization techniques for each.

API performanceDTO ProjectionDatabase Indexing
0 likes · 14 min read
Why Your API Slows Down: 8 Critical Bottlenecks in Spring Boot Performance
dbaplus Community
dbaplus Community
Sep 20, 2026 · Databases

SQLite: The Embedded Database That Replaces Solr, MongoDB, Kafka, and More

This article argues that SQLite, often dismissed as a toy database, can replace specialized systems like Elasticsearch, MongoDB, Kafka, ClickHouse, Redis, and even microservices due to its stability, zero-configuration deployment, built-in full-text search, JSON support, vector extensions, and local-first architecture, reducing operational complexity.

FTS5JSONMessage Queue
0 likes · 25 min read
SQLite: The Embedded Database That Replaces Solr, MongoDB, Kafka, and More
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Sep 10, 2026 · Backend Development

MyBatis Deep Dive: 8 High-Frequency Interview Questions from Core Principles to Source Code Analysis

This comprehensive guide covers MyBatis core architecture, #{} vs ${} SQL injection risks, first/second-level caching, plugin mechanism with PageHelper, MyBatis-Plus features, Hibernate/JPA comparison, and SqlSession thread-safety — all with source-code-level diagrams and interview answer templates.

InterceptorInterviewJava
0 likes · 43 min read
MyBatis Deep Dive: 8 High-Frequency Interview Questions from Core Principles to Source Code Analysis
Internet Backend Architecture Stack
Internet Backend Architecture Stack
Sep 3, 2026 · Backend Development

Nacos Config Center Deep Dive: Core Mechanisms, 4 Fatal Failure Postmortems & Production Standards

This article dissects Nacos configuration center's core mechanisms — long-connection push, local disk caching, and differentiated refresh behaviors — and postmortems four real production incidents: config drift causing instance divergence, large-config push triggering cluster avalanche, K8s IP-based gray release failure, and rollback ineffectiveness due to lost push events and cache pollution. It provides coding standards, enterprise-grade landing specifications, and emergency SOPs.

Distributed SystemsGray ReleaseLong Polling
0 likes · 15 min read
Nacos Config Center Deep Dive: Core Mechanisms, 4 Fatal Failure Postmortems & Production Standards
Java Architect Handbook
Java Architect Handbook
Sep 3, 2026 · Databases

Why ElasticSearch Is Blazing Fast: Inverted Indexes, FST, and Distributed Architecture Explained

This article breaks down ElasticSearch's performance advantages across three layers—data structures (inverted index, FST, compressed posting lists), storage (immutable segments, Doc Values), and architecture (shard parallelism, near-real-time writes, multi-level caching)—with concrete examples and interview-focused explanations.

ElasticsearchInterview questionsInverted Index
0 likes · 16 min read
Why ElasticSearch Is Blazing Fast: Inverted Indexes, FST, and Distributed Architecture Explained
IT Learning Made Simple
IT Learning Made Simple
Sep 1, 2026 · Fundamentals

Why LRU Evicts the Least Recently Used Page First

The article explains the LRU (Least Recently Used) page‑replacement algorithm, its basis in the locality principle, hit‑rate example, various exact and approximate implementations—including counter, stack, linked‑list, Clock, Aging and Working‑Set methods—its hardware requirements, pros and cons, and practical uses such as a Python cache and Redis eviction policies.

AlgorithmLRUMemory Management
0 likes · 10 min read
Why LRU Evicts the Least Recently Used Page First
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Aug 28, 2026 · Mobile Development

HarmonyOS Cold Start Optimization: 4-Step Pipeline from Icon Tap to Interactive

This article details a four-step HarmonyOS cold start optimization methodology: baseline measurement, deferred non-critical parsing, taskpool concurrency for heavy parsing, and skeleton screens with in-process caching to decouple first-frame and interactive metrics, validated via dual-track measurement on a sample 'Morning Brief' page.

ArkUICold StartHarmonyOS
0 likes · 36 min read
HarmonyOS Cold Start Optimization: 4-Step Pipeline from Icon Tap to Interactive
IoT Full-Stack Technology
IoT Full-Stack Technology
Aug 27, 2026 · Frontend Development

Why Frontend Deployment Is Harder Than You Think

The article walks through basic front‑end build and Nginx serving, then shows why production‑grade deployment needs CI/CD, Docker, hash‑based cache busting, careful static‑resource ordering, and Nginx‑driven gray releases to keep large‑scale sites stable and performant.

CI/CDGray ReleaseNginx
0 likes · 8 min read
Why Frontend Deployment Is Harder Than You Think
Architect's Guide
Architect's Guide
Aug 26, 2026 · Backend Development

10 Powerful Performance‑Optimization Techniques You Should Try

The article surveys ten practical performance‑optimization tactics—from classic indexing, compression, and caching to prefetching, peak‑shaving, batch processing, and advanced methods such as resource squeezing, horizontal scaling, sharding, and lock‑free designs—explaining their trade‑offs, concrete examples, and when to apply each in real‑world systems.

CompressionHorizontal ScalingIndexing
0 likes · 36 min read
10 Powerful Performance‑Optimization Techniques You Should Try
Cloud Architecture
Cloud Architecture
Aug 20, 2026 · Backend Development

How a JSON Schema Can Power Billions‑Daily Dynamic Forms: Enterprise‑Level Data Model Architecture

This article explains why dynamic forms are fundamentally a dynamic data‑model problem, outlines a complete enterprise‑grade architecture that compiles JSON Schema into a cached, versioned runtime, and details the end‑to‑end submission flow, multi‑tenant governance, indexing, projection, and observability needed to sustain billions of daily submissions.

Backend ArchitectureData ModelingJSON Schema
0 likes · 36 min read
How a JSON Schema Can Power Billions‑Daily Dynamic Forms: Enterprise‑Level Data Model Architecture
Node.js Tech Stack
Node.js Tech Stack
Aug 20, 2026 · Artificial Intelligence

How Pi + DeepSeek V4 Flash Reduces LLM Input Costs to a Few Dollars

The article analyzes how the Pi Node.js agent combined with DeepSeek V4 Flash achieves a 99.93% cache‑hit rate, turning nearly one billion input tokens into a $2.65 bill, explains the underlying cost logic, caching mechanics, and benchmark comparisons with other harnesses.

AgentBenchmarkDeepSeek
0 likes · 11 min read
How Pi + DeepSeek V4 Flash Reduces LLM Input Costs to a Few Dollars
DeepNoMind
DeepNoMind
Aug 15, 2026 · Interview Experience

Ace a System Design Interview in 6 Structured Steps

The article presents a repeatable 6‑step framework for system design interviews—clarifying requirements, defining success criteria, sketching high‑level architecture, designing the data layer, discussing scalability and reliability, and concluding with trade‑off summaries—complete with concrete examples, diagrams, and code snippets.

Data Modelingarchitecturecaching
0 likes · 14 min read
Ace a System Design Interview in 6 Structured Steps
Code Farming
Code Farming
Aug 14, 2026 · Backend Development

How Weibo Handles 100k QPS During Viral Peaks: Architectural Secrets

The article breaks down how Weibo’s backend was engineered to sustain 100,000 queries per second during traffic surges by first quantifying load, then using a push‑pull hybrid feed, a four‑tier cache funnel, and user‑ID sharding with write throttling.

backend designcachingfeed architecture
0 likes · 8 min read
How Weibo Handles 100k QPS During Viral Peaks: Architectural Secrets
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Aug 8, 2026 · Backend Development

Production API Overload: Emergency Response, Root Cause Analysis & Resilience Patterns

A comprehensive guide to handling production API overload covering emergency mitigation (rate limiting, degradation, circuit breaking), root cause diagnosis via monitoring and tracing, long-term optimizations (caching, async, DB tuning), with practical Java code for Sentinel, Caffeine+Redis, CompletableFuture, and Bloom filters, plus interview-ready troubleshooting frameworks.

Bloom filterCaffeineCompletableFuture
0 likes · 32 min read
Production API Overload: Emergency Response, Root Cause Analysis & Resilience Patterns
Xiaolin Talks Programming
Xiaolin Talks Programming
Aug 5, 2026 · Backend Development

Spring Boot + Caffeine: Multi-Level Cache Architecture, Consistency & Load Tests

This article details integrating Caffeine with Spring Boot 3.x for a three-tier L1/L2/DB cache architecture, covering Window TinyLFU internals, refreshAfterWrite vs expireAfterWrite, manual vs annotation-driven integration, read/write paths, message-driven invalidation with version stamps, load test results showing 48k QPS at 2ms P99, and production tuning for memory, GC, and hot-key protection.

CaffeineConsistencyJava
0 likes · 20 min read
Spring Boot + Caffeine: Multi-Level Cache Architecture, Consistency & Load Tests
Linyb Geek Road
Linyb Geek Road
Aug 1, 2026 · Artificial Intelligence

Practical Guide to Cutting LLM Token Costs

This article systematically explains how large‑language‑model token pricing works, identifies eight high‑consumption usage patterns, presents nine actionable optimization principles, and offers a tiered model‑selection framework so engineering teams can reduce token spend by up to 80% without sacrificing result quality.

LLMbatch processingcaching
0 likes · 22 min read
Practical Guide to Cutting LLM Token Costs
Code Farming
Code Farming
Jul 31, 2026 · Backend Development

How the Right API Gateway Can Halve Development Costs

By consolidating authentication, caching, and fault‑tolerance logic into a properly chosen API gateway, teams can eliminate duplicated SDK changes, cut backend QPS dramatically, and turn costly release windows into seamless upgrades, effectively reducing development effort by up to 50%.

API GatewayAuthenticationFault Tolerance
0 likes · 6 min read
How the Right API Gateway Can Halve Development Costs
CTO Full-Stack Academy
CTO Full-Stack Academy
Jul 30, 2026 · Operations

Common Cluster Issues and Practical Solutions for Apps, DBs, Caches, MQ, Files, and Search

The article enumerates typical problems encountered in application, database, cache, message‑queue, file‑server, and search clusters—such as session loss, uneven load, data inconsistency, and node failures—and provides concrete mitigation strategies like JWT authentication, distributed locks, health checks, NTP sync, and proper sharding.

ClusterHigh AvailabilityMessage Queue
0 likes · 58 min read
Common Cluster Issues and Practical Solutions for Apps, DBs, Caches, MQ, Files, and Search
Deepin Linux
Deepin Linux
Jul 25, 2026 · Fundamentals

Why System Calls Can Kill Performance and How to Cut Them

The article explains how frequent Linux system calls cause costly context switches, kernel checks, and cache/TLB invalidations, presents benchmark code that quantifies the overhead of getpid, open, read, and demonstrates batch I/O, caching, and algorithmic techniques to dramatically reduce those calls and boost high‑performance C++ network services.

Algorithm OptimizationI/O batchingLinux
0 likes · 28 min read
Why System Calls Can Kill Performance and How to Cut Them
liandk
liandk
Jul 24, 2026 · Fundamentals

Why Every Project Needs Caching – Master Local and Distributed Cache Basics

The article explains the fundamental purpose of caching—placing frequently accessed data in faster storage—to dramatically reduce database load, compares local memory caches with distributed solutions like Redis, outlines their pros, cons, suitable scenarios, and presents a two‑level cache pattern plus common pitfalls such as cache penetration, breakdown, and avalanche.

Performance OptimizationRediscaching
0 likes · 6 min read
Why Every Project Needs Caching – Master Local and Distributed Cache Basics
Top Architect
Top Architect
Jul 23, 2026 · Backend Development

How Taobao’s Backend Architecture Evolved Over a Decade

The article walks through Taobao’s backend architecture transformation from a single‑server setup to a cloud‑native, micro‑service ecosystem, detailing fourteen evolutionary stages—including separate Tomcat and DB, caching, load balancing, sharding, NoSQL, ESB, containerization, and cloud deployment—while highlighting key concepts, challenges, and design principles.

Backend ArchitectureCloud NativeDistributed Systems
0 likes · 23 min read
How Taobao’s Backend Architecture Evolved Over a Decade
samdeepthink
samdeepthink
Jul 22, 2026 · Backend Development

Why You Should Minimize Local Cache Usage

The article argues that local caches add significant consistency and management complexity, so they should be avoided unless a genuine performance bottleneck exists, illustrating the point with real‑world promotion spikes, GC concerns, and careful off‑heap testing.

ConsistencyGCRedis
0 likes · 4 min read
Why You Should Minimize Local Cache Usage
IT Learning Made Simple
IT Learning Made Simple
Jul 21, 2026 · Fundamentals

Key Takeaways from 'Designing Large-Scale Distributed Systems'

This note distills the core engineering practices for building and operating large‑scale distributed systems, covering system definition, distributed vs single‑node trade‑offs, CAP theorem choices, consistency levels, transaction patterns, load‑balancing algorithms, cache strategies, message‑queue reliability, coordination services like ZooKeeper, and essential design principles.

CAP theoremConsistencyDistributed Systems
0 likes · 11 min read
Key Takeaways from 'Designing Large-Scale Distributed Systems'
IT Learning Made Simple
IT Learning Made Simple
Jul 20, 2026 · Backend Development

Key Takeaways from “Architecture Is the Future”: Scalable Web Architecture Principles

The article distills the core ideas of the book “Architecture Is the Future”, explaining why scalability is essential for modern web services and presenting eight design principles—horizontal scaling, load balancing, fault‑tolerance, data sharding, caching, asynchronous processing, monitoring, and automation—along with organizational patterns, capacity‑planning formulas, performance‑optimization steps, and high‑availability strategies.

High AvailabilityPerformance OptimizationWeb Scaling
0 likes · 11 min read
Key Takeaways from “Architecture Is the Future”: Scalable Web Architecture Principles
Ray's Galactic Tech
Ray's Galactic Tech
Jul 17, 2026 · Artificial Intelligence

High‑Concurrency RAG: When to Use Classic, Graph or Agentic Architecture

The article analyzes why production‑grade RAG systems fail under load and explains how Classic, Graph, and Agentic RAG each address specific problem stages, offering concrete engineering guidelines for query normalization, caching, versioned knowledge, graph construction, stateful agents, and governance to achieve stable high‑throughput performance.

Agentic RAGGraph RAGKnowledge Governance
0 likes · 31 min read
High‑Concurrency RAG: When to Use Classic, Graph or Agentic Architecture
ITPUB
ITPUB
Jul 17, 2026 · Backend Development

Cutting 50 M‑record Deep Paging from 10 min to 1 s – 600× Faster with ES Search‑After & Redis

This article details how a photo‑contest backend migrated from MySQL to Elasticsearch and, through three rounds of optimization—including multi‑level Redis anchor caching, recent‑anchor positioning, and a large‑interval‑plus‑small‑page‑anchor strategy—reduced arbitrary deep‑page response time from ten minutes to about one second, achieving a 600‑fold speedup while exposing remaining data‑drift challenges.

Deep PaginationElasticsearchPerformance Optimization
0 likes · 14 min read
Cutting 50 M‑record Deep Paging from 10 min to 1 s – 600× Faster with ES Search‑After & Redis
Cloud Architecture
Cloud Architecture
Jul 12, 2026 · Databases

Database Performance Optimization: 100× Speed Gains Without Changing SQL

Even without rewriting any SQL, database performance can improve up to a hundredfold by first diagnosing bottlenecks, reducing unnecessary traffic, layering read paths, optimizing indexes, tuning connection pools, and progressively evolving from a single‑node setup to read‑write separation, sharding, and distributed read models.

Connection PoolPerformance OptimizationRead-Write Separation
0 likes · 38 min read
Database Performance Optimization: 100× Speed Gains Without Changing SQL
Yunqi AI+
Yunqi AI+
Jul 11, 2026 · Artificial Intelligence

Mid‑2026 AI Model Cost‑Saving Playbook: Choose, Cache, and Optimize

The article breaks down the 2026 mid‑year AI model landscape, compares tiered pricing across major providers, and offers concrete selection rules, caching tricks, tool‑chain setups, and habit‑based practices that together let teams minimize spend while maintaining high‑quality output.

AI modelsClaudeOpenAI
0 likes · 12 min read
Mid‑2026 AI Model Cost‑Saving Playbook: Choose, Cache, and Optimize
IT Services Circle
IT Services Circle
Jul 10, 2026 · Fundamentals

7 Essential Python Libraries for Robust Production Code

The article examines seven Python libraries—tenacity, attrs, structlog, DeepDiff, diskcache, watchdog, and msgspec—explaining when to adopt each, how they solve real‑world reliability, data‑modeling, logging, diffing, caching, file‑watching, and serialization problems, and when to replace them with heavier solutions.

LibrariesLoggingPython
0 likes · 19 min read
7 Essential Python Libraries for Robust Production Code
YiSu Grain
YiSu Grain
Jul 9, 2026 · Backend Development

Mapping Database & Architecture Patterns onto an E‑Commerce High‑Concurrency Diagram

This article reviews weeks 8‑13 of a system‑architecture course—covering indexes, ACID, MVCC, high availability, performance tuning, and case‑study templates—and shows how to combine those concepts into a complete e‑commerce high‑concurrency solution with caching, load‑balancing, async processing, database optimization, HA clustering, and concurrency control.

High Availabilitycachingdatabase optimization
0 likes · 18 min read
Mapping Database & Architecture Patterns onto an E‑Commerce High‑Concurrency Diagram
YiSu Grain
YiSu Grain
Jul 9, 2026 · Fundamentals

How to Write Score‑Winning Answers for Architecture Case Questions

The article explains why simply listing technical terms in a software‑exam case study earns no points and provides a step‑by‑step method—identifying problems, mapping them to architectural patterns, and phrasing solutions as concrete, business‑focused sentences that score well.

Architecture DesignHigh AvailabilityPerformance Optimization
0 likes · 14 min read
How to Write Score‑Winning Answers for Architecture Case Questions
YiSu Grain
YiSu Grain
Jul 9, 2026 · Backend Development

Why Adding Cache First Is the Wrong Move for Slow Systems

The article explains that performance tuning should start with pinpointing bottlenecks using response time, throughput, concurrency and resource utilization metrics, then choose appropriate measures—caching, async processing, database tuning, horizontal scaling, and rate‑limiting—rather than blindly adding a cache.

Asynchronous ProcessingBackend ArchitectureHorizontal Scaling
0 likes · 12 min read
Why Adding Cache First Is the Wrong Move for Slow Systems
Tech Musings
Tech Musings
Jul 3, 2026 · Backend Development

Optimizing HeFeng Weather Integration: Icon Fonts, JWT Auth, Layered Caching, and Gzip

The article details a complete HeFeng weather integration for a mini‑program, covering front‑end icon‑font rendering, Rust‑based backend JWT authentication with Ed25519, three upstream API calls, a two‑tier cache for real‑time and historical data, gzip auto‑decompression, request‑timeout layering, and environment‑variable driven deployment configuration.

GZIPHeFeng WeatherIcon Font
0 likes · 10 min read
Optimizing HeFeng Weather Integration: Icon Fonts, JWT Auth, Layered Caching, and Gzip
Qborfy AI
Qborfy AI
Jul 2, 2026 · Artificial Intelligence

How Streaming Responses and Performance Tuning Boost LLM API Production

This advanced guide explains why real‑world LLM deployments must focus on user‑perceived latency, streaming chunk handling, timeout and retry strategies, concurrency, batch processing, token optimization, caching, and observability rather than just model accuracy.

APILLMOptimization
0 likes · 23 min read
How Streaming Responses and Performance Tuning Boost LLM API Production
Subtle Storm
Subtle Storm
Jul 1, 2026 · Backend Development

How to Tackle the “Three Highs” of Internet Systems Without Burning Out

The article analyzes the intertwined challenges of high concurrency, high performance, and high availability in internet services, explains why they cannot all be maximized simultaneously, and presents concrete architectural tactics—partitioning, caching, async processing, redundancy, and CAP trade‑offs—to achieve a balanced, resilient system.

CAP theoremDistributed SystemsHigh Availability
0 likes · 7 min read
How to Tackle the “Three Highs” of Internet Systems Without Burning Out
AI Tech Publishing
AI Tech Publishing
Jun 29, 2026 · Artificial Intelligence

Productionizing LLM Agent Harness: Architecture, Backend Design, and Optimization

The guide explains how to turn a basic LLM call into a production‑ready multi‑agent system by introducing the Agent Harness architecture—five components (Orchestrator, Subagents, Skills, Backend, Context Engineering)—and detailing backend state handling, isolated sub‑agents, caching layers, token optimization, async task queues, and observability best practices.

Agent HarnessLLMasync tasks
0 likes · 27 min read
Productionizing LLM Agent Harness: Architecture, Backend Design, and Optimization
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 28, 2026 · Backend Development

9 Spring Boot API Performance Tricks to Squeeze Every Millisecond

This article presents nine practical techniques—async processing, caching, database query tuning, response compression, WebFlux reactive endpoints, logging reduction, index optimization, connection‑pool configuration, and CDN static‑asset delivery—to dramatically cut Spring Boot API latency and boost throughput in high‑concurrency environments.

API performanceAsynchronous ProcessingCompression
0 likes · 11 min read
9 Spring Boot API Performance Tricks to Squeeze Every Millisecond
Lobster Programming
Lobster Programming
Jun 22, 2026 · Databases

Common Redis Use Cases in Real-World Projects

This article outlines nine practical Redis scenarios—including hot‑data caching, distributed locks with Redisson, Bloom filters for cache‑penetration protection, delayed queues using ZSet, token‑bucket rate limiting, bitmap boolean statistics, UV deduplication via Set/HyperLogLog/Bitmap, geospatial indexing, and lightweight Stream queues—explaining their motivations, implementation steps, and trade‑offs.

BitmapBloom filterGeospatial
0 likes · 7 min read
Common Redis Use Cases in Real-World Projects
ZhiKe AI
ZhiKe AI
Jun 19, 2026 · Backend Development

From 1 ns to 10 ms: Why Caching Exists and Why It Keeps You Up at Night

The article explains why caching is indispensable—from nanosecond‑level CPU caches to millisecond‑level disks—covers the classic pitfalls of penetration, breakdown and avalanche, and walks through consistency strategies such as Cache‑Aside, delayed double‑delete, and Canal‑based binlog syncing for high‑concurrency systems.

Cache AsideCache ConsistencyCanal
0 likes · 13 min read
From 1 ns to 10 ms: Why Caching Exists and Why It Keeps You Up at Night
Architecture & Thinking
Architecture & Thinking
Jun 18, 2026 · Backend Development

How to Scale a Flash‑Sale System from Zero to 1 Million QPS: A Step‑by‑Step Architecture Guide

This article dissects the evolution of a flash‑sale system from a simple monolithic controller to a cloud‑native, micro‑service architecture that can handle over one million requests per second, detailing traffic‑shaping, multi‑level caching, async processing, and inventory‑consistency techniques.

KubernetesMessage QueueRedis
0 likes · 18 min read
How to Scale a Flash‑Sale System from Zero to 1 Million QPS: A Step‑by‑Step Architecture Guide
Subtle Storm
Subtle Storm
Jun 15, 2026 · Backend Development

Caching, Rate Limiting, Smoothing, and Idempotency: Solving Concurrency Problems

The article breaks down how caching reduces repeated slow‑resource access, rate limiting protects systems from overload, smoothing (peak shaving) buffers burst traffic with queues, and idempotency prevents duplicate operations, using a milk‑tea shop analogy to illustrate each technique’s role in high‑concurrency environments.

BackendIdempotencyPeak Shaving
0 likes · 7 min read
Caching, Rate Limiting, Smoothing, and Idempotency: Solving Concurrency Problems
Coder Trainee
Coder Trainee
Jun 14, 2026 · Artificial Intelligence

Production‑Ready AI Agent Architecture: High Availability, Asynchrony, Caching, Cost & Security

After mastering core AI Agent capabilities, this article shows how to transform a prototype into a production‑grade service by covering a full architecture overview, stateless design, health‑check and graceful shutdown, asynchronous task queues, multi‑level caching, token‑cost optimization, model fallback, input/output filtering, rate limiting, monitoring, and deployment recommendations for different scales.

AI agentAsynchronous ProcessingHigh Availability
0 likes · 15 min read
Production‑Ready AI Agent Architecture: High Availability, Asynchrony, Caching, Cost & Security
iQIYI Technical Product Team
iQIYI Technical Product Team
Jun 11, 2026 · Big Data

How iQIYI’s QBFS Enables Seamless Hybrid‑Cloud Storage and Cuts Big‑Data Costs by Over 30%

iQIYI’s big‑data team built a self‑developed QBFS virtual file system that unifies private and multiple public clouds, providing transparent routing, automatic migration, intelligent caching and fine‑grained governance, which together reduce storage and compute costs by more than 30 % while supporting scalable analytics.

Multi-cloudStoragebig data
0 likes · 21 min read
How iQIYI’s QBFS Enables Seamless Hybrid‑Cloud Storage and Cuts Big‑Data Costs by Over 30%
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 3, 2026 · Backend Development

15 Golden Rules for High‑Performance, Maintainable Java Code

This article presents fifteen concrete Java performance‑optimization rules—from readable code and proper data structures to efficient string handling, database access, caching, multithreading, reflection, JVM tuning, and memory management—each illustrated with before/after code examples and practical advice.

Best PracticesConcurrencyJVM
0 likes · 14 min read
15 Golden Rules for High‑Performance, Maintainable Java Code
Architect Chen
Architect Chen
Jun 2, 2026 · Backend Development

Unlock 10× Faster Responses: Inside Nginx’s Caching Mechanism

The article explains how Nginx’s two‑layer caching—browser and proxy—works, why it can reduce backend load and latency, often delivering more than tenfold performance gains for read‑heavy static content, and provides detailed configuration directives such as proxy_cache_path, proxy_cache, proxy_cache_valid, and best‑practice settings to ensure cache validity and avoid cache stampede.

NginxPerformance Optimizationcaching
0 likes · 5 min read
Unlock 10× Faster Responses: Inside Nginx’s Caching Mechanism
Java Architect Handbook
Java Architect Handbook
May 29, 2026 · Interview Experience

CDN Cache vs Redis Cache: Key Differences and Ideal Use Cases (Interview Insight)

The article explains how CDN works as a distributed reverse‑proxy cache, details its DNS‑based load balancing, cache‑hit/miss flow, expiration policies and refresh strategies, compares CDN caching with browser and Nginx caches, outlines scenarios where CDN or Redis is appropriate, and provides typical interview follow‑up questions and practical tips.

CDNInterviewRedis
0 likes · 13 min read
CDN Cache vs Redis Cache: Key Differences and Ideal Use Cases (Interview Insight)
Subtle Storm
Subtle Storm
May 27, 2026 · Cloud Native

Designing High-Concurrency Systems: Lessons from a Sports Venue Management Platform

The article analyzes a real-world sports‑venue management platform, detailing how multi‑level caching, asynchronous processing with RocketMQ, database sharding, service splitting, and Kubernetes auto‑scaling together reduced average response time from 1200 ms to 150 ms, increased throughput eightfold, and achieved 99.95% availability under tens of thousands of QPS.

Horizontal ScalingKubernetesRocketMQ
0 likes · 13 min read
Designing High-Concurrency Systems: Lessons from a Sports Venue Management Platform
Subtle Storm
Subtle Storm
May 26, 2026 · Cloud Native

Structuring a High-Concurrency System Design Paper for the 2026 Soft Exam

The article outlines a step‑by‑step framework for writing a high‑concurrency system design paper, covering project background, performance challenges, six concrete technical solutions—including multi‑level caching, async processing, rate limiting, database optimization, microservice decomposition, and elastic scaling—and how to quantify their impact with real data.

KubernetesRediscaching
0 likes · 6 min read
Structuring a High-Concurrency System Design Paper for the 2026 Soft Exam
samdeepthink
samdeepthink
May 17, 2026 · Backend Development

Final Episode: Building a Million‑Concurrent Product System

This article reviews the complete C‑end product system built for billions of users, covering demand analysis, Java migration, high‑concurrency read service design, launch safeguards, and a detailed list of proven caching and traffic‑isolation techniques validated in production.

EAV modelJava migrationRedis
0 likes · 9 min read
Final Episode: Building a Million‑Concurrent Product System
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2026 · Backend Development

7 Essential Spring Boot Concepts Every Senior Developer Should Master

The article walks senior developers through seven core Spring Boot 3.5.0 concepts—resilience with Resilience4j, observability via Actuator, distributed transactions using Saga, advanced caching, asynchronous processing, API‑gateway routing, and OAuth2/JWT security—providing concrete code snippets, configuration examples, and visual illustrations for each technique.

API GatewayResilience4jSecurity
0 likes · 10 min read
7 Essential Spring Boot Concepts Every Senior Developer Should Master
Cloud Architecture
Cloud Architecture
May 13, 2026 · Backend Development

Mastering Spring Boot Data Access: From ORM and Caching to Search and Distributed Consistency

This extensive guide redesigns Spring Boot data‑access for high‑traffic e‑commerce, explaining why traditional JPA‑Redis‑Elasticsearch thinking fails, then detailing a multimodal architecture that assigns strong‑consistency, hot‑read, document, and search responsibilities to MySQL, Redis, MongoDB and Elasticsearch, with production‑grade code, CDC pipelines, distributed‑transaction patterns, caching strategies, observability, and cloud‑native deployment.

CDCElasticsearchJPA
0 likes · 49 min read
Mastering Spring Boot Data Access: From ORM and Caching to Search and Distributed Consistency
Architecture & Thinking
Architecture & Thinking
May 12, 2026 · Databases

Detecting and Solving Redis Hot Keys in Ten‑Million‑QPS Systems – A Complete Guide

The article analyzes how hot keys in Redis cause node overload, cache breakdown, and system avalanches in ten‑million‑QPS distributed systems, outlines four detection techniques, compares their trade‑offs, and presents five practical mitigation strategies with Go code examples and real‑world performance results.

Distributed SystemsGoHot Key
0 likes · 33 min read
Detecting and Solving Redis Hot Keys in Ten‑Million‑QPS Systems – A Complete Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 11, 2026 · Backend Development

Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing

This article explains how to integrate the Java‑DataLoader library into a Spring Boot 3.5.0 application, covering dependency setup, entity and repository definitions, service methods, DataLoader configuration, testing, contextual loading, and custom two‑level caching to achieve high‑performance batch data fetching.

Batch loadingDataLoaderGraphQL
0 likes · 12 min read
Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing
liandk
liandk
May 8, 2026 · Mobile Development

Avoid Common uni.storage Pitfalls: Are You Making These Mistakes?

uni.storage, the data‑persistence solution for UniApp, can cause data loss, memory leaks, security risks, and performance problems if misused; this guide outlines four typical pitfalls—large objects, missing expiration, frequent reads/writes, and unhandled async errors—and provides concrete best‑practice fixes.

Memory Leakcachingdata persistence
0 likes · 4 min read
Avoid Common uni.storage Pitfalls: Are You Making These Mistakes?
Su San Talks Tech
Su San Talks Tech
May 6, 2026 · Backend Development

11 Essential Redis Use Cases Every Backend Engineer Should Know

This article walks through eleven practical Redis scenarios—from classic caching and distributed locks to rate limiting, leaderboards, timelines, social graph operations, lightweight queues, Bloom filters, hash‑based object storage, unique‑counting, and delayed tasks—providing code samples, advantages, drawbacks, and when to apply each pattern.

Bloom filterRedisSorted Set
0 likes · 15 min read
11 Essential Redis Use Cases Every Backend Engineer Should Know
Cloud Architecture
Cloud Architecture
May 1, 2026 · Backend Development

Production Nginx for 10M+ QPS: Rate Limiting, Load Balancing, WebSocket, gRPC, CDN

This guide details how to build a production‑grade Nginx edge layer capable of handling over ten million queries per second, covering traffic shaping, connection reuse, multi‑level caching, sophisticated rate‑limiting, load‑balancing algorithms, WebSocket and gRPC handling, dynamic configuration, observability, container deployment, and migration paths to API gateways or service meshes.

KubernetesNginxWebSocket
0 likes · 52 min read
Production Nginx for 10M+ QPS: Rate Limiting, Load Balancing, WebSocket, gRPC, CDN
ITPUB
ITPUB
Apr 29, 2026 · Backend Development

How to Rescue a System When QPS Jumps 100× in 10 Minutes

When a service experiences a sudden 100‑fold QPS surge, this guide walks through immediate emergency measures such as rate limiting, circuit breaking, and traffic shedding, followed by systematic analysis of traffic origins, robust architectural redesign including horizontal scaling, micro‑service decomposition, sharding, pooling, caching, and asynchronous processing, and finally stress testing to ensure resilience.

Circuit BreakingHorizontal Scalingcaching
0 likes · 13 min read
How to Rescue a System When QPS Jumps 100× in 10 Minutes
Architect's Tech Stack
Architect's Tech Stack
Apr 29, 2026 · Databases

Redis 8.0 Beyond Simple Caching: 16 Powerful Use Cases You Must Try

Redis 8.0 consolidates many previously external modules—JSON, time‑series, vector search, probabilistic data structures, and more—into a single package, and this article walks through 16 concrete scenarios ranging from field‑level cache expiration to AI‑ready vector similarity search, showing exact commands and when to prefer each feature.

LeaderboardRedisRedis 8.0
0 likes · 19 min read
Redis 8.0 Beyond Simple Caching: 16 Powerful Use Cases You Must Try
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 29, 2026 · Databases

16 Practical Redis Use Cases You Should Know

This article walks through sixteen common Redis scenarios—including caching hot data, sharing state across services, implementing distributed locks, generating global IDs, counting events, rate limiting, bitmap statistics, shopping carts, timelines, message queues, lotteries, likes, tagging, product filtering, and leaderboards—each illustrated with concrete commands and code snippets.

BitmapsLeaderboardMessage Queue
0 likes · 9 min read
16 Practical Redis Use Cases You Should Know
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 29, 2026 · Databases

10+ Practical Redis Use Cases You Can Implement Today

This article walks through more than ten common Redis scenarios—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmap statistics, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow/fan relationships, and ranking—showing concrete command examples and code snippets for each.

BitmapFollow SystemMessage Queue
0 likes · 9 min read
10+ Practical Redis Use Cases You Can Implement Today
Golang Shines
Golang Shines
Apr 28, 2026 · Backend Development

Essential Go Packages for Production Environments

This article compiles a curated list of production‑ready Go packages covering testing, logging, error handling, caching, databases, HTTP routing, HTTP clients, fault tolerance, Kafka, and various utility libraries, explaining their key features, concrete code examples, and why they are preferred in real‑world services.

Fault ToleranceGoHTTP
0 likes · 15 min read
Essential Go Packages for Production Environments
Code Mala Tang
Code Mala Tang
Apr 28, 2026 · Backend Development

Redis No Longer Dominates: Discover the Best Python Caching Alternatives

A benchmark of Redis, Memcached, DragonflyDB, and Cashews using the same FastAPI workload reveals that Redis falls behind on latency, throughput, and memory efficiency, while DragonflyDB and Cashews offer superior performance and developer experience for Python caching.

CashewsDragonflyDBMemcached
0 likes · 11 min read
Redis No Longer Dominates: Discover the Best Python Caching Alternatives
LuTiao Programming
LuTiao Programming
Apr 28, 2026 · Backend Development

How I Built a High‑Performance Java Price‑Comparison Engine from Scratch

Starting from a simple sequential Java price‑aggregator, the article walks through successive architectural upgrades—concurrent calls with CompletableFuture, timeout and fallback handling, Spring Boot service exposure, caching, bulkhead isolation, microservice split, and Kafka‑driven event processing—showing how latency drops from 1500 ms to under 20 ms.

ConcurrencyJavaKafka
0 likes · 9 min read
How I Built a High‑Performance Java Price‑Comparison Engine from Scratch
Cloud Architecture
Cloud Architecture
Apr 27, 2026 · Backend Development

Building an Enterprise‑Level MyBatis Persistence Layer from Zero to One

The article walks through a real production incident caused by a massive IN‑list query, then presents a complete methodology for designing, implementing, and tuning an enterprise‑grade MyBatis persistence layer—including core execution chain, caching strategies, batch processing, read/write splitting, sharding, observability, and deployment best practices.

MyBatisPerformance TuningSQL
0 likes · 39 min read
Building an Enterprise‑Level MyBatis Persistence Layer from Zero to One
Wuming AI
Wuming AI
Apr 26, 2026 · Artificial Intelligence

13 Practical Ways to Cut AI Tool Costs

The article outlines thirteen actionable strategies—ranging from choosing the right billing plan and trimming context to using layered models, caching, and proper output prompts—to dramatically reduce token consumption and overall expenses when working with AI services.

AIContext Managementcaching
0 likes · 10 min read
13 Practical Ways to Cut AI Tool Costs
Java Backend Full-Stack
Java Backend Full-Stack
Apr 26, 2026 · Databases

Mastering Redis: Core Concepts, Practical Roadmap, and Advanced Techniques

This comprehensive guide outlines a step‑by‑step learning path for Redis, covering foundational commands, core data structures, high‑performance internals, persistence options, clustering, common caching pitfalls, performance tuning, monitoring, source‑code exploration, and recommended resources for becoming a Redis expert.

ClusterData StructuresPerformance Tuning
0 likes · 9 min read
Mastering Redis: Core Concepts, Practical Roadmap, and Advanced Techniques
ITPUB
ITPUB
Apr 25, 2026 · Interview Experience

How to Design a Billion‑Scale URL Shortening System for an Interview

This article walks through the complete interview‑style design of a billion‑scale URL shortener, covering requirements, capacity estimation, API definitions, database schema, short‑code generation algorithms, sharding, caching, load balancing, rate limiting, and expiration handling, while illustrating each step with concrete examples and calculations.

API designDistributed SystemsURL shortener
0 likes · 24 min read
How to Design a Billion‑Scale URL Shortening System for an Interview
mikechen
mikechen
Apr 23, 2026 · Backend Development

How Nginx Handles One Million Concurrent Connections: 4 Key Techniques

The article explains how Nginx sustains one million simultaneous connections by using asynchronous non‑blocking I/O, a robust multi‑process architecture, zero‑copy file transmission, and optimized caching strategies, with concrete configuration examples and performance reasoning.

EpollNginxZero-Copy
0 likes · 4 min read
How Nginx Handles One Million Concurrent Connections: 4 Key Techniques
ZhiKe AI
ZhiKe AI
Apr 16, 2026 · Backend Development

Inside the MCP Client: A Deep Technical Walkthrough of Its Architecture

The article dissects the MCP Client used by Claude Code, detailing its layered architecture, type system, connection protocols, caching strategies, tool discovery and conversion, authentication flow, lifecycle management, reconnection logic, and design decisions, illustrating how external tool servers are seamlessly integrated as internal Claude tools.

AuthenticationClaudeClient
0 likes · 18 min read
Inside the MCP Client: A Deep Technical Walkthrough of Its Architecture
Sohu Tech Products
Sohu Tech Products
Apr 15, 2026 · Backend Development

How We Scaled Feed Push: From Simple Push to Lazy Loading and Fan Filtering

This article explains the architecture and evolution of a feed push system, covering the basic push model, its early implementation, performance trade‑offs, and a series of optimizations—including lazy loading, length control, delayed push, active‑inactive fan filtering, and hot‑cold separation—to improve read efficiency, reduce storage costs, and handle massive fan bases.

Backendcachingfan-filtering
0 likes · 18 min read
How We Scaled Feed Push: From Simple Push to Lazy Loading and Fan Filtering
dbaplus Community
dbaplus Community
Apr 12, 2026 · Backend Development

Can PostgreSQL Replace Redis? Performance, Cost, and Migration Insights

This article examines how PostgreSQL can take over Redis' roles—caching, pub/sub, and job queues—by leveraging unlogged tables, LISTEN/NOTIFY, and SKIP LOCKED, presenting cost savings, benchmark results, migration steps, and code examples for a practical backend replacement.

BackendPostgreSQLRedis
0 likes · 17 min read
Can PostgreSQL Replace Redis? Performance, Cost, and Migration Insights