《Java Performance》书评

38 篇文章 0 订阅
[img]http://img3.douban.com/lpic/s6983867.jpg[/img]

原文: [url]http://java.dzone.com/reviews/java-performance[/url]


这个是老外写的关于《Java Performance》的书评,以前对这个东西也有所接触和了解, 最近略有实战, 希望有空能翻翻这本书。

本书涵盖了JVM调优(tuning), 测试(benchmarking)和剖析(profiling)的方方面面. 其中开篇第一章"策略, 步骤以及方法论"非常高屋建瓴的告诉你如何在开发过程中处理性能调优的问题.

性能调优是一项艺术. 知道如何使用调优工具是一回事, 而能对拿到的相关数据进行分析是另外一回事. 这本书就是用来让你的程序更好的运行. 通过这本书你可以知道如何从JVM和OS级别来找出应用的性能问题. 担心CPU的消耗, 不知道如何在应用中选择正确的数据结构, 这些问题你将在第六章得到答案.

也许"手把手教你调优JVM(Tuning the JVM, Step by Step)" 这章是本书的精华. 因为很多开发者的调优都是对JVM的各种参数反复的进行调整. 理想情况下, 一般都能解决系统的性能问题. 但是大多数是"知其然不知其所以然", 即大家真的能理解这些参数的意义吗? 我想也未必, 但是你将从这章中得到大部分的答案. 同时能全面的了解垃圾收集(GC)的过程也将有助于你真正理解JVM调优的本质.

这本书同时也涵盖了如何对java程序进行测试, 并帮助你如何找出Java EE应用的性能问题.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Get more control of your applications performances in development and production and know how to meet your Service Level Agreement on critical microservices. Key FeaturesLearn how to write a JavaEE application with performance constraints (Service Level Agreement-SLA) leveraging the platformLearn how to identify bottlenecks and hotspots in your application to fix themEnsure that you are able to continuously control your performance in production and during developmentBook Description The ease with which we write applications has been increasing, but with this comes the need to address their performance. A balancing act between easily implementing complex applications and keeping their performance optimal is a present-day need. In this book, we explore how to achieve this crucial balance while developing and deploying applications with Java EE 8. The book starts by analyzing various Java EE specifications to identify those potentially affecting performance adversely. Then, we move on to monitoring techniques that enable us to identify performance bottlenecks and optimize performance metrics. Next, we look at techniques that help us achieve high performance: memory optimization, concurrency, multi-threading, scaling, and caching. We also look at fault tolerance solutions and the importance of logging. Lastly, you will learn to benchmark your application and also implement solutions for continuous performance evaluation. By the end of the book, you will have gained insights into various techniques and solutions that will help create high-performance applications in the Java EE 8 environment. What you will learnIdentify performance bottlenecks in an applicationLocate application hotspots using performance toolsUnderstand the work done under the hood by EE containers and its impact on performanceIdentify common patterns to integrate with Java EE applicationsImplement transparent caching on your applicationsExtract more information from your applications using Java EE without modifying existing codeEnsure constant performance and eliminate regressionWho This Book Is For If you're a Java developer looking to improve the performance of your code or simply wanting to take your skills up to the next level, then this book is perfect for you. Table of ContentsMoney! The quote manager applicationLook under the cover : what is this "EE" thing?Monitor your applicationsApplication optimization: memory management and server configurationScale up: threading and implicationsBe lazy, cache your dataBe fault tolerantLoggers and performances: a trade-offBenching your applicationContinuous performance evaluation
“The definitive master class in performance tuning Java applications…if you love all the gory details, this is the book for you.” –James Gosling, creator of the Java Programming Language Improvements in the Java platform and new multicore/multiprocessor hardware have made it possible to dramatically improve the performance and scalability of Java software. JavaPerformance covers the latest Oracle and third-party tools for monitoring and measuring performance on a wide variety of hardware architectures and operating systems. The authors present dozens of tips and tricks you’ll find nowhere else. You’ll learn how to construct experiments that identify opportunities for optimization, interpret the results, and take effective action. You’ll also find powerful insights into microbenchmarking–including how to avoid common mistakes that can mislead you into writing poorly performing software. Then, building on this foundation, you’ll walk through optimizing the Java HotSpot VM, standard and multitiered applications; Web applications, and more. Coverage includes Taking a proactive approach to meeting application performance and scalability goals Monitoring Java performance at the OS level in Windows, Linux, and Oracle Solaris environments Using modern Java Virtual Machine (JVM) and OS observability tools to profile running systems, with almost no performance penalty Gaining “under the hood” knowledge of the Java HotSpot VM that can help you address most Java performance issues Integrating JVM-level and application monitoring Mastering Java method and heap (memory) profiling Tuning the Java HotSpot VM for startup, memory footprint, response time, and latency Determining when Java applications require rework to meet performance goals Systematically profiling and tuning performance in both Java SE and Java EE applications Optimizing the performance of the Java HotSpot VM Using this book, you can squeeze maximum performance and value from all your Java applications–no matter how complex they are, what platforms they’re running on, or how long you’ve been running them.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值