Tagged articles
366 articles
Page 1 of 4
Architect's Guide
Architect's Guide
Apr 18, 2026 · Databases

How to Import 1 Billion Records into MySQL at Lightning Speed

This article analyzes the constraints of loading a billion 1‑KB log records from HDFS/S3 into MySQL, evaluates single‑table limits, proposes batch inserts, sharding, file‑reading techniques, task coordination with Redis, Redisson, and Zookeeper, and offers practical performance‑tuning recommendations.

Bulk InsertZooKeeperdata import
0 likes · 21 min read
How to Import 1 Billion Records into MySQL at Lightning Speed
Ray's Galactic Tech
Ray's Galactic Tech
Jan 13, 2026 · Cloud Native

Choosing the Right Service Discovery: ZooKeeper vs Eureka vs Nacos

This article provides an in‑depth technical comparison of ZooKeeper, Eureka and Nacos, covering their positioning, core models, suitable scenarios, features, drawbacks, implementation differences, operational best practices, Kubernetes integration, future trends, and concrete recommendations for selecting the appropriate component in Spring Cloud architectures.

MicroservicesNacosSpring Cloud
0 likes · 10 min read
Choosing the Right Service Discovery: ZooKeeper vs Eureka vs Nacos
Ray's Galactic Tech
Ray's Galactic Tech
Nov 24, 2025 · Cloud Native

Choosing the Right Service Registry: Deep Comparison of Nacos, Zookeeper, and Consul

This guide provides a comprehensive, dimension‑by‑dimension analysis of Nacos, Zookeeper, and Consul—covering architecture, consistency models, health‑check mechanisms, deployment patterns, client language support, performance, security, and practical recommendations—to help engineers select the most suitable service‑registry solution for their microservice ecosystem.

ConsulMicroservicesNacos
0 likes · 10 min read
Choosing the Right Service Registry: Deep Comparison of Nacos, Zookeeper, and Consul
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Oct 28, 2025 · Databases

Why HBase Can’t Connect to Zookeeper and How to Fix It

This guide explains why HBase may fail to connect to Zookeeper in distributed storage environments and provides step‑by‑step troubleshooting, including service checks, configuration validation, network testing, log analysis, version compatibility, service restarts, and Java code examples with retry logic.

ConfigurationHBaseJava
0 likes · 11 min read
Why HBase Can’t Connect to Zookeeper and How to Fix It
Raymond Ops
Raymond Ops
Oct 21, 2025 · Big Data

Deep Dive into Kafka Architecture: Topics, Partitions, and Reliable Data Pipelines

This article explains Kafka’s core concepts—including topics, partitions, log segmentation, indexing, and acknowledgment mechanisms—then provides a step‑by‑step guide to deploy a Zookeeper‑Kafka cluster integrated with Filebeat, Logstash, and the ELK stack for reliable log collection and analysis.

Big DataELKFilebeat
0 likes · 11 min read
Deep Dive into Kafka Architecture: Topics, Partitions, and Reliable Data Pipelines
Code Wrench
Code Wrench
Sep 5, 2025 · Backend Development

Mastering Distributed Locks in Go: Principles, Implementations, and Pitfalls

This article explains the fundamentals of distributed locks, compares Redis, etcd, ZooKeeper and database approaches, provides practical Go code examples, highlights common mistakes, and offers optimization tips so developers can confidently apply the right locking strategy in real-world systems.

BackendGolangZooKeeper
0 likes · 12 min read
Mastering Distributed Locks in Go: Principles, Implementations, and Pitfalls
vivo Internet Technology
vivo Internet Technology
Aug 13, 2025 · Operations

Mastering Ansible Playbooks for Automated Pulsar Cluster Deployment

This guide walks through Pulsar's operational challenges and demonstrates how to use Ansible Playbooks—including syntax, modules, roles, variables, and task dependencies—to fully automate the deployment of Zookeeper and Pulsar clusters, dramatically reducing manual effort and configuration errors.

AnsibleAutomationDevOps
0 likes · 29 min read
Mastering Ansible Playbooks for Automated Pulsar Cluster Deployment
Tech Freedom Circle
Tech Freedom Circle
Jul 12, 2025 · Cloud Native

Service Discovery Interview: Should You Choose CP or AP? Why?

The article explains why service discovery is essential in cloud‑native microservices, reviews the CAP theorem, compares CP and AP architectures, analyzes ZooKeeper, Eureka, and Nacos implementations, highlights their trade‑offs, and concludes that AP is usually preferred for availability in service discovery scenarios.

AP vs CPCAP theoremMicroservices
0 likes · 15 min read
Service Discovery Interview: Should You Choose CP or AP? Why?
vivo Internet Technology
vivo Internet Technology
Jul 9, 2025 · Big Data

Why Pulsar Partition Metrics Vanish After Broker Restart? Root Cause & Fix

During a gray‑scale upgrade, a Vivo Pulsar deployment using the KoP protocol experienced a sudden drop in partition consumption rates because the consumer group name vanished from Zookeeper nodes, prompting an in‑depth analysis of the root cause, replication steps, and three progressively refined remediation strategies.

BrokerConsumer MetricsKoP
0 likes · 13 min read
Why Pulsar Partition Metrics Vanish After Broker Restart? Root Cause & Fix
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Jun 16, 2025 · Backend Development

Mastering ZooKeeper: 7 Real-World Use Cases and Code Samples

ZooKeeper is an open‑source distributed coordination service that provides a simple, efficient mechanism for managing shared state, and this guide explores seven typical scenarios—including distributed locks, service registration, configuration management, queues, leader election, notifications, and barriers—complete with Java code examples and usage details.

Configuration ManagementDistributed CoordinationJava
0 likes · 9 min read
Mastering ZooKeeper: 7 Real-World Use Cases and Code Samples
Raymond Ops
Raymond Ops
May 7, 2025 · Operations

