Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ElasticSearch: things I wish I knew before
Search
Cauê Guerra
April 17, 2013
Technology
0
210
ElasticSearch: things I wish I knew before
Talk given in Toronto @ Django User Group
Cauê Guerra
April 17, 2013
Tweet
Share
More Decks by Cauê Guerra
See All by Cauê Guerra
Cross-Platform Game Development With Rails
caueguerra
0
130
Other Decks in Technology
See All in Technology
AI駆動開発を推進するためにサービス開発チームで 取り組んでいること
noayaoshiro
0
160
M5製品で作るポン置きセルラー対応カメラ
sayacom
0
140
職種別ミートアップで社内から盛り上げる アウトプット文化の醸成と関係強化/ #DevRelKaigi
nishiuma
2
130
Azure SynapseからAzure Databricksへ 移行してわかった新時代のコスト問題!?
databricksjapan
0
140
AWSにおけるTrend Vision Oneの効果について
shimak
0
120
業務自動化プラットフォーム Google Agentspace に入門してみる #devio2025
maroon1st
0
190
[2025-09-30] Databricks Genie を利用した分析基盤とデータモデリングの IVRy の現在地
wxyzzz
0
470
定期的な価値提供だけじゃない、スクラムが導くチームの共創化 / 20251004 Naoki Takahashi
shift_evolve
PRO
3
300
BirdCLEF+2025 Noir 5位解法紹介
myso
0
190
SREとソフトウェア開発者の合同チームはどのようにS3のコストを削減したか?
muziyoshiz
1
100
From Prompt to Product @ How to Web 2025, Bucharest, Romania
janwerner
0
120
VCC 2025 Write-up
bata_24
0
180
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Bash Introduction
62gerente
615
210k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Navigating Team Friction
lara
189
15k
It's Worth the Effort
3n
187
28k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Embracing the Ebb and Flow
colly
88
4.8k
Gamification - CAS2011
davidbonilla
81
5.5k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
Six Lessons from altMBA
skipperchong
28
4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Transcript
ElasticSearch Things I wish I had known before
Self Lead Developer @ 500px ex-ThoughtWorker Brazilian @caueguerra
Who doesn’t know what ElasticSearch is?
Brief introduction
Shards, replicas and nodes
Impact on migrating to ElasticSearch @ 500px
Deleted 4 cache tables ... and countless cron jobs
Realtime updates on search-results
What we learned
Speeding up import process
use aliases
photos photos-2013-03-01
photos photos-2013-03-01 photos-2013-04-17
photos photos-2013-03-01 photos-2013-04-17
photos photos-2013-03-01 photos-2013-04-17
photos photos-2013-04-17
Evenly distribute your shards across your nodes
Be careful not to trigger unneeded reindexing (and avoid joins)
try to search as narrow as possible
return only the fields that will be needed
avoid indexing fields with high cardinality
what is the ideal setup?
plugins
https://github.com/polyfractal/elasticsearch-inquisitor
https://github.com/karmi/elasticsearch-paramedic
https://github.com/lukas-vlcek/bigdesk
... and many more
Questions?