Tagged articles
translog
13 articles · Page 1 of 1
This article walks through Elasticsearch’s document indexing pipeline—from single‑document and bulk request routing, through the write‑refresh‑flush‑merge cycle, to the roles of Lucene, the translog, primary and replica shards, and how reliability, consistency, atomicity, isolation, real‑time visibility and performance are achieved.
Elasticsearchdocument indexingflush
0 likes · 22 min read


政采云技术Jul 14, 2022 · Operations
Facing severe IO-wait and read bottlenecks as product data grew from tens of millions to billions, this article analyzes root causes in Elasticsearch clusters and presents a comprehensive solution involving index parameter tuning, merge settings, translog async writes, query optimizations, and hardware upgrades to restore performance and stability.
Cluster OperationsElasticsearchIO optimization
0 likes · 14 min read

This article explains how ElasticSearch achieves near real‑time search by using immutable inverted indexes, segment merging, shard distribution, and a translog for durability, while also offering practical guidance on how to study the system effectively.
Distributed SearchNear Real-Timeinverted index
0 likes · 8 min read


21CTOOct 26, 2021 · Databases
ElasticSearch achieves near real-time search by building immutable inverted indexes (segments), using incremental indexing, logical deletions, background segment merging, and a write-ahead translog to ensure durability, while distributing shards across nodes to balance load and maintain data consistency.
Near Real-Time SearchSegment Merginginverted index
0 likes · 8 min read


21CTOOct 9, 2021 · Backend Development
This article explores how ElasticSearch delivers near real‑time search by leveraging immutable inverted indexes, segment merging, shard distribution, and a write‑ahead translog, detailing the challenges of persistence, disk I/O, and data loss prevention in a distributed environment.
Near Real-Time SearchSegment Mergingdistributed systems
0 likes · 9 min read

This article presents a detailed case study of Xinwang Bank's implementation of a dual‑data‑center ElasticSearch solution, describing the motivation, technical options, translog‑based synchronization approach, deployment architecture, performance results, and future integration plans.
Dual Data CenterHigh Availabilitytranslog
0 likes · 7 min read

Elasticsearch routes client write requests to the primary shard, buffers documents in memory, logs operations to a translog, periodically refreshes to create segment files, and uses flush and merge processes to ensure data durability, optimize I/O, and consolidate segments for efficient search.
Elasticsearchrefreshsegment
0 likes · 7 min read

This article explains Elasticsearch's internal mechanisms for writing, reading, and searching data, covering the roles of coordinating nodes, primary and replica shards, buffers, translog, segment files, refresh cycles, commit and flush operations, as well as Lucene's inverted index and how deletions and updates are handled.
ElasticsearchLuceneNear Real-Time
0 likes · 10 min read

This article provides a comprehensive overview of Elasticsearch's internal architecture, explaining how data flows from memory buffers to Lucene segments, the role of refresh and translog for durability, segment merging strategies, shard routing, replica consistency, allocation controls, hot‑cold data separation, and cluster discovery settings.
ElasticsearchSegmentscluster management
0 likes · 23 min read

This article examines how Elasticsearch implements write operations on top of Lucene, detailing the challenges of Lucene's write path and describing Elasticsearch's distributed design, near‑real‑time refresh, translog reliability, shard replication, partial updates, and the complete write workflow from coordinating node to primary and replica shards.
ElasticsearchLuceneShard
0 likes · 14 min read


JavaEdgeJun 26, 2019 · Backend Development
This article explains the complete workflow of Elasticsearch write, read, search, delete, and update operations, covering coordinating nodes, shard routing, buffer refresh, translog, segment files, commit/flush processes, and the underlying inverted index mechanism.
ElasticsearchNear Real-TimeSearch Architecture
0 likes · 10 min read

This article explains the core Elasticsearch architecture—including shard routing, primary‑replica interaction, document CRUD workflows, multi‑document APIs, segment merging, translog durability, and storage file formats—providing a comprehensive view of how near‑real‑time search is achieved on large‑scale data.
ElasticsearchLuceneSegment Merging
0 likes · 20 min read

To maximize Elasticsearch bulk-indexing speed, temporarily disable refreshes and replicas, tune merge throttling and scheduler threads, enlarge translog and index buffer thresholds, and adjust indexing and bulk thread-pool sizes, then restore defaults after the load completes.
ElasticsearchPerformance TuningRefresh Interval
0 likes · 13 min read