How Kafka Elects Leaders and Distributes Partitions: Inside the Mechanics

Kafka’s internal mechanisms for leader election, partition assignment, and file storage are explained, covering how the Controller uses ZooKeeper, the ISR-based leader selection process, partition distribution strategies, segment file structures, and the evolution of offset management from Zookeeper to the __consumer_offsets topic.

KafkaOffsetsPartition Assignment
0 likes · 5 min read
How Kafka Elects Leaders and Distributes Partitions: Inside the Mechanics
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.

Lock4jSpring BootZooKeeper
0 likes · 6 min read
Guide to Using Lock4j Distributed Lock Component in Spring Boot
Su San Talks Tech
Su San Talks Tech
Apr 4, 2025 · Backend Development

Master Ant Group Backend Interview: Java, MySQL, TCP, Zookeeper & Redis Secrets

This article walks through Ant Group's bonus structure, explains Java heap vs stack, String object creation, TCP packet issues, MySQL index types, B+‑tree advantages, database lock mechanisms, and shows how Zookeeper and Redis implement distributed coordination and locking, providing concrete code examples and best‑practice recommendations.

JavaTCPZooKeeper
0 likes · 27 min read
Master Ant Group Backend Interview: Java, MySQL, TCP, Zookeeper & Redis Secrets
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Mar 20, 2025 · Backend Development

Comprehensive Guide to Apache Zookeeper: Architecture, Use Cases, and Commands

This article provides an in‑depth overview of Apache Zookeeper, covering its core concepts, common application scenarios such as pub/sub, configuration management and naming services, detailed architecture including znodes and node types, the watch mechanism, ZAB consensus protocol, and practical usage examples with Maven dependencies, Java client code, and command‑line operations.

Backend DevelopmentCoordination ServiceDistributed Systems
0 likes · 9 min read
Comprehensive Guide to Apache Zookeeper: Architecture, Use Cases, and Commands
Lobster Programming
Lobster Programming
Feb 10, 2025 · Backend Development

How to Choose the Right Distributed Lock: DB, Redis, or ZooKeeper?

This article explains the concept of distributed locks and compares three common implementation approaches—using a database, Redis, and ZooKeeper—detailing their mechanisms, advantages, drawbacks, and suitable scenarios for ensuring consistent access to shared resources in distributed systems.

BackendZooKeeperconcurrency
0 likes · 7 min read
How to Choose the Right Distributed Lock: DB, Redis, or ZooKeeper?
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 theoremJavaZooKeeper
0 likes · 24 min read
Implementation Principles of Distributed Locks with Redis and Zookeeper
Tencent Cloud Developer
Tencent Cloud Developer
Nov 14, 2024 · Cloud Native

ZooKeeper Core Knowledge and Typical Application Scenarios

Although many platforms are dropping ZooKeeper, this guide explains its CP‑oriented architecture, znode structure, watcher mechanism, Zab consensus, leader election, and common patterns such as publish/subscribe, load balancing, naming, master election, distributed locks and queues, giving architects essential fundamentals for coordination services.

Consensus AlgorithmDistributed CoordinationKafka
0 likes · 25 min read
ZooKeeper Core Knowledge and Typical Application Scenarios
macrozheng
macrozheng
Nov 5, 2024 · Backend Development

Mastering Global Unique ID Generation: 7 Proven Strategies for Distributed Systems

This article explores seven practical approaches to generating globally unique identifiers in distributed environments, covering database‑level configurations, MySQL auto‑increment tweaks, MyCat + Zookeeper integration, UUID limitations, Snowflake algorithm implementation, Meituan's Leaf service, Redis counters, and Zookeeper sequential nodes, providing code snippets and configuration guidance.

ZooKeeperdistributed-idglobal ID
0 likes · 18 min read
Mastering Global Unique ID Generation: 7 Proven Strategies for Distributed Systems
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.

Batch InsertPerformance OptimizationZooKeeper
0 likes · 17 min read
Designing an Efficient Pipeline for Importing One Billion Records into MySQL
Su San Talks Tech
Su San Talks Tech
Sep 15, 2024 · Backend Development

Mastering Distributed ID Generation: From UUID to Snowflake and Beyond

This article explores common distributed ID generation strategies—including UUID, database auto‑increment, segment allocation, Redis, Zookeeper, Snowflake, and open‑source solutions like Leaf, Tinyid, and Baidu UID‑Generator—detailing their principles, advantages, drawbacks, and implementation examples for high‑performance backend systems.

LeafTinyidZooKeeper
0 likes · 17 min read
Mastering Distributed ID Generation: From UUID to Snowflake and Beyond
Su San Talks Tech
Su San Talks Tech
Sep 8, 2024 · Operations

Choosing the Right Service Registry: Zookeeper, Eureka, Nacos, Consul, Etcd

This article provides a comprehensive overview of five popular service registries—Zookeeper, Eureka, Nacos, Consul, and Etcd—covering their core concepts, CAP trade‑offs, underlying protocols, implementation details, and practical guidance for selecting the most suitable registry for microservice architectures.

ConsulMicroservicesNacos
0 likes · 26 min read
Choosing the Right Service Registry: Zookeeper, Eureka, Nacos, Consul, Etcd
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.

Batch InsertData PartitioningZooKeeper
0 likes · 18 min read
Strategies for Fast Import of 1 Billion Records into MySQL
Sohu Tech Products
Sohu Tech Products
Aug 14, 2024 · Backend Development

Root Cause Analysis of Zookeeper‑Dubbo Failure and Automated Migration of Dubbo Services to Spring Cloud

