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
Oracle AI Database移行・アップグレード勉強会 - RAT活用編
oracle4engineer
PRO
0
110
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
400
Webhook best practices for rock solid and resilient deployments
glaforge
2
310
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
660
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
300
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.4k
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
260
AIが実装する時代、人間は仕様と検証を設計する
gotalab555
1
190
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
240
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
770
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
130
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
Featured
See All Featured
WCS-LA-2024
lcolladotor
0
450
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
70
Building Flexible Design Systems
yeseniaperezcruz
330
40k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
79
Designing for humans not robots
tammielis
254
26k
Technical Leadership for Architectural Decision Making
baasie
2
250
RailsConf 2023
tenderlove
30
1.3k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
58
50k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
120
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?