Tagged articles
60 articles
Page 1 of 1
Shuge Unlimited
Shuge Unlimited
Feb 2, 2026 · Artificial Intelligence

Moltbook Architecture Deep Dive: Design Philosophy Behind the First OpenClaw AI Agent Social Network

Moltbook is a pioneering AI‑only social platform that lets agents post, comment and like, built with a Next.js front‑end, RESTful API back‑end, semantic vector search, heartbeat checks, dual human/agent modes and strict rate‑limiting to encourage quality over quantity while addressing scalability and security challenges.

HeartbeatMoltbookNext.js
0 likes · 18 min read
Moltbook Architecture Deep Dive: Design Philosophy Behind the First OpenClaw AI Agent Social Network
Open Source Tech Hub
Open Source Tech Hub
Nov 13, 2025 · Fundamentals

Why Heartbeat Mechanisms Are Critical for Distributed System Reliability

This article explains how periodic heartbeat messages enable distributed systems to detect node failures, choose appropriate intervals and timeouts, compare push and pull models, employ advanced detection algorithms like phi and gossip, and apply these concepts in real-world platforms such as Kubernetes, Cassandra, and etcd.

Distributed SystemsFailure DetectionGossip Protocol
0 likes · 22 min read
Why Heartbeat Mechanisms Are Critical for Distributed System Reliability
Sohu Tech Products
Sohu Tech Products
Jun 11, 2025 · Frontend Development

Why WebSocket Is the Secret Weapon for Real‑Time Web Apps

This article explains how WebSocket enables low‑latency, bidirectional communication for AI‑driven real‑time applications, covering its protocol basics, advantages, heartbeat mechanism, connection management challenges, security enhancements, and emerging trends such as WebTransport and integration with modern frameworks.

HeartbeatWebSocketfrontend development
0 likes · 6 min read
Why WebSocket Is the Secret Weapon for Real‑Time Web Apps
Radish, Keep Going!
Radish, Keep Going!
Jan 14, 2025 · Backend Development

How to Detect Inactive Uber Drivers Without Third‑Party Tools: Go Time‑Wheel Solution

This article explores multiple in‑memory strategies—using a simple map with timers, per‑driver goroutine management, and especially a Go‑implemented timing wheel—to identify Uber drivers who haven’t reported for ten minutes, comparing their complexities, memory usage, and suitability for large‑scale systems.

GoHeartbeatIn-Memory
0 likes · 12 min read
How to Detect Inactive Uber Drivers Without Third‑Party Tools: Go Time‑Wheel Solution
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 29, 2024 · Frontend Development

Encapsulating WebSocket with Reconnection, Heartbeat, and Event Handling in JavaScript/TypeScript

This article explains how to wrap WebSocket in a reusable JavaScript/TypeScript class that provides automatic reconnection, heartbeat monitoring, event callbacks, connection state management, and graceful destruction, while also comparing WebSocket advantages over traditional HTTP polling for real‑time H5 applications.

HeartbeatJavaScriptRealtime
0 likes · 14 min read
Encapsulating WebSocket with Reconnection, Heartbeat, and Event Handling in JavaScript/TypeScript
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 21, 2024 · Backend Development

Design and Implementation of a Real-Time Customer Service IM System

This article analyzes the challenges of real-time, reliability, and message ordering in a customer service instant messaging system and presents solutions such as WebSocket adoption, ACK-based reliability, heartbeat mechanisms, and a structured message protocol to ensure efficient and stable communication.

ACK mechanismBackend DevelopmentHeartbeat
0 likes · 11 min read
Design and Implementation of a Real-Time Customer Service IM System
Tencent Cloud Middleware
Tencent Cloud Middleware
Jul 17, 2024 · Cloud Native

How Polaris‑Mesh Server Handles Service Instance Heartbeats and Health Checks

This article explores Polaris‑Mesh’s server‑side health‑check mechanism, detailing how client heartbeat requests are received via gRPC, processed through Apiserver, Resource Auth Filter, Service, Healthcheck, and Checker Plugin, and how the system’s configuration, plugins, and time‑wheel ensure reliable instance health monitoring.