The article diagnoses a 2023 Dubbo outage caused by Zookeeper’s jute.maxbuffer limit being exceeded by millions of temporary nodes, explains why Zookeeper’s CP model is ill‑suited for service registries, and outlines an automated migration to Spring Cloud using generated REST controllers and proxies that achieve comparable performance, especially for larger payloads.

DubboPerformance TestingSpring Cloud
0 likes · 22 min read
Root Cause Analysis of Zookeeper‑Dubbo Failure and Automated Migration of Dubbo Services to Spring Cloud
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 6, 2024 · Operations

ZooKeeper Core Concepts: Data Model, Node Types, Sessions, Cluster, Election, ZAB, Watch, ACL, and Distributed Lock Patterns

This article explains ZooKeeper's hierarchical data model, node types, session mechanism, cluster roles and election process, ZAB protocol, watch mechanism, ACL permissions, and common distributed lock implementations, providing a comprehensive overview of its core concepts and practical usage.

ACLCluster ManagementCoordination Service
0 likes · 17 min read
ZooKeeper Core Concepts: Data Model, Node Types, Sessions, Cluster, Election, ZAB, Watch, ACL, and Distributed Lock Patterns
DataFunTalk
DataFunTalk
Jul 11, 2024 · Backend Development

Performance Optimizations and Benchmark Analysis of RaftKeeper v2.1.0

The article presents a detailed engineering analysis of RaftKeeper v2.1.0, describing benchmark methodology, performance gains across create, mixed, and list workloads, and four major optimizations—including response serialization parallelism, list‑request handling, system‑call reduction, thread‑pool redesign, and asynchronous snapshot processing—demonstrating substantial throughput and latency improvements in large‑scale ClickHouse deployments.

CClickHouseRaftKeeper
0 likes · 12 min read
Performance Optimizations and Benchmark Analysis of RaftKeeper v2.1.0
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 11, 2024 · Databases

ClickHouse Data Recovery Procedure for a Failed Disk in a 4‑Shard 3‑Replica Cluster

This article details a step‑by‑step recovery of a ClickHouse 4‑shard, 3‑replica cluster after a node’s disks failed, covering verification of residual data, Zookeeper metadata cleanup, table reconstruction, distributed table restoration, and validation of synchronization across replicas.

Data RecoveryDatabase operationsDistributed Systems
0 likes · 8 min read
ClickHouse Data Recovery Procedure for a Failed Disk in a 4‑Shard 3‑Replica Cluster
Su San Talks Tech
Su San Talks Tech
Jun 11, 2024 · Backend Development

Choosing the Right Service Registry: Zookeeper, Eureka, Nacos, Consul, and Etcd Compared

This comprehensive guide explains the fundamentals, CAP trade‑offs, and core algorithms of service registries, then details Zookeeper, Eureka, Nacos, Consul, and Etcd features, compares them across health checks, multi‑datacenter support, KV storage, and provides practical selection advice for developers and architects.

ConsulNacosZooKeeper
0 likes · 23 min read
Choosing the Right Service Registry: Zookeeper, Eureka, Nacos, Consul, and Etcd Compared
Top Architect
Top Architect
May 15, 2024 · Backend Development

Implementing a Simple Java RPC Framework: Architecture, Service Registration, Serialization, and Proxy Generation

This article explains the principles and implementation of a Java RPC framework, covering service registration with Zookeeper, serialization, compression, network communication via Netty, dynamic proxy generation using reflection and Javassist, and performance considerations, providing extensive code examples for each component.

Distributed SystemsJavaJavassist
0 likes · 25 min read
Implementing a Simple Java RPC Framework: Architecture, Service Registration, Serialization, and Proxy Generation
DeWu Technology
DeWu Technology
Apr 8, 2024 · Operations

Analyzing and Optimizing ZooKeeper WatchManager Memory Usage

By replacing ZooKeeper’s default WatchManager hash‑set tables with concurrent maps and bitmap‑based structures, the authors cut watch‑related heap usage from several gigabytes to under 12 MB, lowered lock contention, and achieved 5‑6× latency gains, delivering up to 91 % memory reduction and ten‑fold SLA improvement in production clusters.

JavaMemory OptimizationPerformance Testing
0 likes · 13 min read
Analyzing and Optimizing ZooKeeper WatchManager Memory Usage
Java Tech Enthusiast
Java Tech Enthusiast
Mar 24, 2024 · Backend Development

Global ID Generation Strategies for Distributed Systems

The article surveys common global ID generation strategies for distributed systems—database‑managed approaches like MySQL auto‑increment and MyCat‑Zookeeper, and Java‑based methods such as UUID, Snowflake, Leaf, Redis INCRBY and direct Zookeeper—comparing their trade‑offs and recommending Leaf (segment or Snowflake mode) or MyCat‑Zookeeper for reliable, scalable identifiers.

BackendLeafZooKeeper
0 likes · 15 min read
Global ID Generation Strategies for Distributed Systems
Architect
Architect
Feb 29, 2024 · Cloud Native

Which Service Registry Should You Choose? Zookeeper, Eureka, Nacos, Consul, or Etcd

This comprehensive guide analyzes the core concepts, CAP trade‑offs, consensus algorithms, and practical deployment details of Zookeeper, Eureka, Nacos, Consul, and Etcd, providing concrete examples and selection criteria to help engineers and architects decide the most suitable service registry for their micro‑service environments.

CAP theoremConsulMicroservices
0 likes · 26 min read
Which Service Registry Should You Choose? Zookeeper, Eureka, Nacos, Consul, or Etcd
Sohu Tech Products
Sohu Tech Products
Feb 21, 2024 · Operations

Troubleshooting and Recovery of ZooKeeper Election Port Failure in a Codis Cache Cluster

