在 Kubernetes 上优化 Java 应用程序:进阶篇.pdf

编号:981423 PDF 46页 1.66MB 下载积分:VIP专享
下载报告请您先登录!

在 Kubernetes 上优化 Java 应用程序:进阶篇.pdf

1、Optimizing Java Applications on KubernetesBeyond the BasicsBruno BorgesMicrosoft Developer DivisionJava Engineering Group(JEG),June 2024DevDiv Java Engineering GroupAgenda Part II:Kubernetes Vertical Autoscaling Java on Kubernetes Understanding CPU Throttling Impact of resource distribution on perfo

2、rmance and cost Part III:AB Perf Test Performance Testing different topologies Part 0:Size and Startup time Container images JVM startup optimizations Part I:JVM Defaults Default Ergonomics Understand JVM default values How memory and CPU impact GC selection Garbage Collectors Recommendations for be

3、tter starting points for dedicated environmentsNon-goal:Advanced JVM TuningWe dont cover JVM Tuning here,but you can see the opportunities!Part 0:Size and Startup timeSize is nice,security is better:reducing attack surface area.DevDiv Java Engineering GroupWhy reduce container images?Size is importa

4、nt,but Storage is cheap Network speed between VM and Container Registry is super fast if container image size is impacting scaling,then make it a priority Security is truly important,and Less 3rd-party dependencies reduces potential vulnerabilities that can be exploited Reduces attacking surface are

5、a by eliminating unnecessary tools Easier to meet compliance requirements Easier to audit Lower risk of misconfiguration Faster to update and patchDevDiv Java Engineering GroupHow to reduce container image size?Base Image OS layer Use distroless images Java application Reduce dependencies at runtime

6、 Layer dependencies and app binary separately Run with a non-root user JVM runtime Create a custom Java runtime with just the parts you need Go the extra mile with GraalVM Native ImageDevDiv Java Engineering GroupBase imagesImageTypeSize(extracted)DebianFull117 MBUbuntuFull 78.1 MBDebianSlim74.8 MBA

友情提示

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

本文(在 Kubernetes 上优化 Java 应用程序:进阶篇.pdf)为本站 (竿头日上) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

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