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
Kazuma Arimura
December 14, 2022
Programming
0
1.2k
Rallyで支えるバージョン追従
第51回 Elasticsearch勉強会 LT大会
Kazuma Arimura
December 14, 2022
Tweet
Share
More Decks by Kazuma Arimura
See All by Kazuma Arimura
Query Rulesの現在地
pakio
0
190
言語モデルを用いたQuery Categorizationへの取り組み / LM-based query categorization for query understanding
pakio
0
1.1k
Search platform migration at MercariUS/Mercari USにおけるElasticsearchへの検索基盤移行:マイグレーションの知見と課題
pakio
0
680
Shard Balancingについて理解したい/Understanding shard rebalancing in Elasticsearch
pakio
0
1.1k
CUEを使ったJSONテンプレート管理
pakio
0
980
宣言的かつ安全に管理するElasticsearch/Declarative management for Elasticsearch
pakio
0
1k
8.0からのkNNはどう変わったのか / How kNN search changed in the Elasticsearch 8.0
pakio
1
2.2k
マッピング設定最適化によるパフォーマンス改善の取り組み + match_only_textのパフォーマンス検証 / Improving indexing performance by specifying mapping properties.
pakio
0
530
リプレイスを通して実現した、 より高度なサービス改善 / Service improvement process through the system replacement
pakio
0
5.3k
Other Decks in Programming
See All in Programming
Cap'n Webについて
yusukebe
0
160
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
340
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
5
710
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
520
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
140
愛される翻訳の秘訣
kishikawakatsumi
3
370
[AtCoder Conference 2025] LLMを使った業務AHCの上⼿な解き⽅
terryu16
6
1k
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
180
AtCoder Conference 2025「LLM時代のAHC」
imjk
2
650
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
250
PC-6001でPSG曲を鳴らすまでを全部NetBSD上の Makefile に押し込んでみた / osc2025hiroshima
tsutsui
0
200
GoLab2025 Recap
kuro_kurorrr
0
3.6k
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
Embracing the Ebb and Flow
colly
88
4.9k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.9k
The Cult of Friendly URLs
andyhume
79
6.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
39
GraphQLとの向き合い方2022年版
quramy
50
14k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
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を使って定量評価しましょう