Tagged articles
366 articles
Page 4 of 4
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 22, 2018 · Backend Development

Service Registration and Discovery: Origins, Problems Solved, Characteristics, and Implementation with Zookeeper and Eureka

This article explains the origins of service registration and discovery in microservice architectures, outlines the problems they address, describes their key characteristics, and compares implementation approaches such as DNS, Zookeeper, Dubbo, and Eureka, highlighting the CAP‑theorem trade‑offs between Zookeeper (CP) and Eureka (AP).

CAP theoremService RegistrationZooKeeper
0 likes · 9 min read
Service Registration and Discovery: Origins, Problems Solved, Characteristics, and Implementation with Zookeeper and Eureka
Manbang Technology Team
Manbang Technology Team
Nov 6, 2018 · Backend Development

Pigeon RPC Framework Source Code Analysis

This article provides a comprehensive analysis of Pigeon, a point-based open-source RPC framework used by the company, covering its client-side invoker, server-side provider, call flows, Zookeeper integration, service isolation, and operational features.

NettyPigeonRPC Framework
0 likes · 5 min read
Pigeon RPC Framework Source Code Analysis
Architecture Talk
Architecture Talk
Oct 19, 2018 · Fundamentals

How Google’s Chubby Inspired Zookeeper’s Distributed Coordination and Locking

This article compares Google’s Chubby lock service with Apache Zookeeper, explains their design philosophies, system architectures, the Zab protocol versus Paxos, and demonstrates how Zookeeper can be used for naming services, publish‑subscribe, distributed transactions, and distributed locks with concrete Java code examples.

ChubbyDistributed CoordinationZAB Protocol
0 likes · 25 min read
How Google’s Chubby Inspired Zookeeper’s Distributed Coordination and Locking
Java Backend Technology
Java Backend Technology
Sep 30, 2018 · Backend Development

Choosing the Right Distributed ID Generation Strategy: UUID, Snowflake, Redis, and More

This article compares various distributed unique identifier generation methods—including UUID, database auto‑increment, Redis INCR, Zookeeper, segmented DB caches, and the Snowflake algorithm—detailing their principles, advantages, drawbacks, and suitable use‑cases to help developers select the optimal solution for their systems.

ZooKeeperbackend-developmentdistributed-id
0 likes · 13 min read
Choosing the Right Distributed ID Generation Strategy: UUID, Snowflake, Redis, and More
JD Tech
JD Tech
Sep 11, 2018 · Backend Development

Design and Implementation of Distributed Lock Services: Redis, ZooKeeper, and SharkLock

This article explains the principles, requirements, and implementation details of distributed lock services, comparing Redis and ZooKeeper approaches, and introduces SharkLock's design built on SharkStore with Raft-based replication, covering lock acquisition, release, reliability, scaling, and failover mechanisms.

RaftSharkLockZooKeeper
0 likes · 14 min read
Design and Implementation of Distributed Lock Services: Redis, ZooKeeper, and SharkLock
Big Data and Microservices
Big Data and Microservices
Aug 3, 2018 · Industry Insights

Understanding ZooKeeper: Architecture, Use Cases, and Core Features

This article provides a comprehensive overview of ZooKeeper, covering its purpose as a high‑availability coordination service, common application scenarios, detailed architecture roles, node types, session and watcher mechanisms, core characteristics, workflow, and essential query commands.

Distributed CoordinationUse CasesZooKeeper
0 likes · 6 min read
Understanding ZooKeeper: Architecture, Use Cases, and Core Features
Programmer DD
Programmer DD
Jun 30, 2018 · Backend Development

Should You Migrate from Eureka 2.x? Risks, Alternatives, and Practical Guidance

The article explains that Eureka 2.0's open‑source development has been halted, advises developers to assess whether they are using the discontinued 2.x version, and outlines safe migration paths to alternatives like Consul, ZooKeeper, or Etcd while emphasizing cautious decision‑making.

ConsulSpring CloudZooKeeper
0 likes · 5 min read
Should You Migrate from Eureka 2.x? Risks, Alternatives, and Practical Guidance
Architect's Tech Stack
Architect's Tech Stack
Jun 14, 2018 · Backend Development

Dubbo Consumer Initialization Process and Service Reference Mechanism

This article explains the Dubbo consumer initialization workflow, detailing how ReferenceConfig creates proxies, how service URLs are registered with Zookeeper, the steps to obtain Invoker objects via Protocol, and how ProxyFactory generates client-side service proxies, including code examples and asynchronous handling.

