Tagged articles
134 articles
Page 1 of 2
Architect's Guide
Architect's Guide
Feb 27, 2026 · Backend Development

Mastering Rate Limiting: Algorithms, Strategies, and Practical Implementations

This article explains why rate limiting is essential for both physical venues and online services, outlines common throttling strategies such as circuit breaking, service degradation, delay processing, and privilege handling, compares caching, degradation, and limiting, and details popular algorithms and concrete code examples for implementing rate limiting in Java and Nginx/Lua environments.

GuavaLuarate limiting
0 likes · 15 min read
Mastering Rate Limiting: Algorithms, Strategies, and Practical Implementations
Su San Talks Tech
Su San Talks Tech
Dec 9, 2025 · Backend Development

Choosing the Right Local Cache: From ConcurrentHashMap to Caffeine

This article explains why local caches are essential in high‑performance services, outlines required cache features, compares four Java‑based local cache implementations (ConcurrentHashMap, Guava Cache, Caffeine, Ehcache), and offers practical solutions for consistency, hit‑rate improvement, and technology selection.

Backend DevelopmentCacheCaffeine
0 likes · 12 min read
Choosing the Right Local Cache: From ConcurrentHashMap to Caffeine
Java Baker
Java Baker
Oct 27, 2025 · Backend Development

Master Java Rate Limiting: Guava, Sentinel, and Redisson Solutions

This article compares three Java rate‑limiting approaches—Guava RateLimiter for single‑node control, Sentinel for both single‑node and cluster scenarios, and Redisson RateLimiter for distributed limits—detailing their usage, advantages, disadvantages, and code examples to help developers choose the right solution for their traffic management needs.

BackendGuavaJava
0 likes · 12 min read
Master Java Rate Limiting: Guava, Sentinel, and Redisson Solutions
Architect
Architect
Sep 25, 2025 · Backend Development

8 Powerful Ways to Implement Asynchronous Processing in Java

This article explains why asynchronous execution is essential for reducing latency in Java applications and walks through eight practical implementations—including threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava—complete with code examples and usage tips.

CompletableFutureFutureGuava
0 likes · 14 min read
8 Powerful Ways to Implement Asynchronous Processing in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 19, 2025 · Backend Development

Mastering Retry Strategies in Spring Boot 3: 5 Practical Components

This article explores the growing importance of retry mechanisms in distributed Spring Boot 3 applications, presenting five practical retry components—Spring‑Retry, Resilience4j‑Retry, Fast‑Retry, Easy‑Retry, and Guava‑Retrying—along with custom annotation examples, configuration details, code snippets, and execution results.

Easy RetryGuavaRetry
0 likes · 13 min read
Mastering Retry Strategies in Spring Boot 3: 5 Practical Components
dbaplus Community
dbaplus Community
Aug 11, 2025 · Backend Development

How to Choose and Implement a High‑Performance Local Cache in Java

This article explains why a first‑level local cache is essential for high‑performance services, outlines required cache features, compares four Java implementations (ConcurrentHashMap, Guava, Caffeine, Encache), and provides solutions for consistency, hit‑rate improvement, and technology selection, concluding that Caffeine offers the best performance.

CaffeineEhcacheGuava
0 likes · 11 min read
How to Choose and Implement a High‑Performance Local Cache in Java
Lin is Dream
Lin is Dream
Jul 8, 2025 · Databases

How Bloom Filters Supercharge Redis: From BitSet to Redisson

This article explains the Bloom filter data structure, its hash‑based design and false‑positive behavior, then demonstrates practical implementations using Java BitSet, Guava, and Redisson, covering initialization, configuration, usage tips, and performance considerations for Redis bitmap storage.

BitsetData StructuresGuava
0 likes · 13 min read
How Bloom Filters Supercharge Redis: From BitSet to Redisson
JD Cloud Developers
JD Cloud Developers
Jun 30, 2025 · Backend Development

Unveiling Guava Cache Internals: Why It Lags Behind Caffeine

This article dissects Guava Cache's source code, explaining its segment‑based locking, data structures, put/get implementations, cleanup and eviction mechanisms, and then contrasts its performance and design choices with the more modern Caffeine cache, highlighting why Guava falls short.

CacheCaffeineGuava
0 likes · 39 min read
Unveiling Guava Cache Internals: Why It Lags Behind Caffeine
Selected Java Interview Questions
Selected Java Interview Questions
Apr 27, 2025 · Backend Development

Comprehensive Guide to Rate Limiting in Microservice Architecture Using Dubbo, Spring Cloud, Guava, Sentinel, Redis, and a Custom Spring Boot Starter

This article explains why rate limiting is critical for microservice stability, compares implementations across Dubbo, Spring Cloud, and gateway layers, details common algorithms such as token bucket, leaky bucket, and sliding window, and provides step‑by‑step code examples for Guava, Sentinel, Redis‑Lua, and a reusable Spring Boot starter to enforce rate limits in Java back‑end services.

GuavaSpring Boot Starterrate limiting
0 likes · 25 min read
Comprehensive Guide to Rate Limiting in Microservice Architecture Using Dubbo, Spring Cloud, Guava, Sentinel, Redis, and a Custom Spring Boot Starter
Java Captain
Java Captain
Apr 23, 2025 · Backend Development

