Tagged articles
Curator
13 articles · Page 1 of 1
The article explains ZooKeeper's herd effect, how temporary sequential nodes and chain watching reduce notification storms, how client failures are handled, and why most projects use Curator to simplify fault‑tolerant distributed lock implementations.
Chain WatchingCuratorDistributed Lock
0 likes · 5 min read

The article dissects Hermes' Curator daemon—a lightweight forked agent that runs asynchronously after each dialogue to combat skill‑library entropy by identifying stale, redundant, or obsolete skills, applying a three‑state lifecycle, LLM‑driven merge decisions, provenance‑based archiving, and offering debugging tips.
AI agentCuratorHermes
0 likes · 12 min read

This article explains why Zookeeper's watch mechanism triggers only once, outlines the performance, reliability, and design reasons behind it, describes its asynchronous eventual consistency, and provides Java code examples for basic watches, manual re‑registration, and using the Curator framework for persistent listeners.
CuratorJavaOne-time Trigger
0 likes · 7 min read

This article explains how ZooKeeper provides reliable distributed locks using ordered temporary nodes and watchers, details the underlying mechanisms, step‑by‑step implementation in Java, compares Curator framework options, and discusses the advantages, drawbacks, and real‑world use cases.
ConcurrencyCuratorDistributed Lock
0 likes · 11 min read

This article explains how Curator uses Zookeeper's temporary sequential nodes to implement distributed locks, covering lock acquisition, reentrancy, fairness, read‑write semantics, batch locking, and a comparison with Redis‑based locks, while illustrating the process with code snippets and diagrams.
CuratorFair LockReentrant Lock
0 likes · 14 min read

This article explains how Zookeeper’s distributed lock mechanisms—including non‑fair, fair, and read‑write locks—can prevent overselling in high‑traffic seckill scenarios, details their advantages and drawbacks, and provides practical Curator‑based Java implementations with code examples.
ConcurrencyCuratorDistributed Lock
0 likes · 13 min read

Java’s built‑in synchronization mechanisms work only within a single JVM, leading to inventory‑oversell problems when scaling an e‑commerce service across multiple machines, so developers turn to distributed lock solutions such as Redis (with RedLock or Redisson) and Zookeeper (using ordered and temporary nodes) to ensure global mutual exclusion.
CuratorDistributed LockJava Concurrency
0 likes · 19 min read

The article explains how to design a time‑based Elasticsearch cluster using a hot‑warm architecture with dedicated master, hot, and warm nodes, shows how to configure node attributes, allocate indices via settings or Curator, and discusses best‑practice compression and rollover strategies for large‑scale log data.
CuratorElasticsearchHot‑Warm Architecture
0 likes · 8 min read

Facing limited storage of Zabbix historical data in Elasticsearch, the article outlines a comprehensive strategy—expanding nodes, adding SSDs, redesigning index mapping, using hot‑cold node tiers, employing Curator for automated shrink, segment merging, and lifecycle management—to retain up to a year of monitoring data efficiently.
CuratorData RetentionElasticsearch
0 likes · 6 min read

This article provides a comprehensive guide on designing Elasticsearch indices for massive data volumes, covering shard and replica sizing, mapping strategies, rollover templates, curator cleanup, tokenization choices, query type selection, and multi‑table association techniques to achieve efficient, reliable search at PB‑scale.
CuratorElasticsearchMapping
0 likes · 24 min read

This article explains how to dramatically improve Elasticsearch throughput by using the bulk API, tuning bulk request sizes, configuring gateway settings, optimizing cluster state updates, managing caches, leveraging fielddata and doc values, and employing tools like Curator and the Profiler for efficient cluster operations.
CachingCuratorElasticsearch
0 likes · 27 min read

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.
CuratorDistributed LockInterProcessMutex
0 likes · 8 min read

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.
CuratorDistributed LocksJava
0 likes · 3 min read