DubboInvokerJava
0 likes · 10 min read
Dubbo Consumer Initialization Process and Service Reference Mechanism
ITPUB
ITPUB
Jun 10, 2018 · Backend Development

Implementing Distributed Locks with Redis and Zookeeper

This article explains the concept of distributed locks and provides step‑by‑step implementations using Redis's SET command with NX/EX options and Zookeeper's persistent and sequential znodes, including lock acquisition, release, and failure handling.

BackendZooKeeperdistributed-lock
0 likes · 6 min read
Implementing Distributed Locks with Redis and Zookeeper
Architect's Tech Stack
Architect's Tech Stack
May 22, 2018 · Backend Development

Zookeeper Leader Election Mechanism: Concepts, Algorithms, and Implementation Details

This article explains Zookeeper's leader election mechanism, covering server identifiers, election states, vote structures, the two types of leader elections, the FastLeaderElection algorithm, quorum calculation, and the underlying network and queue components that enable reliable distributed consensus.

ConsensusFastLeaderElectionZooKeeper
0 likes · 21 min read
Zookeeper Leader Election Mechanism: Concepts, Algorithms, and Implementation Details
dbaplus Community
dbaplus Community
May 14, 2018 · Fundamentals

Why Zookeeper Implements Sequential Consistency and What It Really Means

This article explains the concept of sequential consistency, its origins in Lamport's work, how it differs from linearizability, and why Zookeeper adopts sequential consistency for its coordination services, illustrating the theory with concrete examples and code snippets.

LamportZooKeeperconsistency models
0 likes · 18 min read
Why Zookeeper Implements Sequential Consistency and What It Really Means
Java Captain
Java Captain
Apr 26, 2018 · Backend Development

Dubbo Overview, Architecture, and a Step‑by‑Step Demo with Zookeeper and Spring

This article introduces Dubbo’s background, explains the evolution of e‑commerce architectures to RPC‑based distributed systems, details Dubbo’s components, advantages, and drawbacks, and provides a complete Maven‑based demo—including Zookeeper installation, Spring configuration, and Java code—for building and consuming a Dubbo service.

Distributed SystemsDubboJava
0 likes · 19 min read
Dubbo Overview, Architecture, and a Step‑by‑Step Demo with Zookeeper and Spring
Architecture Digest
Architecture Digest
Apr 7, 2018 · Operations

Comparison of Service Discovery Tools: Zookeeper, etcd, and Consul

This article compares three popular service discovery solutions—Zookeeper, etcd, and Consul—detailing their architectures, features, integration methods, strengths, and weaknesses, and concludes with a recommendation for using Consul in multi‑data‑center environments while noting its real‑time notification limitations.

ConsulOperationsZooKeeper
0 likes · 8 min read
Comparison of Service Discovery Tools: Zookeeper, etcd, and Consul
Vipshop Quality Engineering
Vipshop Quality Engineering
Jan 17, 2018 · Backend Development

Why Zookeeper Connections Fail After 1 MB and How to Fix Them

A staging environment’s new scheduled task kept failing due to Zookeeper disconnections caused by packets exceeding the default 1 MB maxBuffer, and the article explains the root cause, heartbeat timing, and how adjusting Djute.maxbuffer or upgrading Zookeeper resolves the issue.

BackendDistributed SystemsZooKeeper
0 likes · 4 min read
Why Zookeeper Connections Fail After 1 MB and How to Fix Them
dbaplus Community
dbaplus Community
Jan 4, 2018 · Operations

Understanding ZooKeeper Architecture and FastLeaderElection: A Deep Dive

This article explains ZooKeeper's distributed coordination architecture, the ZAB consensus protocol, server roles, write and read workflows, FastLeaderElection mechanics, configurable election algorithms, and how ZooKeeper can be used to implement reliable distributed locks and leader election.

Distributed CoordinationFastLeaderElectionZAB
0 likes · 26 min read
Understanding ZooKeeper Architecture and FastLeaderElection: A Deep Dive
Architecture Digest
Architecture Digest
Dec 27, 2017 · Backend Development

Handling Transactions, Failover, and Exactly‑Once Semantics in Distributed Systems

This article explores how distributed systems determine node liveness, manage failover and recovery, and implement at‑most‑once, at‑least‑once, and exactly‑once processing guarantees—including opaque transactions and two‑phase commit—using examples from Kafka, Zookeeper, and big‑data pipelines.