GoHeartbeatPolarisMesh
0 likes · 11 min read
How Polaris‑Mesh Server Handles Service Instance Heartbeats and Health Checks
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 28, 2024 · Frontend Development

Implementing a WebSocket Client with Automatic Reconnection and Heartbeat in TypeScript/JavaScript

This article explains how to build a WebSocket client that supports automatic reconnection after network loss and periodic heartbeat messages, provides a drop‑in API compatible with the native WebSocket interface, and includes complete TypeScript and JavaScript implementations with detailed code examples.

HeartbeatTypeScriptWebSocket
0 likes · 19 min read
Implementing a WebSocket Client with Automatic Reconnection and Heartbeat in TypeScript/JavaScript
MaGe Linux Operations
MaGe Linux Operations
Jan 7, 2024 · Backend Development

How Zookeeper Guarantees Reliable Session Management with Heartbeats

This article explains Zookeeper's session management mechanism, detailing why TCP alone is insufficient for client liveness detection, how Zookeeper implements its own heartbeat protocol, and the internal data structures and algorithms—including expiryMap and SessionTracker—that efficiently track and expire sessions.

Distributed SystemsHeartbeatJava
0 likes · 12 min read
How Zookeeper Guarantees Reliable Session Management with Heartbeats
Su San Talks Tech
Su San Talks Tech
Jan 3, 2024 · Backend Development

How Nacos Implements Service Registration: From Ephemeral Instances to CP/AP Consistency

This article deep‑dives into Nacos as a service registry, explaining the differences between temporary and permanent instances, registration mechanisms across 1.x and 2.x versions, heartbeat and health‑check strategies, service discovery methods, data‑consistency models, and the underlying data model that powers Nacos clusters.

ConsistencyHeartbeatNacos
0 likes · 28 min read
How Nacos Implements Service Registration: From Ephemeral Instances to CP/AP Consistency
Open Source Tech Hub
Open Source Tech Hub
Dec 10, 2023 · Backend Development

Why WebSocket Heartbeat Is Essential and How to Implement It

This article explains why heartbeat detection is crucial for WebSocket connections, describes the underlying Ping/Pong mechanism, details server and client configuration parameters, and provides complete code examples for implementing reliable heartbeat and reconnection logic.

BackendHeartbeatPHP
0 likes · 9 min read
Why WebSocket Heartbeat Is Essential and How to Implement It
Top Architect
Top Architect
Nov 23, 2023 · Backend Development

Understanding Nacos Architecture and Service Registration in Spring Cloud

This article explains the Nacos architecture, the principles of service registration, how Spring Cloud integrates with Nacos for automatic registration, the implementation details of NacosServiceRegistry, heartbeat mechanisms, service address queries, and dynamic service discovery, providing a comprehensive guide for backend developers working with microservices.

HeartbeatNacosRegistration
0 likes · 10 min read
Understanding Nacos Architecture and Service Registration in Spring Cloud
Architecture Digest
Architecture Digest
Oct 8, 2023 · Cloud Native

Nacos Architecture and Service Registration Mechanism in Spring Cloud

This article explains Nacos's architecture, the principles of service registration and discovery, how Spring Cloud integrates Nacos through auto‑configuration and event listeners, and details the registration, heartbeat, and dynamic address update mechanisms used by Nacos servers and clients.

Consistent ProtocolHeartbeatMicroservices
0 likes · 7 min read
Nacos Architecture and Service Registration Mechanism in Spring Cloud
ShiZhen AI
ShiZhen AI
Oct 11, 2022 · Backend Development

How Kafka Consumer Clients Send and Manage Heartbeat Requests

The article walks through the Kafka consumer heartbeat lifecycle, detailing how the HeartbeatThread is started, paused, and used to send heartbeat and LeaveGroup requests, how the GroupCoordinator validates and processes these requests, the client’s response handling, and the resulting state transitions illustrated with diagrams.

ConsumerGroupCoordinatorHeartbeat
0 likes · 14 min read
How Kafka Consumer Clients Send and Manage Heartbeat Requests
Top Architect
Top Architect
Aug 15, 2022 · Cloud Native

Understanding Nacos Architecture and Service Registration in Spring Cloud

