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
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
81
Other Decks in Business
See All in Business
三井物産グループのデジタル証券~福岡・天神~徹底解説セミナー
c0rp_mdm
PRO
0
1.3k
増え続ける運用を、 Skill化する"型"でさばく
morimori3
0
350
セーフィー株式会社(Safie Inc.) 会社紹介資料
safie_recruit
8
470k
LW_brochure_business
lincwellhr
1
92k
[2026.09] カルチャーデック|株式会社サイバーリンクス
cyberlinks
0
350
ダイサンデジタル事業部
daisan123
0
800
社外CTOパートナー(2026.09版) - ORDINARY LLC
ordy_nishiyama
0
120
正解が消えた開発現場で、どう後輩を育てればいいのか?~ AI時代における「若手のストレス」と「メンターの限界」に向き合う ~
mkitahara01985
1
140
株式会社うるる エンジニア向け採用資料
uluru_hr
3
140k
なんとかする力 〜 Android エンジニアからマネージャー、さらにその先へ? 〜
m_coder
2
510
Webinar 23.09.2026 NeuroDate III - El impacto de la guerra de Irán en los precios del gas y la electricidad
neuroenergia
PRO
0
110
株式会社アシスト_会社紹介資料
ashisuto_career
3
190k
Featured
See All Featured
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
890
We Have a Design System, Now What?
morganepeng
55
8.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
The untapped power of vector embeddings
frankvandijk
2
1.9k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
How Software Deployment tools have changed in the past 20 years
geshan
2
34k
Site-Speed That Sticks
csswizardry
13
1.5k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
430
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
450
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Building an army of robots
kneath
307
47k
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]