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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Qaiser Abbasi
December 13, 2018
Business
840
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
72
Testing-Darwinismus
qabbasi
0
84
Other Decks in Business
See All in Business
KOWRO / IDOL CAST 会社・サービス紹介
kuni29
0
190
Corporate Story (GA technologies Co., Ltd.)
gatechnologies
0
1.3k
Dopagaki Driven Design
pokotyamu
0
190
Steamで売れないゲームに共通する失敗パターン
hirohasuyoutube
0
310
コーポレートストーリー(新規投資家様向け会社説明資料)
gatechnologies
2
21k
Шпаргалка менеджера: перші 30 днів на новій посаді | Презентація вебінару з Альоною Лубчак
e5ua
0
220
「仕訳」から「取引」へ(fAD2026)
shunsuke_takeuchi
PRO
1
1.5k
KGモーターズ会社紹介資料_2026.10
kgmotors
0
32k
AI立国論(2026年9月)
noritaka88tax
0
230
Ai Workforce Deployment Strategist Hiring Deck|AIコンサルタント採用資料
layerx
PRO
1
500
データ問い合わせエージェントと 求人推薦システムから見る、 当社のデータ活用事例
kazuyama88
0
260
YassLab (株) サービス紹介 / Introduction of YassLab
yasslab
PRO
3
45k
Featured
See All Featured
A better future with KSS
kneath
240
18k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
950
Un-Boring Meetings
codingconduct
0
460
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Ruling the World: When Life Gets Gamed
codingconduct
0
400
The Curious Case for Waylosing
cassininazir
1
570
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
830
Are puppies a ranking factor?
jonoalderson
2
4.1k
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]