This article explains Nacos's core components, the principles of service registration and health checking, how Spring Cloud integrates Nacos via ServiceRegistry and AutoServiceRegistration, the implementation details of NacosServiceRegistry, heartbeat mechanisms, and dynamic service address discovery using HostReactor.

HeartbeatMicroservicesNacos
0 likes · 9 min read
Understanding Nacos Architecture and Service Registration in Spring Cloud
Top Architect
Top Architect
Jul 29, 2022 · Cloud Native

Understanding Nacos Architecture and Service Registration in Spring Cloud

This article explains the Nacos architecture, its components, and how Spring Cloud integrates with Nacos for service registration, health checking, and dynamic service discovery, detailing the underlying mechanisms, code implementations, and the role of heartbeats in maintaining service health.

Cloud NativeHeartbeatMicroservices
0 likes · 8 min read
Understanding Nacos Architecture and Service Registration in Spring Cloud
Code Ape Tech Column
Code Ape Tech Column
Jun 30, 2022 · Backend Development

Implementing a Timing Wheel for RPC Timeout and Heartbeat Tasks

This article explains the problems caused by naive timer implementations in high‑concurrency RPC frameworks and introduces the timing‑wheel mechanism, illustrating its principles, multi‑level design, and practical applications such as request timeout, startup timeout, and heartbeat handling.

HeartbeatRPCtiming wheel
0 likes · 12 min read
Implementing a Timing Wheel for RPC Timeout and Heartbeat Tasks
Sanyou's Java Diary
Sanyou's Java Diary
Jun 27, 2022 · Backend Development

How Eureka’s Heartbeat Keeps Microservices Alive: A Deep Dive

This article explores how Eureka’s heartbeat mechanism works in microservice architectures, comparing it to the Tang dynasty tribute system, and details who sends the heartbeat, its interval, the sending process, server handling, and the actions performed after receipt, with code examples and thread‑pool configuration.

HeartbeatMicroserviceseureka
0 likes · 7 min read
How Eureka’s Heartbeat Keeps Microservices Alive: A Deep Dive
ITPUB
ITPUB
Jun 21, 2022 · Backend Development

How Eureka’s Heartbeat Keeps Microservices Alive: A Deep Dive into Service Renewal

This article explains the Eureka heartbeat mechanism in microservice architectures, covering who sends the heartbeat, its scheduling interval, the request construction, server-side handling, and how the lease information is updated to determine service liveness.

Backend DevelopmentCloud NativeHeartbeat
0 likes · 6 min read
How Eureka’s Heartbeat Keeps Microservices Alive: A Deep Dive into Service Renewal
Wukong Talks Architecture
Wukong Talks Architecture
Jun 20, 2022 · Backend Development

Understanding the Eureka Service Heartbeat Mechanism in Microservices

This article explains how Eureka’s heartbeat mechanism works in microservice architectures, covering who sends the heartbeat, the scheduling interval, the request implementation, server-side handling, and the effect on service registration, using code examples and analogies to historical tribute systems.

Distributed SystemsHeartbeatJava
0 likes · 6 min read
Understanding the Eureka Service Heartbeat Mechanism in Microservices
ELab Team
ELab Team
Jan 25, 2022 · Frontend Development

Mastering WebSocket in WeChat Mini‑Programs: Handshake, Optimization & Real‑World Tips

This article explains the WebSocket handshake protocol, compares short‑polling, long‑polling, and WebSocket connections, and shares practical implementations in WeChat mini‑programs—including authentication, heartbeat, RTT simulation, compression, reconnection strategies, caching, and TCP_NODELAY tuning, complete with code examples.

HeartbeatWeChat Mini ProgramWebSocket
0 likes · 9 min read
Mastering WebSocket in WeChat Mini‑Programs: Handshake, Optimization & Real‑World Tips
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Jan 13, 2022 · Operations

Detecting and Recovering Unhealthy Nodes in Microservice Architectures

This article explores various service health‑checking techniques in microservice environments, detailing how consumers, providers, and registration centers can identify unhealthy nodes through passive and active checks, heartbeat mechanisms, TCP connection monitoring, and registration‑center probing, while weighing trade‑offs in reliability, timeliness, and resource consumption.

