Tag

watchdog

1 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Jan 1, 2025 · Backend Development

Understanding Distributed Locks and Robust Implementations with Redis

This article explains the challenges of thread synchronization in distributed systems, introduces the concept of distributed locks, compares common implementations such as Redis, Zookeeper, and databases, and provides robust Java and Lua solutions to ensure atomicity, avoid deadlocks, and support lock renewal.

AtomicityDistributed LockJava
0 likes · 14 min read
Understanding Distributed Locks and Robust Implementations with Redis
IT Services Circle
IT Services Circle
Apr 25, 2024 · Backend Development

How Redisson Implements Distributed Locks Using Redis

This article explains how Redisson leverages Redis to implement distributed locks, detailing the underlying Lua scripts, lock acquisition and release processes, the watch‑dog mechanism for automatic lease renewal, and provides Java code examples for integrating and testing the lock functionality.

DistributedLockJavaLua
0 likes · 19 min read
How Redisson Implements Distributed Locks Using Redis
政采云技术
政采云技术
Oct 12, 2023 · Backend Development

Understanding Redisson Distributed Locks: Architecture, Code Walkthrough, and Watchdog Mechanism

This article introduces Redisson, a high‑performance Java Redis client built on Netty, explains its key advantages, and provides a detailed walkthrough of the RedissonLock implementation—including tryLock, blocking lock, unlock logic, associated Lua scripts, and the automatic watchdog renewal mechanism.

Distributed LockJavaNetty
0 likes · 12 min read
Understanding Redisson Distributed Locks: Architecture, Code Walkthrough, and Watchdog Mechanism
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Jul 26, 2023 · Cloud Native

Design and Implementation of a Cloud‑Native Operator Platform for Component Management at Tongcheng Travel

This article details Tongcheng Travel's cloud‑native migration journey, describing the challenges of resource quota management, component versioning, and operational automation, and explains how a Kubernetes Operator platform built with Go, kubebuilder, and a watch‑broadcast mechanism addresses these issues while outlining future expansion plans.

Cloud NativeConfiguration ManagementGo
0 likes · 9 min read
Design and Implementation of a Cloud‑Native Operator Platform for Component Management at Tongcheng Travel
High Availability Architecture
High Availability Architecture
May 10, 2023 · Backend Development

Understanding Distributed Locks: Features, Implementations, and Best Practices

This article explains why distributed locks are needed, outlines their five essential properties, compares common implementation methods such as database, ZooKeeper, and Redis locks, and provides Java code examples for acquiring, releasing, re‑entering, and safely extending locks with watchdog mechanisms.

Distributed LockJavaRedis
0 likes · 20 min read
Understanding Distributed Locks: Features, Implementations, and Best Practices
JD Tech
JD Tech
May 4, 2023 · Backend Development

Understanding Redis Distributed Locks: Features, Implementations, and Best Practices

This article explains why distributed locks are needed, describes the five essential characteristics of Redis locks, compares three common implementation methods, and provides detailed Java code examples with watchdog, re‑entrancy, and expiration handling to guide developers in building reliable distributed locking solutions.

Distributed LockJavaLua
0 likes · 21 min read
Understanding Redis Distributed Locks: Features, Implementations, and Best Practices
IT Services Circle
IT Services Circle
Mar 31, 2023 · Backend Development

Understanding Distributed Locks and Implementations with Redis and Redisson

This article explains the concept of distributed locks, compares them with local JVM locks, outlines essential properties, demonstrates simple Redis-based lock implementations using SETNX and Lua scripts, discusses lock expiration and renewal, and introduces Redisson's advanced features such as automatic watchdog renewal and the Redlock algorithm.

Distributed LockJavaRedis
0 likes · 13 min read
Understanding Distributed Locks and Implementations with Redis and Redisson
Architect
Architect
Aug 17, 2022 · Backend Development

Understanding Redisson Distributed Locks: Reentrancy, Fairness, and Watchdog Mechanism

This article explains how Redisson implements distributed locks on Redis, covering basic lock concepts, custom Lua scripts for lock acquisition and release, re‑entrant behavior, the automatic lock‑renewal watchdog, and the design of a fair lock using Redis lists and sorted sets.

Distributed LockFair LockJava
0 likes · 29 min read
Understanding Redisson Distributed Locks: Reentrancy, Fairness, and Watchdog Mechanism
Sohu Tech Products
Sohu Tech Products
Aug 10, 2022 · Backend Development

Understanding Redisson Distributed Locks: Reentrancy, Fairness, and Watchdog Mechanism