Big DataDistributed SystemsExactly-Once
0 likes · 15 min read
Handling Transactions, Failover, and Exactly‑Once Semantics in Distributed Systems
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 26, 2017 · Operations

Multiplexed System Testing Environment: Architecture, Token Marking, and Dynamic Configuration

This article presents a multiplexed system testing environment that uses token‑based encoding and decoding to share a single baseline environment among multiple testing scenarios, detailing its architecture, technical components, protocol adaptation, token handling, and Zookeeper‑based configuration management to improve resource efficiency and testing speed.

Configuration CenterZooKeeperenvironment multiplexing
0 likes · 11 min read
Multiplexed System Testing Environment: Architecture, Token Marking, and Dynamic Configuration
Java Backend Technology
Java Backend Technology
Aug 18, 2017 · Big Data

How to Build Single‑Node, Pseudo‑Cluster, and Distributed Kafka Environments on Ubuntu

This step‑by‑step guide shows how to install and configure Apache Kafka and Zookeeper on Ubuntu Server, covering single‑node setup, a pseudo‑cluster with multiple brokers, and a full distributed cluster across several machines, including topic creation, producer/consumer testing, and essential configuration tweaks.

Cluster SetupUbuntuZooKeeper
0 likes · 8 min read
How to Build Single‑Node, Pseudo‑Cluster, and Distributed Kafka Environments on Ubuntu
Qunar Tech Salon
Qunar Tech Salon
Jun 28, 2017 · Backend Development

Understanding Curator's InterProcessMutex Distributed Lock in Java

This article explains how to replace Redis‑based lock with Curator's InterProcessMutex, detailing its re‑entrant design, node creation, lock acquisition logic, waiting mechanisms, and release process, while highlighting advantages over traditional Thread.sleep approaches in multithreaded resource access.

InterProcessMutexJavaZooKeeper
0 likes · 8 min read
Understanding Curator's InterProcessMutex Distributed Lock in Java
Qunar Tech Salon
Qunar Tech Salon
Jun 1, 2017 · Backend Development

Deep Dive into ZooKeeper ServerCnxn: Request Reception, Session Management, and Transaction Processing

This article explains how ZooKeeper’s ServerCnxn, particularly the NIOServerCnxn implementation, handles client connections, processes session creation, manages sessions via SessionTracker, and routes transaction requests through the server’s request‑processor chain, detailing the roles of each processor and the underlying logging and snapshot mechanisms.

BackendServerCnxnSessionManagement
0 likes · 20 min read
Deep Dive into ZooKeeper ServerCnxn: Request Reception, Session Management, and Transaction Processing
MaGe Linux Operations
MaGe Linux Operations
May 28, 2017 · Backend Development

Understanding Kafka’s Architecture: Topics, Partitions, and Reliability

This article explains Kafka’s core architecture—including brokers, topics, partitions, offsets, producer and consumer mechanics, replication, availability, consistency, persistence, performance optimizations, and Zookeeper integration—providing a comprehensive guide for building reliable distributed messaging systems.

Distributed MessagingKafkaOFFSET
0 likes · 15 min read
Understanding Kafka’s Architecture: Topics, Partitions, and Reliability
dbaplus Community
dbaplus Community
May 24, 2017 · Operations

How to Replace a ZooKeeper Node in a 5‑Node Cluster Without Downtime

This guide details the step‑by‑step process for replacing a faulty ZooKeeper node (myid 5) in a five‑node cluster, covering configuration updates in zoo.cfg, Hadoop’s hdfs‑site.xml, yarn‑site.xml, HBase‑site.xml, and the required service restarts to ensure continuous high‑availability.

ConfigurationHBaseHadoop
0 likes · 10 min read
How to Replace a ZooKeeper Node in a 5‑Node Cluster Without Downtime
21CTO
21CTO
May 10, 2017 · Backend Development

How We Built a Scalable, Low‑Latency Ranking System for Millions of Users

This article describes the challenges and solutions behind designing a high‑availability, low‑latency ranking service that supports tens of thousands of leaderboards, optimizes storage engine choices, automates scheduling, and isolates resources using ZooKeeper, Redis, and container‑based deployments across multiple data centers.

Low latencyZooKeepercontainerization
0 likes · 17 min read
How We Built a Scalable, Low‑Latency Ranking System for Millions of Users
Efficient Ops
Efficient Ops
May 7, 2017 · Fundamentals

How Paxos Powers Zookeeper: A Simple Island Analogy Explained