Heartbeatnode monitoringservice discovery
0 likes · 11 min read
Detecting and Recovering Unhealthy Nodes in Microservice Architectures
Top Architect
Top Architect
Oct 12, 2021 · Cloud Native

Understanding Nacos Architecture and Service Registration in Spring Cloud

This article explains the architecture of Nacos, its core components such as Provider/Consumer apps, Name Server, Nacos Server and Console, and details how Spring Cloud integrates with Nacos for service registration, heartbeat monitoring, dynamic address discovery, and the underlying Open API/SDK mechanisms.

Cloud NativeHeartbeatMicroservices
0 likes · 7 min read
Understanding Nacos Architecture and Service Registration in Spring Cloud
JavaEdge
JavaEdge
May 6, 2021 · Backend Development

Shielding Service Registries from Network Jitters with Heartbeat Switches

The article explains how network jitter can cause service registries to mistakenly drop providers, and presents heartbeat‑switch protection, node‑removal thresholds, and a static‑registry approach to keep consumer requests stable while minimizing latency and avalanche effects.

HeartbeatMicroservicesregistry protection
0 likes · 7 min read
Shielding Service Registries from Network Jitters with Heartbeat Switches
Code Ape Tech Column
Code Ape Tech Column
Feb 2, 2021 · Backend Development

Implementing Heartbeat and Reconnection Mechanisms with Netty in Java

This article explains the concept of TCP heartbeat, demonstrates how to use Netty's IdleStateHandler to implement client‑server heartbeat detection, and provides a complete Java example with reconnection logic, retry policies, and detailed code snippets for building a robust long‑connection service.

HeartbeatJavaNetty
0 likes · 18 min read
Implementing Heartbeat and Reconnection Mechanisms with Netty in Java
Top Architect
Top Architect
Feb 1, 2021 · Backend Development

Implementing Heartbeat Mechanism and Reconnection Logic with Netty

This article explains how to implement a TCP heartbeat mechanism using Netty's IdleStateHandler, details client and server handler implementations, and demonstrates a robust reconnection strategy with customizable retry policies, providing complete Java code examples for each component.

HeartbeatNetworkingTCP
0 likes · 19 min read
Implementing Heartbeat Mechanism and Reconnection Logic with Netty
Open Source Tech Hub
Open Source Tech Hub
Jan 23, 2021 · Frontend Development

Mastering Real‑Time Chat in WeChat Mini‑Programs with WebSocket

This guide explains how to use WebSocket in a WeChat Mini‑Program to implement real‑time features such as live‑room comments, user join/leave events, likes, follows, and product shelf updates, covering protocol basics, handshake details, API usage, example code, heartbeat monitoring, and automatic reconnection strategies.

HeartbeatJavaScriptWeChat Mini Program
0 likes · 14 min read
Mastering Real‑Time Chat in WeChat Mini‑Programs with WebSocket
ITPUB
ITPUB
Jan 10, 2021 · Databases

Redis Replication Deep Dive: Full Sync, Partial Sync, Heartbeat & Async Copy

This article explains Redis's replication mechanism in detail, covering the step-by-step copy process, data synchronization via PSYNC, full and partial synchronization workflows, heartbeat management, and asynchronous replication, while highlighting key commands, offsets, run IDs, and performance considerations.

AsynchronousFull SyncHeartbeat
0 likes · 13 min read
Redis Replication Deep Dive: Full Sync, Partial Sync, Heartbeat & Async Copy
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 18, 2020 · Databases

Analyzing MySQL Replication Heartbeat Incompatibility Caused by Large Binlog Transactions

The article investigates why MySQL replication reports the error “heartbeat is not compatible with local info” when large transactions exceed the 4 GB limit of the binlog's next_position field, reproduces the issue with a controlled experiment, analyzes packet structures, and proposes practical mitigation strategies.

HeartbeatLarge TransactionsReplication
0 likes · 7 min read
Analyzing MySQL Replication Heartbeat Incompatibility Caused by Large Binlog Transactions
Top Architect
Top Architect
Jul 24, 2020 · Backend Development

