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
データモデリング通り #2オンライン勉強会 ~方法論の話をしよう~
datayokocho
0
190
結局QUICで通信は速くなるの?
kota_yata
8
7.4k
Segment Anything Modelの最新動向:SAM2とその発展系
tenten0727
0
920
JAWS-UG のイベントで使うハンズオンシナリオを Amazon Q Developer for CLI で作ってみた話
kazzpapa3
0
120
AIが住民向けコンシェルジュに?Amazon Connectと生成AIで実現する自治体AIエージェント!
yuyeah
0
180
Engineering Failure-Resilient Systems
infraplumber0
0
130
事業特性から逆算したインフラ設計
upsider_tech
0
220
UDDのススメ - 拡張版 -
maguroalternative
1
610
JAWS AI/ML #30 AI コーディング IDE "Kiro" を触ってみよう
inariku
3
400
Amazon Q と『音楽』-ゲーム音楽もAmazonQで作成してみた感想-
senseofunity129
0
170
サイボウズフロントエンドの横断活動から考える AI時代にできること
mugi_uno
2
580
[OCI Technical Deep Dive] OCIで生成AIを活用するためのソリューション解説(2025年8月5日開催)
oracle4engineer
PRO
0
120
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
223
9.9k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Designing Experiences People Love
moore
142
24k
Faster Mobile Websites
deanohume
309
31k
Visualization
eitanlees
146
16k
GraphQLとの向き合い方2022年版
quramy
49
14k
Why Our Code Smells
bkeepers
PRO
338
57k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
Music & Morning Musume
bryan
46
6.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
YesSQL, Process and Tooling at Scale
rocio
173
14k
The Pragmatic Product Professional
lauravandoore
36
6.8k
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?