This article uses a vivid island metaphor to break down the Paxos consensus algorithm, maps its concepts to Zookeeper components such as servers, leaders, and Zxid, and illustrates conflict resolution and leader election through clear examples and diagrams.

ConsensusDistributed SystemsPaxos
0 likes · 7 min read
How Paxos Powers Zookeeper: A Simple Island Analogy Explained
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 9, 2017 · Backend Development

Mastering Distributed Locks and Idempotency for High‑Concurrency Systems

This article explores the challenges of mutual exclusion and idempotency in distributed environments, explains the underlying principles of locks in multi‑threaded and multi‑process contexts, and presents practical implementations using Zookeeper, Redis, Tair, and the Cerberus and GTIS frameworks to ensure reliable, scalable operations.

Distributed SystemsIdempotencyZooKeeper
0 likes · 35 min read
Mastering Distributed Locks and Idempotency for High‑Concurrency Systems
dbaplus Community
dbaplus Community
Mar 16, 2017 · Backend Development

Redlock vs Antirez: A Deep Dive into Distributed Lock Safety and Fencing Tokens

This article revisits the Redlock debate by examining Antirez's rebuttal to Martin Kleppmann, analyzing Hacker News discussions, comparing Redis, ZooKeeper, and Chubby lock implementations, and exploring timing assumptions, clock skew, and fencing token mechanisms to assess distributed lock safety.

ChubbyDistributed LocksRedlock
0 likes · 32 min read
Redlock vs Antirez: A Deep Dive into Distributed Lock Safety and Fencing Tokens
dbaplus Community
dbaplus Community
Dec 26, 2016 · Databases

How to Build a Scalable, Automated MySQL Operations Platform

This article explains how to standardize and automate MySQL management at scale, covering dedicated instance deployment, configuration consistency, multi‑instance creation, metadata collection, backup, monitoring, high‑availability with Zookeeper, and task orchestration using DBTask to achieve rapid, reliable database services.

AutomationDBTaskDatabase operations
0 likes · 12 min read
How to Build a Scalable, Automated MySQL Operations Platform
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Nov 26, 2016 · Operations

Mastering Zookeeper: Installation, Configuration, and Real-World Use Cases

This article provides a comprehensive guide to Zookeeper, covering its purpose in distributed systems, step‑by‑step installation for both standalone and cluster modes, detailed configuration options, core data model, essential Java APIs, and typical scenarios such as naming service, configuration management, leader election, locks, and queue handling.

ConfigurationDistributed CoordinationInstallation
0 likes · 24 min read
Mastering Zookeeper: Installation, Configuration, and Real-World Use Cases
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Nov 24, 2016 · Fundamentals

Why Redlock May Not Be the Ultimate Distributed Lock (And What to Use Instead)

This article reviews the evolution of distributed locking—from simple MySQL table locks to Redis cache locks and the Redlock algorithm—examines expert criticisms of Redlock’s correctness, presents the Redis author’s rebuttal, and ultimately recommends Zookeeper as a more reliable solution for high‑availability distributed locks.

CacheConsensusRedlock
0 likes · 22 min read
Why Redlock May Not Be the Ultimate Distributed Lock (And What to Use Instead)
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Nov 16, 2016 · Backend Development

Mastering Dubbo: From Service Registry to Spring MVC Integration

This tutorial explains why Dubbo was created for large‑scale distributed services, how it solves URL management, load‑balancing and capacity‑planning challenges, and provides step‑by‑step instructions for integrating Dubbo with Zookeeper, dubbo‑admin, and Spring MVC using Maven and Java code.

DubboSpring MVCZooKeeper
0 likes · 13 min read
Mastering Dubbo: From Service Registry to Spring MVC Integration
Meituan Technology Team
Meituan Technology Team
Oct 1, 2016 · Backend Development

Analysis of Mutual Exclusion and Idempotency Issues in Distributed Systems and Their Solutions

The article examines how distributed systems face mutual‑exclusion and idempotency challenges, explains traditional thread and process synchronization, then details distributed‑lock techniques (e.g., Zookeeper, Redis, Tair, Cerberus) and global‑ID‑based idempotent services, emphasizing the importance of external storage, fault‑tolerance, and proper lock granularity for reliable high‑throughput applications.

IdempotencyJava concurrencyZooKeeper
0 likes · 36 min read
Analysis of Mutual Exclusion and Idempotency Issues in Distributed Systems and Their Solutions
ITPUB
ITPUB
Aug 23, 2016 · Databases

Designing a Zookeeper‑MHA MySQL High‑Availability Architecture: Key Insights