Implementing a Custom Protocol with Netty: Design, Encoding/Decoding, and Heartbeat

This article explains why a custom TCP protocol can be more efficient than HTTP, defines the protocol header and body format, and demonstrates a complete Netty implementation—including message classes, encoders/decoders, resolver factories, server‑client bootstraps, and a Ping/Pong heartbeat mechanism—complete with runnable Java code and sample output.

HeartbeatJavaMessage Encoding
0 likes · 15 min read
Implementing a Custom Protocol with Netty: Design, Encoding/Decoding, and Heartbeat
Architecture Digest
Architecture Digest
Jul 19, 2020 · Backend Development

Implementing a Custom Protocol with Netty: Design, Encoding/Decoding, and Heartbeat

This article explains why a custom protocol can be more efficient than HTTP for service-to-service communication, defines a simple binary protocol with header and body, and demonstrates a complete Netty implementation—including message classes, encoders/decoders, resolvers, heartbeat handling, and client/server examples.

BackendHeartbeatJava
0 likes · 18 min read
Implementing a Custom Protocol with Netty: Design, Encoding/Decoding, and Heartbeat
58 Tech
58 Tech
Jun 17, 2020 · Backend Development

Hermes: A Lightweight, High‑Reliability Mobile Message Push System Based on MQTT and Protocol Buffers

The article presents Hermes, a lightweight and highly reliable mobile push system built with MQTT and Protocol Buffers, detailing its background, technology selection, architecture, heartbeat and reconnection strategies, future optimizations, and practical results that achieve over 99% message delivery rate.

HeartbeatMQTTProtocol Buffers
0 likes · 16 min read
Hermes: A Lightweight, High‑Reliability Mobile Message Push System Based on MQTT and Protocol Buffers
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 8, 2020 · Databases

DBLE Heartbeat Detection Module: Purpose and Source Code Analysis

This article explains the purpose of DBLE's heartbeat detection, including high‑availability switching, read load balancing, and idle connection management, and provides a detailed walkthrough of the module's source code—from the Scheduler initialization to the MySQLHeartbeat implementation—illustrating how the system monitors MySQL instance status.

DBLEHeartbeatmysql
0 likes · 8 min read
DBLE Heartbeat Detection Module: Purpose and Source Code Analysis
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 17, 2019 · Databases

Understanding MySQL Slave Net Timeout, Master Heartbeat Period, and Their Impact on Relay Log Accumulation

The article analyzes a MySQL replication issue where a low slave_net_timeout combined with a larger MASTER_HEARTBEAT_PERIOD causes frequent zombie dump threads, leading to massive small relay‑log files, and provides detailed explanations, code references, and step‑by‑step remediation procedures.

Heartbeatdatabasesmysql
0 likes · 14 min read
Understanding MySQL Slave Net Timeout, Master Heartbeat Period, and Their Impact on Relay Log Accumulation
21CTO
21CTO
May 30, 2019 · Databases

Mastering Redis Replication: From Sync Process to Partial and Full Copy

This article provides a comprehensive walkthrough of Redis replication, detailing the step‑by‑step sync process, data synchronization mechanisms, full and partial copy workflows, heartbeat design, and asynchronous replication, while highlighting key commands like PSYNC and their practical implications.

Asynchronous ReplicationFull SyncHeartbeat
0 likes · 13 min read
Mastering Redis Replication: From Sync Process to Partial and Full Copy
Didi Tech
Didi Tech
May 17, 2019 · Databases

Ceph Distributed Storage System – Architecture, IO Processes, Heartbeat, Communication Framework, CRUSH Algorithm, and Custom QoS

The article comprehensively explains Ceph’s distributed storage architecture—including monitors, OSDs, MDS, and RADOS—its block, file, and object services, its detailed I/O and heartbeat processes, the publish/subscribe communication framework, the deterministic CRUSH placement algorithm, and a token‑bucket based custom QoS for RBD.

CRUSH algorithmCephHeartbeat
0 likes · 22 min read
Ceph Distributed Storage System – Architecture, IO Processes, Heartbeat, Communication Framework, CRUSH Algorithm, and Custom QoS
MaGe Linux Operations
MaGe Linux Operations
Mar 8, 2019 · Operations