Design and Selection of Local In‑Memory Caches for High‑Performance Service Architecture

This article explains the role of local in‑memory caches in high‑performance service architectures, compares implementations such as ConcurrentHashMap, Guava Cache, Caffeine, and Ehcache, discusses cache consistency and hit‑rate challenges, and recommends Caffeine as the preferred solution for multi‑level caching with Redis or Memcached.

CaffeineEhcacheGuava
0 likes · 11 min read
Design and Selection of Local In‑Memory Caches for High‑Performance Service Architecture
Selected Java Interview Questions
Selected Java Interview Questions
Apr 16, 2025 · Backend Development

Design and Selection of Local In-Memory Cache Solutions for High-Performance Services

An overview of two‑level caching architecture, the motivations for using local in‑memory caches, essential features of a local cache, comparative analysis of implementations using ConcurrentHashMap, Guava Cache, Caffeine, and Ehcache, and strategies for consistency, hit‑rate improvement, and practical code examples.

CaffeineEhcacheGuava
0 likes · 11 min read
Design and Selection of Local In-Memory Cache Solutions for High-Performance Services
macrozheng
macrozheng
Oct 28, 2024 · Backend Development

Unlock Java Efficiency: Master Guava’s Most Powerful Features

This article introduces the essential Guava utilities for Java developers, covering data validation, immutable collections, collection factories, multiset and multimap handling, advanced string operations, and simple caching, all with clear code examples to make your code more elegant and robust.

GuavaMultimapString Manipulation
0 likes · 18 min read
Unlock Java Efficiency: Master Guava’s Most Powerful Features
Architect
Architect
Oct 21, 2024 · Backend Development

Choosing the Right Local Cache in Java: From ConcurrentHashMap to Caffeine

This article examines why and how to use local in‑process caches in Java, compares four implementations—ConcurrentHashMap, Guava Cache, Caffeine, and Ehcache—covers essential cache features, consistency challenges, hit‑rate optimization, and recommends Caffeine as the most performant choice for a two‑level caching architecture.

Cache ConsistencyCaffeineConcurrentHashMap
0 likes · 11 min read
Choosing the Right Local Cache in Java: From ConcurrentHashMap to Caffeine
Su San Talks Tech
Su San Talks Tech
Oct 7, 2024 · Backend Development

Unlock Java Power: 10 Must‑Know Guava Features for Cleaner Code

This guide introduces Google’s Guava library for Java, covering Maven integration, data validation with Preconditions, immutable collections, factory methods, counting collections, multimap usage, advanced string joining and splitting, and simple caching, showing how each feature can make code cleaner, safer, and more efficient.

CollectionsGuavaJava
0 likes · 16 min read
Unlock Java Power: 10 Must‑Know Guava Features for Cleaner Code
Architect's Guide
Architect's Guide
Aug 25, 2024 · Backend Development

Eight Ways to Implement Asynchronous Execution in Java

This article introduces eight common Java asynchronous implementation techniques—including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, third‑party utilities like Hutool ThreadUtil and Guava ListenableFuture—explaining their usage, code examples, advantages, and drawbacks for improving performance in scenarios such as sending SMS or emails.

CompletableFutureFutureGuava
0 likes · 14 min read
Eight Ways to Implement Asynchronous Execution in Java
Java Architecture Stack
Java Architecture Stack
Aug 9, 2024 · Fundamentals

Unlocking Guava: How 7 Design Patterns Power Its Core

This article dissects the Guava library to reveal how seven classic design patterns—Builder, Proxy, Immutable, Singleton, Decorator, Adapter, and Observer—are implemented in its core classes, providing clear code examples, step‑by‑step construction processes, and practical insights for Java developers.

Builder PatternDesign PatternsGuava
0 likes · 27 min read
Unlocking Guava: How 7 Design Patterns Power Its Core
Architect Chen
Architect Chen
May 7, 2024 · Backend Development

Mastering Java Deep Copy: Techniques, Code Samples, and Best Practices

This article explains Java deep copy, its differences from shallow copy, key use cases such as data safety and avoiding shared state, and demonstrates three implementation methods—using Cloneable, serialization, and third‑party libraries like Guava—complete with runnable code examples.

CloneableGuavadeep copy
0 likes · 7 min read
Mastering Java Deep Copy: Techniques, Code Samples, and Best Practices
Sohu Tech Products
Sohu Tech Products
Apr 10, 2024 · Big Data

Bloom Filter: Principles, False Positive Rate, and Implementations with Guava and Redis

Bloom filters are space‑efficient probabilistic structures that answer “definitely not” or “maybe” membership queries, with a controllable false‑positive rate derived from bit array size, element count, and hash functions, and can be implemented via Guava’s Java library, Redisson’s Redis wrapper, native Redis modules, or custom bitmap code, dramatically reducing memory usage and latency in large‑scale systems such as URL deduplication or user‑product checks.

Big DataGuavaJava
0 likes · 21 min read
Bloom Filter: Principles, False Positive Rate, and Implementations with Guava and Redis
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 22, 2024 · Backend Development

Comprehensive Guide to Bloom Filters: Principles, Implementations, and Business Applications

