Tagged articles
4 articles
Page 1 of 1
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.

Data TranslationEasy-TransEnum Mapping
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.

Redis CacheScalabilitybloom-filter
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.

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