Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
How to reindex 1B documents in 1 hour?
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Qaiser Abbasi
December 13, 2018
Business
850
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How to reindex 1B documents in 1 hour?
Talk given at
www.meetup.com/Elasticsearch-Berlin/
Qaiser Abbasi
December 13, 2018
More Decks by Qaiser Abbasi
See All by Qaiser Abbasi
Java User Group Frankfurt – CDI BeanTesting
qabbasi
0
73
Testing-Darwinismus
qabbasi
0
85
Other Decks in Business
See All in Business
【Progmat】Monthly-ST-Market-Report-2026-Oct.
progmat
0
490
open-slideの紹介
kotasugiki
0
110
変化の時代に自分のハンドルを握る ── イチから始めるセルフマネジメント/Self-Management in the Winds of Change
ikuodanaka
2
350
決めたことより、「なぜ決めたか」を残す
doiko123
0
450
KOWRO / IDOL CAST 会社・サービス紹介
kuni29
0
640
Clarity for Product People (short version)
arnekittler
0
750
話題のバングラデシュ人就労、最新の数字でまとめてみた(2026年10月31日時点)
shunkisugaya
0
540
地域は小さな地球|Future Fieldwork Report 2026
kitchhike
0
2.3k
ピリカ 採用候補者向け資料(スマホ版)2026.11
pirika_info
0
200
個人のふりかえりをアップデートした話
pokotyamu
0
190
2026 Fuji Oil Outside Directors’ Roundtable (English version)
tsogo817421
2
320
01_全社_FLUX採用ピッチ資料_Ver.5.9
flux
13
230k
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Abbi's Birthday
coloredviolet
4
11k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
400
Making Projects Easy
brettharned
120
6.9k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
910
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
980
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
Building Adaptive Systems
keathley
44
3.3k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
970
Transcript
Rene Treffer, Qaiser Abbasi How to reindex 1B documents in
1 hour?
Search @ SoundCloud
Powered by ElasticSearch
Typical search document
Clusters of 30 nodes
Clusters of 30 nodes data size * replication = 120%
* total memory
Cluster 2 Cluster 3 Cluster 1 Cluster 2 Cluster 3
Cluster 1 Multiple clusters per use-case
Problems?
Lead time of features and bugfixes Problems?
Indexing
Indexing 1. Extract
Indexing 1. Extract 2. Build ES documents
Indexing 1. Extract 2. Build ES documents 3. Load into
ES
Indexing 1. Extract 2. Build ES documents 3. Load into
ES 0. Live updates
Indexing 1. Extract 2. Build ES documents 3. Load into
ES 0. Live updates Kafka Kafka +
Kafka historic current compaction Cluster 1 Cluster 2 shipper 1
shipper 2 indexer
Kafka for ES documents 1. Enable compaction 2. Use fast
compression 3. Use enough partitions 4. Use SSDs + 10GBit
ES cluster lifecycle Reindex Live Maintenance
Reindex settings 1. Shards 2. Replication settings 3. Async Translog
4. Refresh Interval
Finish reindexing 1. Merge into one segment*** 2. Set #
replicas
Throughput ≈ 600K OP/s ≈ 30 Mins
4X faster for 95% ≈ 40ms for 50%
4X Reindexing in 1 Sprint
Summary • Solved initial problem • Enablement in daily life
Future work
Q & A
Sounds interesting? Come and talk to us!
THANK YOU
[email protected]
[email protected]