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.1k
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
170
言語モデルを用いたQuery Categorizationへの取り組み / LM-based query categorization for query understanding
pakio
0
980
Search platform migration at MercariUS/Mercari USにおけるElasticsearchへの検索基盤移行:マイグレーションの知見と課題
pakio
0
640
Shard Balancingについて理解したい/Understanding shard rebalancing in Elasticsearch
pakio
0
980
CUEを使ったJSONテンプレート管理
pakio
0
940
宣言的かつ安全に管理するElasticsearch/Declarative management for Elasticsearch
pakio
0
980
8.0からのkNNはどう変わったのか / How kNN search changed in the Elasticsearch 8.0
pakio
1
2.1k
マッピング設定最適化によるパフォーマンス改善の取り組み + match_only_textのパフォーマンス検証 / Improving indexing performance by specifying mapping properties.
pakio
0
480
リプレイスを通して実現した、 より高度なサービス改善 / Service improvement process through the system replacement
pakio
0
5k
Other Decks in Programming
See All in Programming
Deep Dive into ~/.claude/projects
hiragram
12
2.4k
deno-redisの紹介とJSRパッケージの運用について (toranoana.deno #21)
uki00a
0
180
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
150
設計やレビューに悩んでいるPHPerに贈る、クリーンなオブジェクト設計の指針たち
panda_program
6
1.9k
PipeCDのプラグイン化で目指すところ
warashi
1
260
すべてのコンテキストを、 ユーザー価値に変える
applism118
3
1.2k
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1.2k
VS Code Update for GitHub Copilot
74th
2
610
“いい感じ“な定量評価を求めて - Four Keysとアウトカムの間の探求 -
nealle
1
7.1k
第9回 情シス転職ミートアップ 株式会社IVRy(アイブリー)の紹介
ivry_presentationmaterials
1
260
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
410
童醫院敏捷轉型的實踐經驗
cclai999
0
210
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
730
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Statistics for Hackers
jakevdp
799
220k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
4 Signs Your Business is Dying
shpigford
184
22k
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を使って定量評価しましょう