This talk explains how Lianjia redesigned its MySQL high‑availability setup by replacing VIP‑based failover with a Zookeeper‑driven naming service, detailing the original MHA architecture, its shortcomings, the new components, workflow, operational challenges, and a DNS‑based refinement.

DNSDatabase ArchitectureMHA
0 likes · 14 min read
Designing a Zookeeper‑MHA MySQL High‑Availability Architecture: Key Insights
Java High-Performance Architecture
Java High-Performance Architecture
Aug 23, 2016 · Operations

How Pinterest Scales Service Discovery with ZooKeeper—and Overcomes Its Pitfalls

Pinterest shares its real‑world experience using ZooKeeper for service discovery and dynamic configuration, detailing the challenges of connection overload, transaction spikes, network partitions, and human error, and explains the multi‑step solutions that improved resilience and reduced operational risk.

Dynamic ConfigurationPinterestZooKeeper
0 likes · 7 min read
How Pinterest Scales Service Discovery with ZooKeeper—and Overcomes Its Pitfalls
Java High-Performance Architecture
Java High-Performance Architecture
Aug 21, 2016 · Fundamentals

How ZooKeeper Leader Election Ensures High Availability in Distributed Systems

ZooKeeper's leader election mechanism creates temporary sequential nodes under a shared /ELECTION path, allowing services to elect a primary node, monitor predecessor nodes, and automatically re-elect a new leader when the current one fails, ensuring continuous high availability across distributed applications.

Distributed SystemsZooKeeperleader election
0 likes · 6 min read
How ZooKeeper Leader Election Ensures High Availability in Distributed Systems
ITPUB
ITPUB
Jun 15, 2016 · Databases

Understanding HBase’s Physical Architecture: Regions, Stores, and WAL

This article explains HBase’s internal architecture, covering the roles of HRegionServer, Client, Zookeeper, Master, RegionServer, the physical storage layout, StoreFile and HFile structures, and the Write-Ahead Log mechanism that ensures data durability and fault tolerance.

HBaseHDFSNoSQL
0 likes · 13 min read
Understanding HBase’s Physical Architecture: Regions, Stores, and WAL
dbaplus Community
dbaplus Community
Jun 5, 2016 · Operations

Mastering Mesos, Zookeeper, and Marathon: A Step‑by‑Step Guide to Building a Docker Cluster

This tutorial introduces Apache Mesos, Zookeeper, and Marathon, explains their core components and coordination mechanisms, and provides detailed, image‑rich step‑by‑step instructions for setting up a pseudo‑cluster, deploying Docker containers, and managing tasks through the Mesos and Marathon web interfaces.

Cluster DeploymentMarathonMesos
0 likes · 13 min read
Mastering Mesos, Zookeeper, and Marathon: A Step‑by‑Step Guide to Building a Docker Cluster
Architecture Digest
Architecture Digest
May 26, 2016 · Fundamentals

Introduction to Apache ZooKeeper: Concepts, Setup, and Usage Guide

This article explains the fundamentals of Apache ZooKeeper, its role as a high‑performance coordination service for distributed applications, and provides a step‑by‑step guide to installing, configuring, and operating a three‑node ZooKeeper ensemble with practical CLI examples.

CLICoordination ServiceEnsemble Setup
0 likes · 17 min read
Introduction to Apache ZooKeeper: Concepts, Setup, and Usage Guide
MaGe Linux Operations
MaGe Linux Operations
Apr 19, 2016 · Databases

How to Set Up a Codis Cluster on Linux with Go: Step‑by‑Step Guide

This article provides a comprehensive, step‑by‑step tutorial for installing Go 1.4, compiling Codis from source, configuring Zookeeper, setting up Codis server, proxy, and dashboard, and deploying a three‑node Codis cluster on Linux, including all necessary environment variables and command examples.

ClusterCodisGo
0 likes · 11 min read
How to Set Up a Codis Cluster on Linux with Go: Step‑by‑Step Guide
Architect
Architect
Feb 23, 2016 · Big Data

Kafka High Availability Design: Data Replication and Leader Election

This article explains why Kafka introduced high‑availability features after version 0.8, detailing the necessity of data replication and leader election, describing Kafka’s replica distribution algorithm, replication mechanics, acknowledgment requirements, leader‑election strategies, Zookeeper structures, and the broker failover process.

KafkaReplicationZooKeeper
0 likes · 19 min read
Kafka High Availability Design: Data Replication and Leader Election
Java High-Performance Architecture
Java High-Performance Architecture
Feb 19, 2016 · Fundamentals