This article introduces Bloom filters, explains their probabilistic principles, advantages and drawbacks, details how to add and query elements, derives false‑positive formulas, provides Guava, Redisson, Redis‑module, and custom bitmap implementations with code samples, and showcases real‑world business scenarios and performance benefits.

GuavaJavabloom-filter
0 likes · 28 min read
Comprehensive Guide to Bloom Filters: Principles, Implementations, and Business Applications
Code Ape Tech Column
Code Ape Tech Column
Mar 22, 2024 · Backend Development

Comparison of Java Local Caching Solutions: Guava, Caffeine, and Ehcache

This article reviews three popular Java in‑process caching libraries—Guava, Caffeine, and Ehcache—explaining their configuration options, performance characteristics, monitoring capabilities, advantages and disadvantages, and provides a side‑by‑side comparison to help developers choose the most suitable local cache for their applications.

CaffeineEhcacheGuava
0 likes · 10 min read
Comparison of Java Local Caching Solutions: Guava, Caffeine, and Ehcache
Java Tech Enthusiast
Java Tech Enthusiast
Feb 1, 2024 · Fundamentals

Understanding Bloom Filters: Theory, Implementation, and Applications

Bloom filters are space‑efficient probabilistic structures that test set membership using multiple hash functions, offering fast, low‑memory checks with a controllable false‑positive rate, and can be implemented manually in Java, via Guava’s library, or deployed at scale with RedisBloom for distributed applications.

Data StructureGuavaJava
0 likes · 14 min read
Understanding Bloom Filters: Theory, Implementation, and Applications
Java High-Performance Architecture
Java High-Performance Architecture
Jan 24, 2024 · Backend Development

8 Powerful Ways to Implement Asynchronous Execution in Java

Understanding asynchronous execution in Java can dramatically reduce latency for tasks such as sending SMS, emails, or updating data, and this article walks through eight practical implementations—from raw Threads and Futures to Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—complete with code samples and best‑practice tips.

AsynchronousCompletableFutureGuava
0 likes · 13 min read
8 Powerful Ways to Implement Asynchronous Execution in Java
JD Cloud Developers
JD Cloud Developers
Jan 16, 2024 · Backend Development

Choosing the Right Java Local Cache: Guava vs Caffeine vs Ehcache

An in‑depth comparison of popular Java in‑process caching solutions—Guava, Caffeine, and Ehcache—covers their expiration policies, capacity limits, eviction strategies, monitoring features, performance optimizations, and ideal use cases, helping developers select the most suitable cache for their applications.

CacheCaffeineEhcache
0 likes · 10 min read
Choosing the Right Java Local Cache: Guava vs Caffeine vs Ehcache
Amap Tech
Amap Tech
Dec 28, 2023 · Backend Development

Rate Limiting Algorithms and Their Java Implementations

Rate limiting protects system stability by capping request rates, and this article explains five Java algorithms—Fixed Window, Sliding Window, Leaky Bucket, Token Bucket, and Guava's RateLimiter—showing their principles, pros and cons, and providing sample implementations and a Spring @Limit annotation for practical enforcement.

Distributed SystemsGuavaJava
0 likes · 17 min read
Rate Limiting Algorithms and Their Java Implementations
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 21, 2023 · Backend Development

Mastering Rate Limiting: Algorithms, Java Implementations, and Guava Tips

This article explains why rate limiting is essential for high‑traffic systems, defines common rate‑limiting algorithms (fixed window, sliding window, leaky bucket, token bucket), provides complete Java code examples for each, and demonstrates practical usage with Guava's RateLimiter in real‑world applications.

BackendDistributed SystemsGuava
0 likes · 19 min read
Mastering Rate Limiting: Algorithms, Java Implementations, and Guava Tips
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 2, 2023 · Backend Development

Mastering Rate Limiting in Spring Boot: Token Bucket, Leaky Bucket, and Counter Techniques

An in‑depth guide explains three rate‑limiting algorithms—counter, leaky bucket, and token bucket—demonstrates their implementation in Spring Boot using Guava’s RateLimiter and Baidu’s ratelimiter‑spring‑boot‑starter, provides full Maven dependencies, configuration snippets, and Java code examples, and shows testing results.

Backend DevelopmentGuavaSpring Boot
0 likes · 8 min read
Mastering Rate Limiting in Spring Boot: Token Bucket, Leaky Bucket, and Counter Techniques
Architecture Digest
Architecture Digest
Aug 16, 2023 · Backend Development

Implementing Retry Mechanisms in Java: Manual Loops, Static Proxy, JDK Dynamic Proxy, CGLib, AOP, Spring Retry and Guava‑Retry

This article explains why retry mechanisms are essential for remote service calls, compares several implementation approaches—including manual loops, static and dynamic proxies, AOP, Spring Retry annotations, and Guava‑Retry—provides complete Java code examples, and discusses the advantages and drawbacks of each method.

GuavaJavaProxy
0 likes · 15 min read
Implementing Retry Mechanisms in Java: Manual Loops, Static Proxy, JDK Dynamic Proxy, CGLib, AOP, Spring Retry and Guava‑Retry
Architect
Architect
Aug 15, 2023 · Backend Development

Mastering Retry Strategies in Java: From Manual Loops to Spring Retry and Guava