This article explains how Redisson implements distributed locks on Redis, covering basic concepts, differences from Jedis and Lettuce, the Lua scripts for lock acquisition, reentrancy handling, automatic lease renewal via a watchdog, Pub/Sub based unlock notifications, and the design of a fair lock using Redis lists and sorted sets.

Distributed LockFair LockJava
0 likes · 30 min read
Understanding Redisson Distributed Locks: Reentrancy, Fairness, and Watchdog Mechanism
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 1, 2022 · Mobile Development

Android Black Screen/Freeze Issue Analysis: System Mechanisms and Debugging Techniques

The article dissects Android black-screen and freeze problems by explaining the VSync/Choreographer rendering pipeline, ANR timeout rules, System Server Watchdog monitoring, Handler‑Looper messaging, input event flow, and Window Management Service focus handling, offering developers systematic debugging techniques for these UI stalls.

ANRAndroidBlack Screen
0 likes · 13 min read
Android Black Screen/Freeze Issue Analysis: System Mechanisms and Debugging Techniques
ByteDance Terminal Technology
ByteDance Terminal Technology
Jan 19, 2022 · Mobile Development

Understanding and Optimizing iOS App Freeze and Lag Monitoring with Heimdallr

This article explains the definitions, causes, and monitoring strategies for iOS app freezes and lags, describes the Heimdallr solution based on Runloop event callbacks, discusses ANR and WatchDog handling, and presents practical optimizations and lessons learned for reliable performance monitoring.

ANRHeimdallrRunLoop
0 likes · 13 min read
Understanding and Optimizing iOS App Freeze and Lag Monitoring with Heimdallr
Architecture Digest
Architecture Digest
Jan 11, 2022 · Backend Development

Implementing Distributed Locks with Redis and Redisson Watchdog Mechanism

This article explains how to implement a distributed lock using Redis by setting a unique key-value pair, handling expiration, addressing lock timeout issues, and leveraging Redisson's watchdog mechanism with automatic renewal, including detailed code examples for tryLock, subscription, and renewal processes.

Distributed LockJavaRedis
0 likes · 9 min read
Implementing Distributed Locks with Redis and Redisson Watchdog Mechanism
Sohu Tech Products
Sohu Tech Products
Jan 5, 2022 · Backend Development

Implementing Distributed Locks with Redis and Redisson

This article explains how to implement a distributed lock using Redis, discusses challenges with lock expiration, describes automatic renewal techniques such as watchdog mechanisms, and provides detailed Java code examples of Redisson's tryLock and renewal processes.

Distributed LockJavaRedis
0 likes · 12 min read
Implementing Distributed Locks with Redis and Redisson
Top Architect
Top Architect
Dec 27, 2021 · Backend Development

Redis Distributed Lock Implementation and Redisson Watchdog Mechanism

This article explains how to implement a Redis-based distributed lock, discusses the challenges of lock expiration, introduces automatic renewal strategies such as watchdogs, and provides detailed Redisson tryLock and renewal code examples for reliable concurrency control.

Distributed LockJavaRedis
0 likes · 12 min read
Redis Distributed Lock Implementation and Redisson Watchdog Mechanism
Sohu Tech Products
Sohu Tech Products
May 20, 2020 · Mobile Development

Understanding Deadlocks and Their Prevention in Android Development

This article explains the concept of deadlocks, illustrates classic scenarios such as the dining philosophers problem, shows common lock‑order and multi‑object deadlocks with Java code examples, and details Android's WatchDog mechanism and practical techniques for detecting and avoiding deadlocks in mobile applications.

AndroidJavaconcurrency
0 likes · 21 min read
Understanding Deadlocks and Their Prevention in Android Development
Architecture Digest
Architecture Digest
Apr 12, 2020 · Backend Development

Implementing Distributed Locks with Redisson

This article explains the principles, design considerations, and code implementation of Redisson's distributed lock, covering mutual exclusion, deadlock prevention, performance, reentrancy, watchdog auto‑extension, Lua scripting, and potential pitfalls in Redis sentinel setups.

Distributed LockJavaRedis
0 likes · 8 min read
Implementing Distributed Locks with Redisson
Qunar Tech Salon
Qunar Tech Salon
Aug 31, 2016 · Mobile Development

Understanding ANR (Application Not Responding) in Android: Triggers, Monitoring Mechanisms, and Prevention Strategies

This article explains what ANR is, outlines its three trigger conditions, describes the system's ANR execution flow, compares FileObserver and WatchDog monitoring techniques, shows how to analyze ANR logs and main‑thread stack traces, and provides practical guidelines to avoid ANR in Android applications.

ANRAndroidFileObserver
0 likes · 9 min read
Understanding ANR (Application Not Responding) in Android: Triggers, Monitoring Mechanisms, and Prevention Strategies