When adding a ZooKeeper observer to a Codis cache cluster, the election port (3888) was unreachable because the QuorumCnxManager listener thread vanished, prompting telnet and log checks, and leading to a successful recovery by rolling upgrade to ZooKeeper 3.4.13, rebuilding the data directory, performing a rolling restart, and decommissioning the temporary node, thereby restoring full cluster quorum and normal Codis‑Proxy operation.

Cluster RecoveryQuorumCnxManagerVersion Upgrade
0 likes · 10 min read
Troubleshooting and Recovery of ZooKeeper Election Port Failure in a Codis Cache Cluster
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Feb 19, 2024 · Fundamentals

Comprehensive Overview of Zookeeper: Core Features, Architecture, Protocols, and Use Cases

This article provides a detailed introduction to Zookeeper, covering its role as a distributed coordination service, core functionalities such as a file‑system‑like data model, notification and cluster management, the ZAB consensus protocol, node types, leader election, distributed lock implementation, and typical application scenarios.

Distributed CoordinationZAB ProtocolZnode
0 likes · 9 min read
Comprehensive Overview of Zookeeper: Core Features, Architecture, Protocols, and Use Cases
Zhuanzhuan Tech
Zhuanzhuan Tech
Feb 7, 2024 · Operations

Recovering a ZooKeeper Cluster with Codis: Diagnosis, Testing, and Migration Strategies

This article details a real‑world investigation of a ZooKeeper election‑port failure that prevented adding observer nodes to a Codis cache cluster, outlines systematic connectivity checks, log analysis, and two migration plans, and finally presents step‑by‑step procedures for rolling upgrades, configuration adjustments, and successful cluster restoration.

Cluster RecoveryCodisLog Management
0 likes · 12 min read
Recovering a ZooKeeper Cluster with Codis: Diagnosis, Testing, and Migration Strategies
Efficient Ops
Efficient Ops
Jan 31, 2024 · Databases

Why ClickHouse Beats Elasticsearch for High‑Performance Log Analytics

Facing data security and cost challenges in SaaS, the author evaluates ClickHouse versus Elasticsearch, highlighting ClickHouse’s superior write throughput, query speed, lower storage and CPU usage, and provides detailed deployment guides for Zookeeper, Kafka, FileBeat, and ClickHouse to build a cost‑effective private analytics platform.

Big DataClickHouseDatabase Deployment
0 likes · 8 min read
Why ClickHouse Beats Elasticsearch for High‑Performance Log Analytics
ITPUB
ITPUB
Jan 26, 2024 · Operations

Zookeeper 3.4.x Election Port 3888 Failure: Root Cause and Fix

A five‑node Zookeeper cluster on version 3.4.6 experienced election‑port 3888 failures after normal restarts, traced to a NegativeArraySizeException caused by malformed packets from a security scan, and the issue is resolved by upgrading to Zookeeper 3.4.7.

Cluster TroubleshootingElectionNegativeArraySizeException
0 likes · 8 min read
Zookeeper 3.4.x Election Port 3888 Failure: Root Cause and Fix
Tencent Cloud Developer
Tencent Cloud Developer
Jan 24, 2024 · Backend Development

Understanding the Safety of Redis Distributed Locks and the Redlock Debate

Redis distributed locks require unique identifiers, atomic Lua releases, and TTL refreshes to avoid deadlocks, while the Redlock algorithm adds majority quorum but remains vulnerable to clock drift and client pauses, so critical systems should combine it with fencing tokens or version checks for true safety.

RedlockZooKeeperconcurrency
0 likes · 36 min read
Understanding the Safety of Redis Distributed Locks and the Redlock Debate
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
Zhuanzhuan Tech
Zhuanzhuan Tech
Dec 23, 2023 · Operations

Investigation of Zookeeper 3.4.6 Election Port (3888) Failure Caused by Malformed Packets

This article details a troubleshooting investigation of a Zookeeper 3.4.6 cluster where the election port 3888 became unresponsive due to a NegativeArraySizeException triggered by malformed packets, explains the diagnostic steps, root‑cause analysis, and recommends upgrading to a newer version to fix the issue.

ApacheZookeeperClusterTroubleshootingElectionPort
0 likes · 11 min read
Investigation of Zookeeper 3.4.6 Election Port (3888) Failure Caused by Malformed Packets
JD Retail Technology
JD Retail Technology
Nov 1, 2023 · Big Data

Kafka: Usage Scenarios, Core Concepts, Installation, Configuration, and Practical Operations

This article provides a comprehensive guide to Apache Kafka, covering its typical use cases, fundamental terminology, step‑by‑step installation and environment preparation, detailed configuration of brokers and topics, cluster deployment, producer‑consumer commands, and a Java client example for sending messages.

Distributed MessagingInstallationJava Client
0 likes · 21 min read
Kafka: Usage Scenarios, Core Concepts, Installation, Configuration, and Practical Operations
Code Ape Tech Column
Code Ape Tech Column
Oct 18, 2023 · Databases

Efficient Strategies for Importing One Billion Records into MySQL

This article explains how to import 1 billion 1 KB log records stored in HDFS or S3 into MySQL by analyzing table capacity limits, choosing storage engines, designing batch inserts, coordinating file reading and writing, and handling task reliability with Redis, Redisson, and Zookeeper.

Batch InsertDistributed TasksPerformance Optimization
0 likes · 18 min read
Efficient Strategies for Importing One Billion Records into MySQL
MaGe Linux Operations
MaGe Linux Operations
Oct 8, 2023 · Big Data

Understanding Kafka: Core Concepts, Architecture, and Performance Secrets

This article explains Kafka’s fundamental role as a message system, detailing topics, partitions, producers, consumers, replica management, consumer groups, the controller, Zookeeper coordination, and performance optimizations such as sequential writes, zero‑copy, log segmentation, and network design, providing a comprehensive overview for big‑data practitioners.

