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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
360
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
1k
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
340
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.4k
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
2
3.1k
Cosmos World Foundation Model Platform for Physical AI
takmin
0
970
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
170
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
530
AIが実装する時代、人間は仕様と検証を設計する
gotalab555
1
100
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
190
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
140
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
170
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Ethics towards AI in product and experience design
skipperchong
2
200
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
My Coaching Mixtape
mlcsv
0
49
Code Review Best Practice
trishagee
74
20k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
57
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?