This article walks through seven retry implementations for Java services—manual loops, static proxy, JDK dynamic proxy, CGLib proxy, custom AOP, Spring Retry annotations, and Guava‑retry—showing code examples, analyzing their pros and cons, and recommending the best fit for different project contexts.

GuavaProxyRetry
0 likes · 18 min read
Mastering Retry Strategies in Java: From Manual Loops to Spring Retry and Guava
JD Retail Technology
JD Retail Technology
Aug 14, 2023 · Backend Development

In‑Depth Analysis of Guava RateLimiter: Token‑Bucket Algorithm, Code Structure, and Usage

This article explains why rate limiting is essential in high‑concurrency and transaction‑processing systems, introduces Google Guava's RateLimiter as a token‑bucket implementation, walks through its source code—including class hierarchy, core algorithms, and usage examples—and discusses practical considerations and extensibility.

GuavaJavaRateLimiter
0 likes · 19 min read
In‑Depth Analysis of Guava RateLimiter: Token‑Bucket Algorithm, Code Structure, and Usage
Code Ape Tech Column
Code Ape Tech Column
Aug 5, 2023 · Backend Development

Implementing Retry Mechanisms in Java: Manual Loops, Static Proxy, JDK Dynamic Proxy, CGLib Proxy, AOP, Spring Retry and Guava Retry

This article explains why retry mechanisms are essential for remote service calls in Java applications and demonstrates six practical implementations—from simple while‑loop retries to static proxies, JDK and CGLib dynamic proxies, custom AOP, Spring Retry annotations, and the Guava‑retry library—complete with code examples and usage tips.

GuavaProxyRetry
0 likes · 16 min read
Implementing Retry Mechanisms in Java: Manual Loops, Static Proxy, JDK Dynamic Proxy, CGLib Proxy, AOP, Spring Retry and Guava Retry
JD Tech
JD Tech
Jul 21, 2023 · Backend Development

In‑Depth Analysis of Guava RateLimiter: Architecture, Algorithms, and Usage

This article provides a comprehensive walkthrough of Google Guava's RateLimiter, covering its practical rate‑limiting scenarios, underlying token‑bucket algorithm, detailed source‑code structure, core classes such as RateLimiter, SmoothRateLimiter, SmoothBursty and SmoothWarmingUp, usage examples, and considerations for extending or adapting the component in distributed systems.

GuavaRateLimiterRateLimiting
0 likes · 21 min read
In‑Depth Analysis of Guava RateLimiter: Architecture, Algorithms, and Usage
Java High-Performance Architecture
Java High-Performance Architecture
Jul 6, 2023 · Backend Development

Mastering Rate Limiting in Java Microservices: From Guava to Sentinel and Redis

Explore comprehensive strategies for implementing rate limiting in Java microservice architectures, covering Dubbo and Spring Cloud governance, token bucket, semaphore, Sentinel, Redis+Lua, and custom Spring Boot starter solutions, complete with code samples, configuration steps, and performance testing guidance.

GuavaJavaMicroservices
0 likes · 31 min read
Mastering Rate Limiting in Java Microservices: From Guava to Sentinel and Redis
Top Architect
Top Architect
Jul 3, 2023 · Backend Development

Comprehensive Guide to Implementing Rate Limiting in Microservices Using Guava, Sentinel, Redis, and a Custom Spring Boot Starter

This article provides an in‑depth tutorial on designing and implementing various rate‑limiting strategies—such as token bucket, leaky bucket, and sliding window—in Java microservice architectures, with practical code examples using Guava, Sentinel, Redis+Lua, and a reusable Spring Boot starter.

GuavaLuaStarter
0 likes · 31 min read
Comprehensive Guide to Implementing Rate Limiting in Microservices Using Guava, Sentinel, Redis, and a Custom Spring Boot Starter
Architecture Digest
Architecture Digest
Jun 30, 2023 · Backend Development

Comprehensive Guide to Implementing Rate Limiting in Java Microservices Using Guava, Sentinel, Redis, and a Custom Spring Boot Starter

This article explains why rate limiting is critical for microservice architectures, reviews common limiting algorithms, and provides step‑by‑step implementations using Dubbo, Spring Cloud, Guava token‑bucket, Sentinel, Redis+Lua, and a reusable Spring Boot starter with custom annotations and AOP.

GuavaJavaSpring Boot
0 likes · 27 min read
Comprehensive Guide to Implementing Rate Limiting in Java Microservices Using Guava, Sentinel, Redis, and a Custom Spring Boot Starter
Selected Java Interview Questions
Selected Java Interview Questions
Jun 30, 2023 · Backend Development

Implementing Rate Limiting in Java with Guava, Custom Annotations, and Redis Lua Scripts

This article explains how to protect high‑concurrency Java applications using rate‑limiting techniques, covering basic algorithms such as counter, leaky‑bucket and token‑bucket, demonstrating a single‑node implementation with Guava’s RateLimiter and custom annotations, and showing a distributed solution based on Redis and Lua scripts.

GuavaJavaToken Bucket
0 likes · 15 min read
Implementing Rate Limiting in Java with Guava, Custom Annotations, and Redis Lua Scripts
Su San Talks Tech
Su San Talks Tech
Jun 26, 2023 · Backend Development

Mastering Bloom Filters: From Theory to Guava & Redisson Implementations

