Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Rallyで支えるバージョン追従
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Kazuma Arimura
December 14, 2022
Programming
1.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rallyで支えるバージョン追従
第51回 Elasticsearch勉強会 LT大会
Kazuma Arimura
December 14, 2022
More Decks by Kazuma Arimura
See All by Kazuma Arimura
Query Rulesの現在地
pakio
0
230
言語モデルを用いたQuery Categorizationへの取り組み / LM-based query categorization for query understanding
pakio
0
1.2k
Search platform migration at MercariUS/Mercari USにおけるElasticsearchへの検索基盤移行:マイグレーションの知見と課題
pakio
0
770
Shard Balancingについて理解したい/Understanding shard rebalancing in Elasticsearch
pakio
0
1.2k
CUEを使ったJSONテンプレート管理
pakio
0
1k
宣言的かつ安全に管理するElasticsearch/Declarative management for Elasticsearch
pakio
0
1.1k
8.0からのkNNはどう変わったのか / How kNN search changed in the Elasticsearch 8.0
pakio
1
2.4k
マッピング設定最適化によるパフォーマンス改善の取り組み + match_only_textのパフォーマンス検証 / Improving indexing performance by specifying mapping properties.
pakio
0
580
リプレイスを通して実現した、 より高度なサービス改善 / Service improvement process through the system replacement
pakio
0
5.6k
Other Decks in Programming
See All in Programming
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
130
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
470
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
360
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
210
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
410
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
JRuby: Past, Present, and Future
headius
0
230
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.3k
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
170
残高管理から台帳サービスへの進化
artoy
1
200
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
110
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.2k
New Earth Scene 8
popppiees
4
2.7k
Thoughts on Productivity
jonyablonski
76
5.4k
Building the Perfect Custom Keyboard
takai
2
900
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Scaling GitHub
holman
464
140k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Chasing Engaging Ingredients in Design
codingconduct
0
360
Amusing Abliteration
ianozsvald
1
340
Transcript
Rallyで試すパフォーマンスチューニングの ベストプラクティス+@ 第51回 Elasticsearch JP @pakio
注意:すべて手元で計測したデータであることをご了 承ください
効果のあったものをランキング形式でご紹介 参考 Tune for search speed Tune for indexing speed
第3位
第3位 refresh_interval ref: Tune for indexing speed デフォルトで1sとなっているrefresh_intervalを適切 な値に設定 (下記は10sの例)
track: metricbeat track: nested
第2位
第2位 Search rounded date ref: Tune for search speed range
queryで指定する nowやtimestampを丸める track: metricbeat
第1位
第1位 Update to latest ver. Elasticsearchのバージョンを最新に保ちましょう
v7.17.8 vs v8.5.3 Indexing Performance track: metricbeat track: nested
v7.17.8 vs v8.5.3 SearchPerformance track: metricbeat track: nested
Rallyで試すパフォーマンスチューニングの ベストプラクティス+@ 第51回 Elasticsearch JP @pakio
Rallyで試すパフォーマンスチューニングの ベストプラクティス+@ 第51回 Elasticsearch JP @pakio
Rallyで支えるバージョン追従 第51回 Elasticsearch JP @pakio
Rallyとは?
Rallyとは? • ベンチマーク用クラスタのセットアップ • バージョンをまたいでのベンチマーク管理 • ベンチマークの履歴管理 • telemetry devicesを用いたボトルネック計測
• 複数ベンチマーク結果の比較
Rallyとは? • ベンチマーク用クラスタのセットアップ • バージョンをまたいでのベンチマーク管理 • ベンチマークの履歴管理 • telemetry devicesを用いたボトルネック計測
• 複数ベンチマーク結果の比較
バージョン追従 のハードル • バージョンアップのノウハウがない • パフォーマンスに懸念がある • クエリがそのまま動くかわからない
バージョン追従 のハードル • バージョンアップのノウハウがない • パフォーマンスに懸念がある • クエリがそのまま動くかわからない
benchmark trackを作る
benchmark track を作る ① データの取得 既存のデプロイメントからのデータ取得に対応
benchmark track を作る ② クエリを保存 サービスのクエリログなどから、任意のクエリを抽出し track内に 保存
benchmark track を作る ③ クエリを呼び出し track.pyにqueriesからランダムにクエリを抽出するスクリプトを記 述、track.jsonで呼び出し
benchmark track を作る ④ 👍
バージョン追従 のハードル • バージョンアップのノウハウがない • パフォーマンスに懸念がある • クエリがそのまま動くかわからない
まとめ • パフォーマンス改善の一歩目としてバージョン アップはオススメ • Rallyを使って定量評価しましょう