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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
380
Red Hat OpenStack Services on OpenShift
tamemiya
0
130
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
Exadata Fleet Update
oracle4engineer
PRO
0
1.1k
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
2
3.1k
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
180
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
560
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
290
Agile Leadership Summit Keynote 2026
m_seki
1
670
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
プロポーザルに込める段取り八分
shoheimitani
1
630
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
2k
Featured
See All Featured
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
From π to Pie charts
rasagy
0
130
Building AI with AI
inesmontani
PRO
1
700
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
220
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
57
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
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?