Explore the design and mechanics of Bloom filters, understand their role in preventing cache penetration, learn how to calculate optimal parameters, and see practical Java implementations using Google Guava and Redisson, including code snippets, performance considerations, and strategies for handling deletions.

BackendData StructuresGuava
0 likes · 19 min read
Mastering Bloom Filters: From Theory to Guava & Redisson Implementations
macrozheng
macrozheng
Apr 17, 2023 · Fundamentals

How to Efficiently Split Large Java Lists into Smaller Chunks

This article explains why MySQL’s SQL length limit can cause batch‑insert failures and demonstrates five practical ways to partition a large Java List—using Guava, Apache Commons, Hutool, JDK Stream, and custom subList—complete with code examples and execution results.

Apache CommonsGuavaJava
0 likes · 9 min read
How to Efficiently Split Large Java Lists into Smaller Chunks
Su San Talks Tech
Su San Talks Tech
Apr 15, 2023 · Fundamentals

Mastering Bloom Filters: Theory, Java Guava & Redisson Implementations

This article explores Bloom filters—how they efficiently test set membership, their underlying principles, error rates, and practical usage in Java via Guava and Redisson, including code examples, configuration tips, handling cache penetration, and strategies for element deletion and periodic rebuilding.

CacheData StructureGuava
0 likes · 18 min read
Mastering Bloom Filters: Theory, Java Guava & Redisson Implementations
Su San Talks Tech
Su San Talks Tech
Apr 12, 2023 · Backend Development

Build a Switchable SpringBoot Rate Limiter with Guava and Redis

This tutorial walks through creating a reusable SpringBoot starter that combines Guava's local token‑bucket limiter and Redis's distributed limiter, allowing developers to toggle between them via a simple configuration property and integrate the solution seamlessly with AOP and conditional beans.

GuavaJavaSpringBoot
0 likes · 9 min read
Build a Switchable SpringBoot Rate Limiter with Guava and Redis
Su San Talks Tech
Su San Talks Tech
Mar 28, 2023 · Backend Development

Unlock Powerful Map Operations with Guava: Table, BiMap, Multimap, RangeMap & More

This guide explores Guava's extended map utilities—including Table for two‑key maps, BiMap for bidirectional lookups, Multimap for multi‑value mappings, RangeMap for interval‑based keys, and ClassToInstanceMap for type‑safe instance storage—providing code examples, usage tips, and common pitfalls for Java developers.

BiMapGuavaJava
0 likes · 16 min read
Unlock Powerful Map Operations with Guava: Table, BiMap, Multimap, RangeMap & More
Su San Talks Tech
Su San Talks Tech
Mar 19, 2023 · Backend Development

Master 8 Ways to Implement Asynchronous Programming in Java

This article explains why asynchronous execution is essential for tasks like sending SMS or emails, defines async concepts, and walks through eight practical Java implementations—including Thread, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—complete with code examples and usage tips.

AsynchronousCompletableFutureFuture
0 likes · 14 min read
Master 8 Ways to Implement Asynchronous Programming in Java
Architecture Digest
Architecture Digest
Mar 14, 2023 · Backend Development

Design and Selection of Local In-Memory Cache Solutions for Two-Level Cache Architecture

An overview of two-level cache architecture explains why local in-memory caches are needed, outlines essential cache features, compares implementations using ConcurrentHashMap, Guava Cache, Caffeine, and Ehcache with code examples, and discusses consistency, hit-rate improvement, and technology selection, recommending Caffeine for best performance.

CaffeineEhcacheGuava
0 likes · 11 min read
Design and Selection of Local In-Memory Cache Solutions for Two-Level Cache Architecture
Architect
Architect
Mar 1, 2023 · Backend Development

Eight Asynchronous Programming Techniques in Java

This article introduces eight common methods for achieving asynchronous execution in Java, including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture, explaining their usage, advantages, and limitations.

AsynchronousCompletableFutureFuture
0 likes · 10 min read
Eight Asynchronous Programming Techniques in Java
MaGe Linux Operations
MaGe Linux Operations
Feb 25, 2023 · Backend Development

Mastering Rate Limiting: Strategies, Algorithms, and Real‑World Implementations

This article explains how rate limiting protects system availability by controlling traffic flow, introduces common patterns such as circuit breaking, service degradation, delay and privilege handling, compares cache, degradation, and rate limiting, and details popular algorithms and practical code implementations for both single‑node and distributed environments.

Distributed SystemsGuavaToken Bucket
0 likes · 13 min read
Mastering Rate Limiting: Strategies, Algorithms, and Real‑World Implementations
The Dominant Programmer
The Dominant Programmer
Feb 9, 2023 · Fundamentals

Comprehensive Guava Tutorial Collection for Java Developers

Guava is Google's open‑source Java core library offering utilities such as data validation, immutable collections, caching, and string handling; this article introduces the library and provides ten detailed tutorial links covering Optional, Preconditions, Ordering, concurrency tools, range operations, collection helpers, caching, and more.

CollectionsGoogleGuava
0 likes · 4 min read
Comprehensive Guava Tutorial Collection for Java Developers
Code Ape Tech Column
Code Ape Tech Column
Jan 18, 2023 · Backend Development

Eight Ways to Implement Asynchronous Execution in Java

