Tagged articles

Redis cache

6 articles · Page 1 of 1
vivo Internet Technology
vivo Internet Technology
Jul 1, 2026 · Backend Development

From 10 Minutes to 1 Second: Three‑Stage Elasticsearch Deep‑Pagination Jump Optimization

This article details how a photo‑contest backend migrated from MySQL to Elasticsearch and, through three iterative optimizations—segment pre‑warming, recent‑anchor positioning with Redis ZSet, and a large‑region‑plus‑small‑page cache—reduced arbitrary deep‑page response time on 500 k records from ten minutes to under one second.

Deep PaginationElasticsearchRedis cache
0 likes · 15 min read
From 10 Minutes to 1 Second: Three‑Stage Elasticsearch Deep‑Pagination Jump Optimization
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 24, 2026 · Backend Development

Simplify SpringBoot ID, Enum, and Dictionary Translation with a Single @Trans Annotation

Easy‑Trans is a SpringBoot starter that eliminates repetitive ID‑to‑name, dictionary code‑to‑text, and cross‑service field translation code by using a single @Trans annotation, offering five translation modes, Maven integration, YAML configuration, and optional Redis caching to boost performance and reduce boilerplate.

AnnotationData TranslationEasy-Trans
0 likes · 7 min read
Simplify SpringBoot ID, Enum, and Dictionary Translation with a Single @Trans Annotation
macrozheng
macrozheng
Sep 24, 2024 · Backend Development

Scaling Username Uniqueness Checks: DB Queries, Redis Cache & Bloom Filters

This article explores strategies for efficiently verifying username uniqueness at massive scale, comparing direct database queries, Redis caching, and memory‑efficient Bloom filter techniques, complete with Java code examples and analysis of performance, load, scalability, and memory trade‑offs.

Bloom filterRedis cachescalability
0 likes · 11 min read
Scaling Username Uniqueness Checks: DB Queries, Redis Cache & Bloom Filters
Java Backend Technology
Java Backend Technology
May 30, 2023 · Databases

Why count(*) Slows Down MySQL and How to Optimize It

This article explains why MySQL count(*) can become a performance bottleneck on InnoDB tables, compares different count() variants, and presents practical optimization techniques such as Redis caching, second‑level caches, parallel execution, reducing joins, and offloading analytics to ClickHouse.

COUNTClickHouseInnoDB
0 likes · 10 min read
Why count(*) Slows Down MySQL and How to Optimize It