Big DataDistributed SystemsKafka
0 likes · 11 min read
Understanding Kafka: Core Concepts, Architecture, and Performance Secrets
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 14, 2023 · Backend Development

Building a Multi‑Level Cache Consistency Framework for Live‑Streaming Platforms

This article describes how a social live‑streaming platform designed and implemented a custom multi‑level cache consistency framework, detailing the background challenges, the architecture of a cache pipeline with Zookeeper‑based node discovery and retry‑enabled execution, and the integration SDKs that enable transparent cache clearing across services.

Backend DevelopmentCacheCache Consistency
0 likes · 10 min read
Building a Multi‑Level Cache Consistency Framework for Live‑Streaming Platforms
Top Architect
Top Architect
Aug 29, 2023 · Backend Development

Implementing a Simple Java RPC Framework: Architecture, Service Registration, and Proxy Generation

This article walks through building a simple Java RPC framework, covering core concepts such as service registration with Zookeeper, client-side dynamic proxies, network communication via Netty, serialization, compression, and both reflection and Javassist-based proxy generation, complete with code examples and performance comparisons.

JavaJavassistNetty
0 likes · 26 min read
Implementing a Simple Java RPC Framework: Architecture, Service Registration, and Proxy Generation
JD Cloud Developers
JD Cloud Developers
Aug 24, 2023 · Backend Development

Mastering Java Locks: From ReentrantLock to Distributed Redisson & Zookeeper

This article explains the fundamentals and practical usage of various Java locking mechanisms—including ReentrantLock, synchronized, ReentrantReadWriteLock, and the Atomic and Concurrent families—then explores distributed lock solutions such as Redisson’s multiple lock types and Zookeeper/Curator, comparing their performance, consistency, and suitability for different scenarios.

Distributed SystemsJavaLocks
0 likes · 22 min read
Mastering Java Locks: From ReentrantLock to Distributed Redisson & Zookeeper
政采云技术
政采云技术
Aug 23, 2023 · Big Data

Step-by-Step Guide to Building a Hadoop Big Data Cluster on ARM Architecture

This comprehensive tutorial details the process of deploying a complete Hadoop-based big data ecosystem on ARM architecture, covering the installation and configuration of essential components including Java, Zookeeper, Hadoop, MySQL, Hive, and Spark with practical code examples.

ARM architectureCluster DeploymentDistributed Systems
0 likes · 19 min read
Step-by-Step Guide to Building a Hadoop Big Data Cluster on ARM Architecture
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 20, 2023 · Backend Development

Service Registration and Discovery: Origins, Problems, Characteristics, and Implementation (Zookeeper vs Eureka)

This article explains the origins of service registration and discovery in microservice architectures, outlines the core problems they solve, describes their key characteristics, and compares implementation approaches such as DNS, Zookeeper, Dubbo, and Eureka, highlighting the differences between Zookeeper and Eureka through the CAP theorem.

Service RegistrationZooKeepereureka
0 likes · 9 min read
Service Registration and Discovery: Origins, Problems, Characteristics, and Implementation (Zookeeper vs Eureka)
dbaplus Community
dbaplus Community
Aug 3, 2023 · Databases

Scaling eBay’s Sherlock.io ClickHouse Platform with Read/Write Separation and Keeper

The article details how eBay’s Sherlock.io event monitoring platform, built on ClickHouse, faced scaling and performance challenges due to ZooKeeper bottlenecks, and explains the design and implementation of read/write separation, shard‑level Keeper coordination, and related operational fixes to improve reliability and latency.

ClickHouseKeeperRead-Write Separation
0 likes · 19 min read
Scaling eBay’s Sherlock.io ClickHouse Platform with Read/Write Separation and Keeper
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 2, 2023 · Backend Development

Kafka Core Architecture, Principles, Features, and Application Scenarios

This article explains Kafka's core architecture—including topics, producers, brokers, and consumers—its underlying mechanisms, the role of Zookeeper, key characteristics such as high throughput and fault tolerance, and common use cases like log collection, activity tracking, and stream processing.

Backend DevelopmentDistributed SystemsKafka
0 likes · 7 min read
Kafka Core Architecture, Principles, Features, and Application Scenarios
MaGe Linux Operations
MaGe Linux Operations
Jul 31, 2023 · Operations

Explore PrettyZoo: The 2.7k‑Star GUI for Managing Zookeeper Clusters

This article introduces PrettyZoo, a Java‑based graphical client for Zookeeper that supports multi‑connection management, real‑time synchronization, ACLs, SSH tunnels, and command‑line operations, and provides native installers for macOS, Linux, and Windows along with a brief overview of Zookeeper itself.

GUI clientPrettyZooZooKeeper
0 likes · 5 min read
Explore PrettyZoo: The 2.7k‑Star GUI for Managing Zookeeper Clusters
Tech Architecture Stories
Tech Architecture Stories
Jul 24, 2023 · Backend Development

Mastering Distributed Locks: When to Use Redis, Zookeeper, and Redlock

This guide explains why distributed locks are needed, how to correctly acquire and release them, compares Redis and Zookeeper implementations—including single‑master, Redlock, and Zookeeper approaches—and offers practical recommendations for ensuring atomicity, preventing deadlocks, and protecting shared resources in production environments.

ZooKeeperatomicityconcurrency
0 likes · 12 min read
Mastering Distributed Locks: When to Use Redis, Zookeeper, and Redlock
Code Ape Tech Column
Code Ape Tech Column
Jun 20, 2023 · Cloud Native

Choosing and Implementing Service Registry Centers: Zookeeper, Eureka, Nacos, Consul, and Kubernetes

This article examines the role of service registry centers in microservice architectures, compares Zookeeper, Eureka, Nacos, Consul, and Kubernetes, discusses load‑balancing strategies, and provides guidance on selecting the most suitable registry solution based on availability, consistency, and ecosystem fit.