This article introduces eight practical techniques for achieving asynchronous processing in Java—including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, Hutool ThreadUtil, and Guava ListenableFuture—complete with code examples and discussion of their advantages and limitations.

AsynchronousFutureGuava
0 likes · 14 min read
Eight Ways to Implement Asynchronous Execution in Java
Top Architect
Top Architect
Dec 9, 2022 · Backend Development

In-Memory Caching with Guava LoadingCache: Design, Algorithms, and Best Practices

This article explains the principles and practical implementation of in‑memory caching using Guava’s LoadingCache, covering cache initialization parameters, put and loading strategies, eviction policies, common algorithms such as LRU, LFU, FIFO, and tips for avoiding memory issues and monitoring cache performance.

GuavaJavaLRU
0 likes · 15 min read
In-Memory Caching with Guava LoadingCache: Design, Algorithms, and Best Practices
IT Architects Alliance
IT Architects Alliance
Dec 4, 2022 · Backend Development

Mastering Retry Logic in Java: Spring‑Retry vs Guava‑Retry

This guide explains how to implement declarative retry mechanisms in Java using Spring‑Retry and Guava‑Retry, covering dependency setup, template and annotation usage, various retry and back‑off policies, test examples, and a comparative analysis of their flexibility and configuration options.

BackendBackoffGuava
0 likes · 17 min read
Mastering Retry Logic in Java: Spring‑Retry vs Guava‑Retry
Su San Talks Tech
Su San Talks Tech
Nov 26, 2022 · Fundamentals

Unlock Java Power: Master Guava’s Joiner, Splitter, CharMatcher & More

This article explores Google Guava’s most useful utilities—including Joiner, Splitter, CharMatcher, Multiset, Immutable collections, Multimap, BiMap, Table, Functions, Predicate, and Cache—showing how they simplify string handling, collection manipulation, caching, and asynchronous callbacks, with practical code examples and performance insights.

CollectionsGuavaJava
0 likes · 10 min read
Unlock Java Power: Master Guava’s Joiner, Splitter, CharMatcher & More
Top Architect
Top Architect
Nov 8, 2022 · Backend Development

Understanding In-Memory Caching with Guava LoadingCache and LRU Implementation in Java

This article explains the fundamentals of in‑memory caching, compares it with buffering, introduces Guava's LoadingCache configuration and operations, discusses eviction strategies, illustrates common cache algorithms (FIFO, LRU, LFU), provides a simple LRU implementation using LinkedHashMap, and offers practical guidelines for when and how to apply caching to improve backend performance.

GuavaJavaLRU
0 likes · 14 min read
Understanding In-Memory Caching with Guava LoadingCache and LRU Implementation in Java
Top Architect
Top Architect
Oct 23, 2022 · Backend Development

In‑Memory Cache Design with Guava LoadingCache, Eviction Strategies, and LRU Implementation

This article explains the fundamentals of in‑memory caching, introduces Guava's LoadingCache API, discusses cache sizing, eviction policies, common algorithms like FIFO, LRU, LFU, shows a simple LRU implementation using LinkedHashMap, and provides practical guidance on when and how to apply caching for performance optimization.

BackendGuavaJava
0 likes · 14 min read
In‑Memory Cache Design with Guava LoadingCache, Eviction Strategies, and LRU Implementation
Architect's Tech Stack
Architect's Tech Stack
Oct 17, 2022 · Backend Development

A Comprehensive Guide to Google Guava Utilities in Java

This article introduces Google Guava's powerful utilities—including Joiner, Splitter, CharMatcher, Multiset, Multimap, BiMap, Table, Functions, Predicate, Cache, and asynchronous callbacks—explaining their advantages over standard JDK classes and demonstrating practical usage with code examples for Java developers.

Backend DevelopmentCacheCollections
0 likes · 10 min read
A Comprehensive Guide to Google Guava Utilities in Java
Java Architect Essentials
Java Architect Essentials
Sep 27, 2022 · Backend Development

How to Combine Redis and Guava for Lazy‑Loading Cache in Java

This article explains how to reduce Redis read/write pressure by introducing a Guava local cache for lazy loading, presents design diagrams, provides complete Java code examples for both simple lazy caching and a microservice‑oriented device‑increment cache, and discusses the advantages, disadvantages, and practical considerations of each approach.

GuavaJavaMicroservices
0 likes · 11 min read
How to Combine Redis and Guava for Lazy‑Loading Cache in Java
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 18, 2022 · Backend Development

Java Asynchronous Programming: Five Implementation Methods Explained

This article introduces the concept of asynchronous programming in Java, compares it with synchronous execution, and provides detailed examples of five implementation approaches—thread creation, thread pool with Future, CompletableFuture, SpringBoot @Async, and Guava ListenableFuture—complete with code snippets and usage guidelines.

CompletableFutureFutureGuava
0 likes · 9 min read
Java Asynchronous Programming: Five Implementation Methods Explained
Java Architect Essentials
Java Architect Essentials
Sep 8, 2022 · Backend Development

A Comprehensive Guide to Google Guava: Joiner, Splitter, CharMatcher, Collections, Multimap, BiMap, Cache and More

