Tag

Redisson

0 views collected around this technical thread.

Zhuanzhuan Tech
Zhuanzhuan Tech
Jun 4, 2025 · Backend Development

A Comprehensive Guide to Redisson Distributed Locks in Java

This article explains Redisson's various distributed lock mechanisms—including watchdog, reentrant lock, multi‑lock, read‑write lock, semaphore, RedLock, and CountDownLatch—detailing their principles, usage patterns, code examples, and best‑practice recommendations for robust backend concurrency control.

Distributed LocksJavaRedis
0 likes · 16 min read
A Comprehensive Guide to Redisson Distributed Locks in Java
Java Captain
Java Captain
May 14, 2025 · Backend Development

Redis Rate Limiter Implementation with AOP Annotation Extraction and Expiration Support

This article explains how to extract AOP annotation code, implements a Redis-based rate limiter using Redisson in Java, analyzes the underlying Lua script, and extends the utility to support automatic expiration of the limiter, providing complete code examples and detailed explanations.

AOPJavaRedis
0 likes · 5 min read
Redis Rate Limiter Implementation with AOP Annotation Extraction and Expiration Support
Java Captain
Java Captain
May 9, 2025 · Backend Development

Implementing Precise Order Cancellation: Delayed Task Solutions and Their Pitfalls

The article examines various approaches for implementing accurate order‑cancellation timers in e‑commerce systems, compares message‑queue delayed delivery, Redisson delay queues, Redis expiration listeners, RabbitMQ dead‑letter queues, and time wheels, and recommends reliable solutions while warning against common pitfalls.

Backend DevelopmentMessage QueueRabbitMQ
0 likes · 8 min read
Implementing Precise Order Cancellation: Delayed Task Solutions and Their Pitfalls
Selected Java Interview Questions
Selected Java Interview Questions
Apr 4, 2025 · Backend Development

Guide to Using Lock4j Distributed Lock Component in Spring Boot

This article introduces the Lock4j distributed lock library, explains its features, shows how to add Maven dependencies, configure Redis, use the @Lock4j annotation for simple and advanced locking scenarios, and provides custom executor, key builder, and failure‑strategy examples for Spring Boot applications.

Distributed LockJavaLock4j
0 likes · 6 min read
Guide to Using Lock4j Distributed Lock Component in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Mar 30, 2025 · Backend Development

Implementing Precise Order Cancellation: Pitfalls of Redis Expiration and Better Alternatives

The article explains why using Redis expiration or RabbitMQ dead‑letter queues for delayed order‑cancellation tasks is unreliable, compares several approaches such as message‑queue delayed delivery, Redisson delay queues, and time wheels, and recommends robust solutions like RocketMQ or Pulsar for accurate timing.

Message QueueRabbitMQRedis
0 likes · 7 min read
Implementing Precise Order Cancellation: Pitfalls of Redis Expiration and Better Alternatives
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 11, 2025 · Backend Development

Understanding Redisson Distributed Lock Implementation in Java

This article explains how Redisson leverages Redis, Lua scripts, and Pub/Sub to implement a robust distributed lock in Java, covering lock characteristics, client creation, acquisition, renewal, and release mechanisms with code examples.

Distributed LockJavaRedis
0 likes · 11 min read
Understanding Redisson Distributed Lock Implementation in Java
Architect
Architect
Dec 22, 2024 · Backend Development

Implementing Interface Debounce with Distributed Locks in Java (Redis & Redisson)

This article explains the concept of request debouncing, identifies which API endpoints need it, and provides a detailed tutorial on implementing distributed debounce using shared Redis cache or Redisson locks in a Spring Boot backend, complete with annotation design, unique key generation, and code examples.

DebounceDistributed LockJava
0 likes · 16 min read
Implementing Interface Debounce with Distributed Locks in Java (Redis & Redisson)
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 18, 2024 · Fundamentals

Understanding Bloom Filters and Their Support in Redis

This article explains the probabilistic Bloom filter data structure, its characteristics and typical use cases such as cache‑penetration prevention, details its simple implementation steps, demonstrates how Redis (via Redisson) provides built‑in Bloom filter support with Java code examples, and summarizes its practical benefits.

Bloom FilterCache PenetrationJava
0 likes · 7 min read
Understanding Bloom Filters and Their Support in Redis
vivo Internet Technology
vivo Internet Technology
Nov 27, 2024 · Backend Development

Implementation Principles of Distributed Locks with Redis and Zookeeper

Distributed locks synchronize multiple services across nodes, and can be implemented using Redis’s fast, AP‑oriented SET‑NX with automatic TTL renewal or Zookeeper’s CP‑oriented ephemeral sequential nodes, each offering distinct trade‑offs in performance, consistency, and suitability for various workload requirements.

CAP theoremDistributed LockJava
0 likes · 24 min read
Implementation Principles of Distributed Locks with Redis and Zookeeper
Architect's Guide
Architect's Guide
Oct 31, 2024 · Databases

Designing an Efficient Pipeline for Importing One Billion Records into MySQL

This article presents a comprehensive engineering guide for importing one billion 1 KB unstructured log records stored in HDFS or S3 into MySQL, covering data sizing, B‑tree limits, batch insertion strategies, storage‑engine choices, sharding, file‑reading techniques, concurrency control, and reliable task coordination using Redis, Redisson, and Zookeeper.

