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
Rallyで支えるバージョン追従
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
220
言語モデルを用いたQuery Categorizationへの取り組み / LM-based query categorization for query understanding
pakio
0
1.2k
Search platform migration at MercariUS/Mercari USにおけるElasticsearchへの検索基盤移行:マイグレーションの知見と課題
pakio
0
760
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.3k
マッピング設定最適化によるパフォーマンス改善の取り組み + match_only_textのパフォーマンス検証 / Improving indexing performance by specifying mapping properties.
pakio
0
570
リプレイスを通して実現した、 より高度なサービス改善 / Service improvement process through the system replacement
pakio
0
5.6k
Other Decks in Programming
See All in Programming
不幸な GC
chencmd
0
880
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
110
高専キャリア LT 発表内容
crysta1221
6
5.5k
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
4
2.8k
AIと壁打ちしながら進めるコスト管理
fufuhu
2
1.9k
AIの中の人になってみる
htkym
0
160
[KotlinConf Extended South Korea 2026] KotlinConf 2026 발표자 후기
wisemuji
0
100
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
850
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
130
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.5k
이 함수, 실패하면 어떻게 되나요? null부터 Rich Errors까지, Kotlin 에러 처리 15년
haeti2
0
130
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
0
360
Featured
See All Featured
Building Adaptive Systems
keathley
44
3.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Ethics towards AI in product and experience design
skipperchong
2
360
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
500
The Language of Interfaces
destraynor
162
27k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
370
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
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を使って定量評価しましょう