How ZooKeeper Powers Distributed Systems: Architecture and Operations Explained

ZooKeeper is an open‑source distributed coordination service that provides high‑performance, reliable primitives such as naming, configuration management, leader election, locks and queues, and its internal design features a leader‑based server cluster, in‑memory hierarchical namespace, and transparent client routing for read/write operations.

Distributed CoordinationDistributed SystemsZooKeeper
0 likes · 4 min read
How ZooKeeper Powers Distributed Systems: Architecture and Operations Explained
Qunar Tech Salon
Qunar Tech Salon
Dec 25, 2015 · Backend Development

Design and Implementation of Elastic-Job: A Distributed Job Scheduling Framework

Elastic-Job is a Java-based, decentralized distributed job scheduling framework that addresses limitations of existing solutions by providing features such as distributed coordination via Zookeeper, parallel task execution, elastic scaling, centralized management, customizable workflow tasks, and robust non‑functional requirements, with future plans for multi‑language support and enhanced monitoring.

Distributed SchedulingJavaZooKeeper
0 likes · 14 min read
Design and Implementation of Elastic-Job: A Distributed Job Scheduling Framework
ITPUB
ITPUB
Nov 18, 2015 · Backend Development

How to Build a High‑Throughput Flash‑Sale System Without Overselling

Design a flash‑sale (秒杀) platform that handles millions of concurrent purchase requests without overselling by combining web‑server load shedding, ZooKeeper‑based inventory quotas, message‑queue consumers, stored‑procedure database updates, slot‑based row locking, and hot‑item isolation, all detailed with code examples.

Database OptimizationDistributed SystemsZooKeeper
0 likes · 8 min read
How to Build a High‑Throughput Flash‑Sale System Without Overselling
High Availability Architecture
High Availability Architecture
Nov 5, 2015 · Backend Development

Elastic-Job: Overview of a Distributed Job Scheduling Framework

This article introduces Elastic-Job, a Java‑based distributed job scheduling framework from Dangdang, covering its origins, core features such as sharding and elastic scaling, deployment with Zookeeper, best‑practice usage, open‑source development philosophy, future improvements, and detailed Q&A.

BackendDistributed SchedulingElastic-Job
0 likes · 17 min read
Elastic-Job: Overview of a Distributed Job Scheduling Framework
21CTO
21CTO
Oct 7, 2015 · Backend Development

How to Build Transparent Remote Service Calls with Java RPC and Zookeeper

This article explains how large‑scale internet companies replace local service calls with remote procedure calls (RPC), covering Java dynamic proxies, message encoding, serialization, asynchronous response handling, and Zookeeper‑based service registration and discovery to achieve transparent, scalable service communication.

Dynamic ProxyJavaNetty
0 likes · 12 min read
How to Build Transparent Remote Service Calls with Java RPC and Zookeeper
21CTO
21CTO
Sep 14, 2015 · Backend Development

Why Apache Kafka Beats Traditional Message Queues: Architecture, Code, and Performance

This article explains Apache Kafka's distributed publish‑subscribe design, core components, storage model, ZooKeeper coordination, performance benchmarks against ActiveMQ and RabbitMQ, and provides Java producer and consumer code examples for building high‑throughput messaging applications.

Apache KafkaDistributed MessagingMessage Queue
0 likes · 16 min read
Why Apache Kafka Beats Traditional Message Queues: Architecture, Code, and Performance

Understanding Kafka High Availability: Data Replication and Leader Election

The article explains why Kafka introduced high availability starting with version 0.8, detailing the need for data replication and leader election, describing replica distribution algorithms, replication mechanics, ISR handling, ZooKeeper structures, and the broker failover process to ensure fault‑tolerant streaming.

KafkaZooKeeperhigh availability
0 likes · 19 min read
Understanding Kafka High Availability: Data Replication and Leader Election
Qunar Tech Salon
Qunar Tech Salon
Dec 30, 2014 · Fundamentals

Learning ZooKeeper with Curator: Comprehensive Examples and Recipes

This guide offers a complete collection of practical examples that demonstrate Curator's usage for Apache ZooKeeper, covering leader election, distributed locks, barriers, counters, caches, queues, and transaction handling, with each chapter independent and source code available on GitHub.

Distributed CoordinationDistributed LocksJava
0 likes · 3 min read
Learning ZooKeeper with Curator: Comprehensive Examples and Recipes