This article introduces Google Guava’s rich set of utilities for Java developers, covering string handling with Joiner/Splitter, character matching, primitive extensions, advanced collection types such as Multiset, Multimap, BiMap, Table, functional helpers, null‑checking, local caching, and asynchronous callbacks, all illustrated with examples and images.

CacheCollectionsGuava
0 likes · 10 min read
A Comprehensive Guide to Google Guava: Joiner, Splitter, CharMatcher, Collections, Multimap, BiMap, Cache and More
Java Architect Essentials
Java Architect Essentials
Aug 18, 2022 · Backend Development

Batch Processing with Multithreading in Java: Splitting Large Collections and Using Thread Pools

This article explains how to efficiently handle massive data batch updates in Java by splitting large collections into smaller chunks, processing them concurrently with a configurable ThreadPoolExecutor, and controlling execution order, while providing reusable utility code and practical implementation examples.

ApacheCommonsBatchProcessingGuava
0 likes · 8 min read
Batch Processing with Multithreading in Java: Splitting Large Collections and Using Thread Pools
Architect's Guide
Architect's Guide
Aug 1, 2022 · Backend Development

Understanding Rate Limiting: Concepts, Algorithms, and Practical Implementations

This article explains why rate limiting is essential for both physical venues and online services, describes common strategies such as circuit breaking, service degradation, delay handling, and privilege handling, compares caching, degradation, and limiting, and details counter, leaky‑bucket, and token‑bucket algorithms with concrete Guava and Nginx‑Lua implementations.

BackendGuavaalgorithm
0 likes · 15 min read
Understanding Rate Limiting: Concepts, Algorithms, and Practical Implementations
IT Architects Alliance
IT Architects Alliance
May 14, 2022 · Backend Development

Request Collapsing Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset

This article compares three request‑collapsing techniques—Hystrix Collapser, a custom BatchCollapser, and Guava’s ConcurrentHashMultiset—detailing their designs, implementations, configurations, and suitable scenarios for reducing downstream load and improving system throughput, including code examples, timer‑based batching, and thread‑safe container usage.

Batch ProcessingGuavaHystrix
0 likes · 14 min read
Request Collapsing Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset
Selected Java Interview Questions
Selected Java Interview Questions
Nov 12, 2021 · Backend Development

Implementing Rate Limiting in Java Spring Applications Using Guava, Redis, and Nginx

This article explains why rate limiting is needed for high‑traffic Java services, reviews common throttling techniques such as Hystrix, Sentinel, token‑bucket algorithms, and then provides multiple concrete implementations—including Guava RateLimiter, Redis counters, interceptor configuration, and Tomcat connector settings—complete with code samples.

GuavaJavaSpring Boot
0 likes · 11 min read
Implementing Rate Limiting in Java Spring Applications Using Guava, Redis, and Nginx
macrozheng
macrozheng
Oct 22, 2021 · Backend Development

Mastering API Rate Limiting in Spring Boot: Algorithms, Guava & AOP

This tutorial explains why API rate limiting is essential for high‑traffic Spring Boot services, introduces counter, leaky‑bucket, and token‑bucket algorithms, shows how to use Guava's RateLimiter, and demonstrates a clean custom‑annotation AOP solution to decouple rate‑limiting logic from business code.

GuavaJavaSpring Boot
0 likes · 13 min read
Mastering API Rate Limiting in Spring Boot: Algorithms, Guava & AOP
IT Architects Alliance
IT Architects Alliance
Oct 21, 2021 · Backend Development

Mastering Rate Limiting: Algorithms, Strategies, and Real‑World Implementations

This article explains why rate limiting is essential for system stability, compares circuit breaking, service degradation, delayed processing, and privileged handling, details counter, leaky‑bucket, and token‑bucket algorithms, and provides concrete Java, Guava, and Nginx‑Lua code examples for practical deployment.

Distributed SystemsGuavaJava
0 likes · 13 min read
Mastering Rate Limiting: Algorithms, Strategies, and Real‑World Implementations
Java High-Performance Architecture
Java High-Performance Architecture
Oct 2, 2021 · Backend Development

Mastering Rate Limiting: Strategies, Algorithms, and Real‑World Implementations

This article explains the concept of rate limiting through real‑world analogies, outlines common throttling strategies such as circuit breaking, service degradation, delayed and privileged processing, compares key algorithms like counter, leaky‑bucket and token‑bucket, and provides practical Guava, token‑bucket and Nginx‑Lua code examples for both single‑node and distributed systems.

GuavaToken Bucketcircuit breaker
0 likes · 15 min read
Mastering Rate Limiting: Strategies, Algorithms, and Real‑World Implementations
IT Architects Alliance
IT Architects Alliance
Sep 2, 2021 · Backend Development

Mastering Cache Strategies: From Local Maps to Distributed Grids

The article categorizes data by change and access frequency, explains cache loading methods, compares local caches (Map, Guava, Spring) with remote solutions like Redis, Memcached, Hazelcast, and addresses common cache issues such as penetration, breakdown, and avalanche, offering practical mitigation techniques including Bloom filters, RoaringBitmap, and load‑balancing strategies.

Cache StrategiesGuavaJava
0 likes · 12 min read
Mastering Cache Strategies: From Local Maps to Distributed Grids
Top Architect
Top Architect
Sep 1, 2021 · Backend Development

