Linux
, SRE
Q1. 火焰圖(FlameGraph)工作案場是否有使用過?
A1. 追CPU/IO卡住的時候可以使用,也可以用perf
可以用APM
How to generate PHP Flamegraphs
效能調整方法:
Prode(探針):靜態/動態/硬體事件
perf跟著核心released
linux常用動態追蹤fteace/perf/eBPF
- perf
Q1. perf/火焰圖/ftrace有什麼不同?
A1. 網通產品比較容易使用,Web App.比較少用
Q2. prod環境是否有人會開APM,
A2. use case: 被反應很慢的時候* (JAVA)VisialVM JMS EXPORTER:收集效能數據 jconsole * .NET:IIS runtime data application insight * Python http://pramodkumbhar.com/2019/05/summary-of-python-profiling-tools-part-i/ *https://zipkin.io/
現在features我們要求塞入tracing,也是採樣整條function
* 標準做法: 先水平擴展,再用LOG復現環境,再觀察問題
gafana 有釋出相關的dashboard
https://grafana.com/blog/2020/05/22/new-in-grafana-7.0-trace-viewer-and-integrations-with-jaeger-and-zipkin/
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing