沿着复杂性-性能曲线漫步.pdf

编号:981486 PDF 155页 5.51MB 下载积分:VIP专享
下载报告请您先登录!

沿着复杂性-性能曲线漫步.pdf

1、richardstartinA walk along the performance-complexity curveRichard Startin1richardstartinWhat is the performance-complexity curve?A model of the relationship between performance*and complexity as we optimise code proposed by Aleksey Shipilv.*substitute whichever of latency,throughput,cost you care a

2、bout for performance2richardstartin3richardstartin4richardstartin5richardstartin6richardstartin7richardstartinRichard StartinSenior Software EngineerWorking on Continuous Profiling for JavarichardstartinGreen Zone9richardstartinDecide on an objectiveKnow what you want to achieve:Reduce latency?Incre

3、ase throughput?Reduce cost?10richardstartinFinding CPU bottlenecksMetrics better place to start than profilesAnalyse profiles once you know there is a CPU problem11richardstartinContinuous ProfilingContinuously sample the JVM in production at low overheadRecord profiles for all JVMs in a fleet,aggre

4、gate across instancesDifferent technical approaches exist:JFR(built in to JVM)Async-profiler(JVMTI agent,runs in-process)Perf(out of process user-space Linux profiler with kernel support)eBPF(runs in kernel)12richardstartinContinuous ProfilingJFR(in-process)Doesnt take execution samples with true CP

5、U sampling strategy,doesnt report errorsHas privileged access to JVM internals-provides very useful trace eventsGood allocation profilerAsync-profiler(in-process)Various accurate CPU sampling strategiesRigorous error reportingVarious JVMTI based tracing implementations:allocations,locksCan unwind na

6、tive stacksNo other in-process JVM profiler overhead low enough for production useDatadog continuous profiler uses and extends JFR and async-profiler13richardstartinKinds of low hanging fruitNon-functional bugs14richardstartinApache Helix/Pinot busy spin15richardstartinApache Helix/Pinot busy spinhj

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(沿着复杂性-性能曲线漫步.pdf)为本站 (竿头日上) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