ConsulKubernetesNacos
0 likes · 24 min read
Choosing and Implementing Service Registry Centers: Zookeeper, Eureka, Nacos, Consul, and Kubernetes
Alibaba Cloud Native
Alibaba Cloud Native
May 22, 2023 · Cloud Native

Why Duplicate Dubbo References Crash ZooKeeper and How to Fix It

Improper initialization of multiple identical Dubbo References can flood ZooKeeper with duplicate consumer nodes, causing instability and service outages, but adjusting jute.maxbuffer, upgrading Dubbo, and using MSE ZooKeeper's rate‑limiting and monitoring can resolve the issue.

Cloud NativeZooKeeperservice registry
0 likes · 6 min read
Why Duplicate Dubbo References Crash ZooKeeper and How to Fix It
Top Architect
Top Architect
May 3, 2023 · Backend Development

Understanding RPC: Principles, Implementation Details, and Code Walkthrough

This article explains the fundamentals of Remote Procedure Call (RPC), covering its definition, core challenges, service registration and discovery with Zookeeper, client proxy generation, network transmission using Netty, serialization and compression, server-side request handling via reflection or Javassist, and performance comparisons between proxy strategies.

Distributed SystemsJavaJavassist
0 likes · 24 min read
Understanding RPC: Principles, Implementation Details, and Code Walkthrough
政采云技术
政采云技术
Apr 27, 2023 · Backend Development

Understanding CAP Theorem, BASE Theory, and Their Implementation with Zookeeper (CP) and Eureka (AP)

This article explains the CAP theorem and its trade‑offs, introduces the BASE model as a practical compromise, and demonstrates how Zookeeper implements a CP registration center while Eureka adopts an AP approach, illustrating the impact on consistency, availability, and partition tolerance in distributed systems.

AvailabilityBASE theoryCAP theorem
0 likes · 12 min read
Understanding CAP Theorem, BASE Theory, and Their Implementation with Zookeeper (CP) and Eureka (AP)
JavaEdge
JavaEdge
Mar 8, 2023 · Backend Development

Choosing CP vs AP for Service Discovery: When to Use Zookeeper or a Message Bus

This article explains the importance of service discovery in high‑availability systems, compares DNS, VIP, Zookeeper‑based CP solutions and message‑bus‑based AP approaches, outlines their registration and subscription workflows, highlights scalability and consistency trade‑offs, and provides practical guidance for designing robust registration centers.

APDistributed SystemsMessage Bus
0 likes · 14 min read
Choosing CP vs AP for Service Discovery: When to Use Zookeeper or a Message Bus
dbaplus Community
dbaplus Community
Mar 7, 2023 · Operations

How We Rescued a ClickHouse Logging Cluster After Zookeeper‑Induced Read‑Only Failure

A production logging system became unavailable due to Kafka backlog alerts, prompting an investigation that uncovered read‑only ClickHouse tables caused by mismatched Zookeeper metadata after a TTL policy change, leading to a step‑by‑step recovery involving Zookeeper restarts, metadata fixes, and table reconstruction.

ClickHouseCluster RecoveryFlink
0 likes · 9 min read
How We Rescued a ClickHouse Logging Cluster After Zookeeper‑Induced Read‑Only Failure
ITPUB
ITPUB
Feb 23, 2023 · Operations

Why Did Microservices Drop After Zookeeper Restart? Session Mechanics & Fixes

A mistaken Zookeeper restart caused a 30‑minute outage of all microservices; this article analyzes the ZK session mechanism, why temporary nodes were not recreated, and presents two concrete solutions and best‑practice recommendations to prevent similar failures.

MicroservicesOperationsRPC
0 likes · 11 min read
Why Did Microservices Drop After Zookeeper Restart? Session Mechanics & Fixes
vivo Internet Technology
vivo Internet Technology
Jan 30, 2023 · Backend Development

Dubbo ZooKeeper Registry Implementation Principle Analysis

The article dissects Dubbo’s ZooKeeperRegistry by tracing its inheritance from AbstractRegistry through FailbackRegistry to CacheableFailbackRegistry, detailing local memory‑disk caching, retry logic via a timing wheel, URL‑push optimizations, and the ZooKeeper‑based ephemeral node and watcher mechanisms that enable dynamic service discovery, while also covering core ZooKeeper concepts.

Distributed SystemsDubboRPC Framework
0 likes · 20 min read
Dubbo ZooKeeper Registry Implementation Principle Analysis
Architect's Guide
Architect's Guide
Jan 28, 2023 · Backend Development

Implementing a Simple Java RPC Framework with Zookeeper, Netty, and Javassist

This article walks through the design and implementation of a lightweight Java RPC framework, covering core concepts such as service registration and discovery with Zookeeper, network communication via Netty, serialization, compression, dynamic proxy generation using Javassist, and performance comparisons between reflection and bytecode‑generated proxies.

Distributed SystemsJavaJavassist
0 likes · 23 min read
Implementing a Simple Java RPC Framework with Zookeeper, Netty, and Javassist
Top Architect
Top Architect
Jan 19, 2023 · Backend Development

Implementing a Simple Java RPC Framework: Architecture, Service Registration, Proxy Generation, and Network Transport

This article explains the principles and implementation of a lightweight Java RPC framework, covering service registration with Zookeeper, client-side dynamic proxies, serialization, compression, Netty-based network transport, and both reflection and Javassist proxy generation, with extensive code examples and performance comparison.

Distributed SystemsJavaJavassist
0 likes · 25 min read
Implementing a Simple Java RPC Framework: Architecture, Service Registration, Proxy Generation, and Network Transport
JD Tech
JD Tech
Jan 19, 2023 · Fundamentals

