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
使用ES的一些经验-秦强强 #ESCC#4
Search
medcl
October 17, 2015
Technology
0
100
使用ES的一些经验-秦强强 #ESCC#4
折800使用ES经验分享
medcl
October 17, 2015
Tweet
Share
More Decks by medcl
See All by medcl
Elasticsearch 在智能运维领域的运用
medcl
0
270
Elastic Stack- Past, Present, & Future
medcl
0
46
A Spider Written in Golang
medcl
1
61
又一个爬虫
medcl
0
83
Introduction to Beats and extending Beats
medcl
0
75
Elasticsearch & Bigdata
medcl
2
200
Elastic Stack V5
medcl
0
93
Elastic Stack V5
medcl
0
52
基于Elastic Stack的数据探索与分析@QConBeijing2016
medcl
1
350
Other Decks in Technology
See All in Technology
Terraformあれやこれ/terraform-this-and-that
emiki
8
1.4k
検証を通して見えてきたTiDBの性能特性
lycorptech_jp
PRO
6
3.7k
20分で完全に理解するGrafanaダッシュボード
hamadakoji
3
510
開発生産性向上サービスを作るFindyが自分たちで開発生産性を爆上げした組織づくりの歩み / Findy's path to boosting its own development productivity 2024-04-17
ma3tk
3
650
エンジニアのキャリアをちょっと楽しくする3本の軸/Three Pillars to Make an Engineer's Career More Enjoyable
kwappa
0
2.7k
DevOpsメトリクスとアウトカムの接続にトライ!開発プロセスを通して計測できるメトリクスの活用方法
ham0215
2
240
ServiceNow Knowledge 24の歩き方 EYストラテジー・アンド・コンサルティング
manarobot
0
190
Vertex AI を中心に 生成AIのアップデートを共有します
kaz1437
0
300
ServiceNow Knowledge Learning Rise up
manarobot
0
210
Janus
bkuhlmann
1
490
FrontDoorとWebAppsを組み合わせた際のリダイレクト処理の注意点
kenichirokimura
1
510
Cracking the KubeCon CfP
inductor
2
240
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
24
2k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
1k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Making Projects Easy
brettharned
108
5.5k
Navigating Team Friction
lara
178
13k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
GraphQLとの向き合い方2022年版
quramy
32
12k
KATA
mclloyd
15
12k
Building Adaptive Systems
keathley
31
1.9k
Building Flexible Design Systems
yeseniaperezcruz
319
37k
Happy Clients
brianwarren
92
6.4k
Transcript
使用es的一些经验 秦强强 折800 @thanq童鞋扭曲的爱 !
• 请务必以批判地看待
ES cluster! log4j! client! other! client! kafka! collect or! collect
or!
• 一些有用的配置 • 优化mapping, 禁用_all, 不对不是查询条件的field建索引! • 打开慢查询慢索引日志和GC日志! • 限制
fielddata cache 的堆内存占比, 设置合适的 indices.breaker(断路器)! • 单机多实例时, 配置主从分片在不同的机器
• 遇到的坑 • 避免深度分页的检索! • 避免没有指定索引的检索 和 会查询很多个索引的检索
• 一些经验 • 写入压力变小时,集群的反应会变快! • 单个实例hold更少的分片和数据时,内存压力会变小,反应 会变快! • 日志检索场景下, 越新的数据检索的频率会越高;老数据的
检索需求有,但不多
• 下一步要做的事情 • 抽出独立的查询节点和master节点! • 冷热分离! • GC优化! • 更好的安全性
tribe! ES cluster! tribe! client! ! ! ! ! !
! ! ! !
tribe! cold ES cluster! tribe! client! ! ! ! !
! ! ! ! ! hot ES cluster!
Thanks !