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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Transcript
26 slides
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を使って定量評価しましょう
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
780
Shard Balancingについて理解したい/Understanding shard rebalancing in Elasticsearch
pakio
0
1.2k
CUEを使ったJSONテンプレート管理
pakio
0
1.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.7k
Other Decks in Programming
See All in Programming
あなたはMCPの機能を、まだ知らない。
4geru
1
460
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
210
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
200
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
180
Getting Started with Vibe Coding
miccheng
0
240
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
130
エラーチャンネルのボールを拾い続けて鍛えるエンジニアの地力 / phpcon-niigata2026
meihei3
1
270
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
260
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
200
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
240
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
180
Featured
See All Featured
How to Ace a Technical Interview
jacobian
280
24k
Chasing Engaging Ingredients in Design
codingconduct
0
400
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Abbi's Birthday
coloredviolet
5
11k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Automating Front-end Workflow
addyosmani
1370
210k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
750
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k