Mastering High‑Availability Clusters: Resources, Constraints, and Failure Handling

This article explains the principles and components of high‑availability (HA) clusters, covering active/standby nodes, resource stickiness and constraints, heartbeat and quorum mechanisms, split‑brain avoidance, failure detection methods, and the minimal setup required for a reliable web‑service HA deployment.

HeartbeatOperationsResource Management
0 likes · 14 min read
Mastering High‑Availability Clusters: Resources, Constraints, and Failure Handling
Architecture Digest
Architecture Digest
Jul 15, 2018 · Cloud Computing

Ceph Architecture Overview: Features, Core Components, IO Workflow, Heartbeat, Communication Framework, CRUSH Algorithm, and QoS

This article provides a comprehensive technical overview of Ceph, covering its architecture, key components, storage interfaces, IO processes, heartbeat mechanisms, communication framework, CRUSH data placement algorithm, and customizable QoS strategies for distributed storage systems.

CRUSHCephHeartbeat
0 likes · 24 min read
Ceph Architecture Overview: Features, Core Components, IO Workflow, Heartbeat, Communication Framework, CRUSH Algorithm, and QoS
Qunar Tech Salon
Qunar Tech Salon
May 25, 2018 · Backend Development

Analysis of Memcached Failure and Consistent Hashing Mechanism in XMemcached Client

This article presents a detailed failure analysis of a memcached service outage, explaining how the XMemcached client uses consistent hashing and heartbeat mechanisms to manage sessions, the impact of server loss on request latency, and the verification steps and solution to reduce session timeout and improve recovery.

BackendHeartbeatMemcached
0 likes · 13 min read
Analysis of Memcached Failure and Consistent Hashing Mechanism in XMemcached Client
dbaplus Community
dbaplus Community
Aug 24, 2016 · Databases

Choosing the Right MySQL HA Architecture: Master‑Slave, Dual‑Master, Heartbeat+DRBD, and GTID

This article examines common MySQL high‑availability designs—including single master‑slave, dual‑master with multiple slaves, Heartbeat + DRBD, MySQL Cluster, semi‑synchronous replication, and GTID—explaining their benefits, drawbacks, and practical considerations for reliable failover and scalability.

DRBDDatabase ArchitectureGTID
0 likes · 9 min read
Choosing the Right MySQL HA Architecture: Master‑Slave, Dual‑Master, Heartbeat+DRBD, and GTID
MaGe Linux Operations
MaGe Linux Operations
Jan 14, 2016 · Operations

Mastering High‑Availability Clusters: Concepts, Architecture, and Heartbeat Setup

This guide explains the fundamental concepts and layered architecture of high‑availability clusters, details the software components for each layer, compares RHEL/CentOS solutions, and provides step‑by‑step instructions for configuring heartbeat2 with haresource, including node preparation, authentication, resource definitions, and service failover.

HeartbeatLinuxRHEL
0 likes · 15 min read
Mastering High‑Availability Clusters: Concepts, Architecture, and Heartbeat Setup
WeChat Client Technology Team
WeChat Client Technology Team
Aug 17, 2015 · Backend Development

How We Optimized WeChat’s Heartbeat to Cut Power and Bandwidth Usage

This article details the analysis and redesign of Line, WhatsApp, and WeChat heartbeat mechanisms, presenting a simplified adaptive heartbeat algorithm, its testing methodology, comparative push strategies, GCM characteristics, and practical improvement suggestions to reduce power consumption, network load, and latency.

AndroidGCMHeartbeat
0 likes · 22 min read
How We Optimized WeChat’s Heartbeat to Cut Power and Bandwidth Usage
Baidu Tech Salon
Baidu Tech Salon
Apr 7, 2014 · Operations

Network-Based Read-Only Root Filesystem with High Availability

The article outlines a Linux server architecture that mounts a read‑only root filesystem over the network from a centrally managed, DRBD‑replicated control node with Heartbeat failover, providing real‑time updates, high security (even root cannot modify), and automatic migration via virtual IP.

DRBDHeartbeatNFS
0 likes · 4 min read
Network-Based Read-Only Root Filesystem with High Availability