Rate Limiting Strategies, Algorithms, and Implementations in Backend Systems

This article explains the concepts, strategies, and algorithms of rate limiting—including circuit breaking, service degradation, leaky‑bucket and token‑bucket methods—and provides practical Java, Guava, and Nginx + Lua implementations for controlling concurrency and protecting backend services.

BackendDistributed SystemsGuava
0 likes · 13 min read
Rate Limiting Strategies, Algorithms, and Implementations in Backend Systems
Programmer DD
Programmer DD
Aug 12, 2021 · Backend Development

How to Build a Simple Token Bucket RateLimiter in Java

This article provides an overview of the token bucket algorithm, demonstrates a straightforward Java implementation of a RateLimiter with code examples, compares it to Guava's RateLimiter internals, and includes diagrams and test results to illustrate its behavior.

GuavaJavaRateLimiter
0 likes · 4 min read
How to Build a Simple Token Bucket RateLimiter in Java
IT Architects Alliance
IT Architects Alliance
Aug 9, 2021 · Backend Development

Mastering Rate Limiting: Algorithms, Strategies, and Practical Guava & Nginx Implementations

This article explains why rate limiting is essential for system stability, compares it with caching and degradation, details three core algorithms—counter, leaky bucket, and token bucket—and provides concrete Guava, Java, and Nginx + Lua code examples for implementing both local and distributed throttling.

BackendDistributed SystemsGuava
0 likes · 14 min read
Mastering Rate Limiting: Algorithms, Strategies, and Practical Guava & Nginx Implementations
DeWu Technology
DeWu Technology
May 14, 2021 · Backend Development

Local and Distributed Caching: Concepts and Implementations

In high‑traffic e‑commerce systems, caching—ranging from simple in‑JVM HashMap caches to Guava, Caffeine, and Redis distributed stores—reduces latency by applying eviction policies such as FIFO, LRU, LFU, or W‑TinyLFU, while employing consistency strategies like expiration, write‑through, and cache‑aside to mitigate breakdown, avalanche, and penetration issues.

CaffeineGuavaJava
0 likes · 20 min read
Local and Distributed Caching: Concepts and Implementations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 26, 2021 · Backend Development

Rate Limiting in Spring Boot: Counter, Leaky & Token Buckets using Guava & Baidu

This article explains three classic rate‑limiting algorithms—counter, leaky bucket, and token bucket—illustrates their principles, compares their behavior, and provides practical Spring Boot implementations using Google Guava’s RateLimiter and Baidu’s ratelimiter‑spring‑boot‑starter, including configuration, code samples, and performance testing.

BackendGuavaJava
0 likes · 10 min read
Rate Limiting in Spring Boot: Counter, Leaky & Token Buckets using Guava & Baidu
Xianyu Technology
Xianyu Technology
Feb 8, 2021 · Backend Development

Design and Implementation of a Cluster‑Aware Guava Cache Component for High Reliability

The paper presents a cluster‑aware Guava cache component for Alibaba’s Xianyu platform that mitigates downstream service failures by adding asynchronous reload, cluster‑wide key invalidation, and size reporting, enabling automatic fallback to refreshed local data and improving latency, with future plans for a management console, tiered storage, and disk‑backed caching.

Guavacachingfault tolerance
0 likes · 8 min read
Design and Implementation of a Cluster‑Aware Guava Cache Component for High Reliability
Top Architect
Top Architect
Nov 25, 2020 · Backend Development

Implementing a Two‑Level Cache System with Guava and Redis in Java

This article explains how to build a two‑level caching solution in Java by defining a generic cache interface, implementing a local Guava‑based cache and a distributed Redis cache, configuring Spring Boot integration, handling versioned keys for timely expiration, and providing sample code and unit tests.

GuavaJavaSpring Boot
0 likes · 26 min read
Implementing a Two‑Level Cache System with Guava and Redis in Java
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.

CacheCollectionsGuava
0 likes · 9 min read
A Comprehensive Guide to Google Guava: Collections, Functional Utilities, and Caching in Java
Programmer DD
Programmer DD
Oct 16, 2020 · Backend Development

Mastering Guava’s Stopwatch: Precise Timing in Java Applications

An in‑depth guide explains Guava’s Stopwatch utility, showing how to create, start, stop, and reset timers, customize the time source via Ticker, compare it with raw System.nanoTime or System.currentTimeMillis, and highlights its advantages for accurate performance measurement in Java and Android projects.

GuavaJavaStopwatch
0 likes · 5 min read
Mastering Guava’s Stopwatch: Precise Timing in Java Applications
Architect's Tech Stack
Architect's Tech Stack
Sep 8, 2020 · Backend Development

Implementing a Two‑Level Cache System with Guava and Redis in Java

This article explains how to design and build a simple two‑level caching solution in Java, covering generic cache interfaces, local caching with Guava, distributed caching with Redis, configuration details, version‑controlled cache keys, and practical usage within a Spring Boot application.

GuavaSpring Bootcaching
0 likes · 25 min read
Implementing a Two‑Level Cache System with Guava and Redis in Java
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.

BenchmarkCacheCaffeine
0 likes · 13 min read
Why Caffeine Outperforms Guava: Deep Dive into Java Caching, Benchmarks & Migration