Understanding Zookeeper Leader Election Mechanism and Its Implementation

This article explains Zookeeper's leader election process, covering the half‑majority algorithm, cluster configuration files, multi‑layer queue architecture, and detailed Java code analysis of the election workflow, illustrating how BIO communication, threads, and message queues achieve high‑performance distributed consensus.

BIOQueue ArchitectureZooKeeper
0 likes · 23 min read
Understanding Zookeeper Leader Election Mechanism and Its Implementation
Su San Talks Tech
Su San Talks Tech
Jan 3, 2023 · Fundamentals

What Makes Apache ZooKeeper the Backbone of Distributed Coordination?

This article explains Apache ZooKeeper's role as a reliable distributed coordination service, covering its ZAB protocol, hierarchical data model, node types, watches, session management, ACLs, serialization, cluster architecture, leader election, ZAB algorithm, log cleanup, distributed locks, ID generation, load balancing, and real‑world integrations with Dubbo and Kafka.

ACLDistributed CoordinationZAB
0 likes · 49 min read
What Makes Apache ZooKeeper the Backbone of Distributed Coordination?
MaGe Linux Operations
MaGe Linux Operations
Dec 30, 2022 · Big Data

Mastering Kafka: Core Concepts, Architecture, and Performance Optimizations

This comprehensive guide explores Kafka as a distributed messaging middleware, detailing its core concepts, architecture, producer and consumer mechanisms, configuration options, Zookeeper integration, controller responsibilities, network model, performance optimizations such as zero‑copy, page‑cache usage, batching, compression, and partition concurrency.

Distributed MessagingKafkaZooKeeper
0 likes · 41 min read
Mastering Kafka: Core Concepts, Architecture, and Performance Optimizations
Alibaba Cloud Native
Alibaba Cloud Native
Dec 26, 2022 · Cloud Native

Mastering ZooKeeper Data Import/Export with MSE’s New Feature

This guide explains the underlying snapshot and transaction‑log storage of ZooKeeper, outlines three key scenarios for using MSE’s import‑export feature, and provides step‑by‑step instructions with code snippets to back up, migrate, or analyze ZooKeeper clusters efficiently.

Cloud NativeData ExportTransaction Log
0 likes · 7 min read
Mastering ZooKeeper Data Import/Export with MSE’s New Feature
Efficient Ops
Efficient Ops
Dec 23, 2022 · Backend Development

How to Pick the Best Service Registry: CAP Theory, Zookeeper, Eureka & Consul

This article explains the role of service registry centers in micro‑service architectures, introduces the CAP theorem and its trade‑offs, compares three categories of registries, and evaluates popular solutions such as Zookeeper, Eureka, Consul and Nacos to help you choose the right one for your needs.

CAP theoremConsulMicroservices
0 likes · 12 min read
How to Pick the Best Service Registry: CAP Theory, Zookeeper, Eureka & Consul
Alibaba Cloud Native
Alibaba Cloud Native
Dec 15, 2022 · Operations

How to Prevent ZooKeeper Disk Exhaustion: Snapshots, Logs, and Tuning Tips

This article explains why ZooKeeper can run out of disk space due to excessive snapshots and transaction logs, describes the underlying file‑generation mechanism, and provides concrete configuration parameters and best‑practice recommendations to control file growth and keep the cluster stable.

ConfigurationOperationsTransaction Log
0 likes · 9 min read
How to Prevent ZooKeeper Disk Exhaustion: Snapshots, Logs, and Tuning Tips
DataFunTalk
DataFunTalk
Nov 3, 2022 · Databases

Enhancing ClickHouse High Availability: Reducing Zookeeper Load, Faster Recovery, and Additional Reliability Improvements

ByteDance’s article details the high‑availability challenges of ClickHouse in large‑scale deployments—such as frequent failures, long recovery times, and operational complexity—and explains three key enhancements: a new HaMergeTree engine to lessen Zookeeper load, RocksDB‑based metadata persistence for faster restarts, and additional reliability features like HaKafka and monitoring tools.

ClickHouseDatabase EngineeringHaMergeTree
0 likes · 10 min read
Enhancing ClickHouse High Availability: Reducing Zookeeper Load, Faster Recovery, and Additional Reliability Improvements
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Oct 27, 2022 · Backend Development

Understanding Kafka: Architecture, Principles, Features, and Use Cases

This article explains Kafka's distributed publish‑subscribe architecture, detailing its core components, underlying mechanisms with Zookeeper coordination, key features such as high throughput and fault tolerance, and common application scenarios like log collection, user activity tracking, and stream processing.

Backend ArchitectureDistributed MessagingKafka
0 likes · 5 min read
Understanding Kafka: Architecture, Principles, Features, and Use Cases
Selected Java Interview Questions
Selected Java Interview Questions
Oct 23, 2022 · Big Data

Building a Cost‑Effective Data Analysis Platform: ClickHouse vs Elasticsearch and Deployment Guide for Zookeeper, Kafka, Filebeat, and ClickHouse

This article compares Elasticsearch and ClickHouse for log analytics, presents cost‑benefit calculations, and provides a step‑by‑step deployment guide for Zookeeper, Kafka, Filebeat, and ClickHouse to build a scalable, low‑cost data analysis platform for SaaS services.

Big DataClickHouseDeployment
0 likes · 12 min read
Building a Cost‑Effective Data Analysis Platform: ClickHouse vs Elasticsearch and Deployment Guide for Zookeeper, Kafka, Filebeat, and ClickHouse
Tencent Cloud Middleware
Tencent Cloud Middleware
Sep 27, 2022 · Cloud Native

How Tencent Cloud Optimized Apache Pulsar for Million‑Topic Scale