Data ShardingMySQLRedis
0 likes · 17 min read
Designing an Efficient Pipeline for Importing One Billion Records into MySQL
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 25, 2024 · Backend Development

Understanding and Fixing Redisson Distributed Lock IllegalMonitorStateException

This article explains the Redisson IllegalMonitorStateException caused by unlocking a lock held by another thread, analyzes the underlying node‑id and thread‑id concepts, and presents several practical solutions to correctly manage distributed locks in Java applications.

Distributed LockException HandlingJava
0 likes · 9 min read
Understanding and Fixing Redisson Distributed Lock IllegalMonitorStateException
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 12, 2024 · Backend Development

Implementing Distributed Locks with Redis: SETNX, Lua Scripts, Redisson, and RedLock

This article explains how to implement distributed locks in Redis using the SETNX command, atomic Lua scripts, the Redisson Java client, and the RedLock algorithm, providing code examples and discussing their advantages and limitations in distributed backend systems.

Distributed LockJavaRedis
0 likes · 11 min read
Implementing Distributed Locks with Redis: SETNX, Lua Scripts, Redisson, and RedLock
Architect
Architect
Sep 9, 2024 · Backend Development

Understanding Redisson DelayedQueue: Internal Mechanisms and Practical Usage

This article explains how Redisson's DelayedQueue works internally, covering its data structures, the basic workflow for sending and receiving delayed messages, the initialization process, and the scheduling logic that moves expired items from the delay queue to the target queue.

DelayedQueueDistributed SystemsJava
0 likes · 16 min read
Understanding Redisson DelayedQueue: Internal Mechanisms and Practical Usage
Architect's Guide
Architect's Guide
Sep 5, 2024 · Databases

Strategies for Fast Import of 1 Billion Records into MySQL

To import one billion 1 KB log records stored in HDFS or S3 into MySQL efficiently, the article examines data partitioning, B‑tree index limits, batch insertion, storage engine choices, concurrency control, file‑reading methods, task scheduling with Redis, Redisson, and Zookeeper for reliable, ordered, high‑throughput loading.

Data PartitioningMySQLRedis
0 likes · 18 min read
Strategies for Fast Import of 1 Billion Records into MySQL
Code Ape Tech Column
Code Ape Tech Column
Aug 29, 2024 · Backend Development

Implementing Interface Debounce with Redis and Redisson in Java Backend

This article explains how to prevent duplicate submissions in Java backend APIs by applying debounce techniques using shared Redis caches or Redisson distributed locks, detailing the design of a @RequestLock annotation, key generation, aspect implementation, and practical testing results.

DebounceDistributed LockJava
0 likes · 15 min read
Implementing Interface Debounce with Redis and Redisson in Java Backend
Selected Java Interview Questions
Selected Java Interview Questions
Aug 24, 2024 · Backend Development

Implementing Interface Debounce in Distributed Java Backend Systems Using Redis and Redisson

This article explains how to implement interface debounce in Java backend services, covering the concept, identifying suitable APIs, generating unique keys, and applying distributed locking mechanisms with Redis and Redisson, including code examples and practical testing results.

DebounceDistributed LockJava
0 likes · 17 min read
Implementing Interface Debounce in Distributed Java Backend Systems Using Redis and Redisson
Java Architect Essentials
Java Architect Essentials
Aug 4, 2024 · Backend Development

Implementing Distributed Locks with Redis: Concepts, Pitfalls, and Solutions

This article explains how to use Redis for distributed locking, discusses the shortcomings of naive implementations, and presents robust solutions including identifier verification, Lua scripting for atomicity, the RedLock algorithm, and Redisson's advanced features such as re‑entrancy and watchdog mechanisms.

Distributed LockJavaRedis
0 likes · 15 min read
Implementing Distributed Locks with Redis: Concepts, Pitfalls, and Solutions
Top Architect
Top Architect
Jul 28, 2024 · Backend Development

Implementing Interface Debounce and Distributed Locks in Java Backend Applications

This article explains how to prevent duplicate API submissions by applying debounce principles and implementing distributed locks using Redis and Redisson in a Java Spring backend, providing detailed code examples, key generation strategies, and practical testing results.

DebounceDistributed LockJava
0 likes · 17 min read
Implementing Interface Debounce and Distributed Locks in Java Backend Applications
Architecture Digest
Architecture Digest
Jun 25, 2024 · Backend Development

Implementing Request Debounce in Backend Systems Using Redis and Redisson

This article explains why request debouncing is essential for backend APIs, identifies the types of endpoints that need it, and provides two distributed solutions—shared Redis cache and Redisson locks—along with complete Java annotation and aspect implementations, testing results, and best‑practice recommendations.

AnnotationDebounceJava
0 likes · 12 min read
Implementing Request Debounce in Backend Systems Using Redis and Redisson
Top Architect
Top Architect
Jun 5, 2024 · Backend Development

Implementing Interface Debounce (Anti‑duplicate Submission) in Java Backend with Redis and Redisson

This article explains how to prevent duplicate API calls in Java backend systems by using debounce techniques, shared Redis caches or Redisson distributed locks, and provides complete annotation‑based implementations with code examples, key generation strategies, and testing results to achieve idempotent interfaces.

DebounceDistributed LockIdempotency
0 likes · 16 min read
Implementing Interface Debounce (Anti‑duplicate Submission) in Java Backend with Redis and Redisson