WIP 介绍高并发场景下的 design 和 troubleshotting。
Tools
Trace 任意函数的执行时间
该方案整理自某同事的 idea。
考虑下面的场景,我们需要查看某动态链接库 /path/to/libtiflash_proxy.so
中 handle_pending_applies
函数每次调用的耗时。
1 | perf probe --del 'probe_libtiflash_proxy:*' |
WIP 介绍高并发场景下的 design 和 troubleshotting。
该方案整理自某同事的 idea。
考虑下面的场景,我们需要查看某动态链接库 /path/to/libtiflash_proxy.so
中 handle_pending_applies
函数每次调用的耗时。
1 | perf probe --del 'probe_libtiflash_proxy:*' |
微信打赏
支付宝打赏