This article details Tencent Cloud's year‑long practical optimizations for Apache Pulsar, covering Ack hole impacts, TTL/Backlog/Retention strategies, delayed‑message handling, Admin API blocking, ZooKeeper and BookKeeper leaks, and multi‑level cache improvements to achieve stable, high‑performance messaging at massive scale.

Apache PulsarBacklogCloud Native
0 likes · 18 min read
How Tencent Cloud Optimized Apache Pulsar for Million‑Topic Scale
Sohu Tech Products
Sohu Tech Products
Sep 21, 2022 · Backend Development

Understanding Kafka Partition Failover When a Broker Goes Offline

This article analyzes a real‑world Kafka outage caused by killing a broker process, explains why partitions with a replication factor of one lose their leader, and walks through the internal Zookeeper‑based failover mechanism and leader‑election logic that Kafka uses to recover from such failures.

MessagingPartitionZooKeeper
0 likes · 10 min read
Understanding Kafka Partition Failover When a Broker Goes Offline
Top Architect
Top Architect
Sep 3, 2022 · Backend Development

Implementing Distributed Locks with Redis, Zookeeper, and etcd

The article explains how to build reliable distributed locks using Redis, Zookeeper, and etcd, describing the essential concepts of mutual exclusion, safety, and liveness, showing code examples, highlighting common issues, and comparing each solution's advantages and drawbacks.

ZooKeeperconcurrencydistributed-lock
0 likes · 6 min read
Implementing Distributed Locks with Redis, Zookeeper, and etcd
Selected Java Interview Questions
Selected Java Interview Questions
Aug 27, 2022 · Backend Development

Deploying a Cost‑Effective ClickHouse‑Based Backend Data Platform: Comparison with Elasticsearch and Step‑by‑Step Setup Guide

This article compares Elasticsearch and ClickHouse for log analytics, presents cost analysis, and provides detailed deployment instructions for Zookeeper, Kafka, Filebeat, and ClickHouse to build a private, high‑performance backend data platform for SaaS services.

ClickHouseElasticsearchFilebeat
0 likes · 12 min read
Deploying a Cost‑Effective ClickHouse‑Based Backend Data Platform: Comparison with Elasticsearch and Step‑by‑Step Setup Guide
Top Architect
Top Architect
Aug 25, 2022 · Backend Development

Building a Custom RPC Spring Starter: Architecture, Principles, and Code Walkthrough

This article explains the fundamentals of remote procedure call (RPC), presents a complete system architecture diagram, and provides a step‑by‑step implementation of a custom rpc‑spring‑starter using Java, Spring, Zookeeper for service registration, Netty for network communication, and dynamic proxy techniques for client‑side invocation.

Dynamic ProxyJavaNetty
0 likes · 18 min read
Building a Custom RPC Spring Starter: Architecture, Principles, and Code Walkthrough
Top Architect
Top Architect
Aug 20, 2022 · Backend Development

Design and Implementation of a Redis‑Based Delayed Queue Service

This article explains the business scenarios that require delayed processing, compares several delay‑queue solutions such as Java's DelayQueue, RocketMQ and RabbitMQ, and then details a custom Redis‑backed delayed‑queue architecture (1.0 and 2.0 versions) with Zookeeper coordination, pull‑job and worker threads for high‑availability and real‑time message delivery.

JavaMessage QueueZooKeeper
0 likes · 8 min read
Design and Implementation of a Redis‑Based Delayed Queue Service
Ops Development Stories
Ops Development Stories
Aug 15, 2022 · Backend Development

Master Apache Dubbo: From Basics to Real‑World RPC Implementation

This article introduces Apache Dubbo, compares it with Eureka, and provides a complete step‑by‑step example—including service interface, implementation, provider and consumer configurations, XML files, and code snippets—plus instructions for installing and using Dubbo‑Admin for monitoring micro‑service deployments.

Apache DubboDubbo-AdminJava
0 likes · 9 min read
Master Apache Dubbo: From Basics to Real‑World RPC Implementation
IT Architects Alliance
IT Architects Alliance
Aug 13, 2022 · Operations

Why ClickHouse Beats Elasticsearch: Performance, Cost, and Deployment Guide

This article compares ClickHouse and Elasticsearch, analyzes cost savings, and provides step‑by‑step deployment instructions for Zookeeper, Kafka, Filebeat, and ClickHouse clusters, including configuration details, troubleshooting tips, and practical code snippets for building a scalable analytics pipeline.

ClickHouseDeploymentElasticsearch
0 likes · 13 min read
Why ClickHouse Beats Elasticsearch: Performance, Cost, and Deployment Guide
Wukong Talks Architecture
Wukong Talks Architecture
Aug 9, 2022 · Big Data

Kafka Basics: 15 Key Questions and In‑Depth Answers

This comprehensive guide covers Kafka’s core concepts, architecture, Zookeeper role, producer sending modes, partitioning strategies, replica types, message deletion, performance optimizations, consumer models, offset management, and best‑practice recommendations for scaling and ensuring ordered delivery in distributed streaming systems.

PartitioningStreamingZooKeeper
0 likes · 31 min read
Kafka Basics: 15 Key Questions and In‑Depth Answers
IT Architects Alliance
IT Architects Alliance
Aug 3, 2022 · Big Data

Understanding Kafka Architecture: Topics, Partitions, Replication, Log Segmentation, Zero‑Copy, and Zookeeper Integration

This article explains Kafka's core concepts—including topics, partitions and replicas, log segment storage, leader‑follower mechanics, consumer groups, network threading model, zero‑copy I/O, and the essential role of Zookeeper for broker, topic, consumer, and offset management—providing a comprehensive overview for developers and architects.

Big DataKafkaStreaming
0 likes · 10 min read
Understanding Kafka Architecture: Topics, Partitions, Replication, Log Segmentation, Zero‑Copy, and Zookeeper Integration