Develop high-performing server applications using the widely successful WildFly platform Anyone with an interest in learning more and improving the performance of Java-based technology in general, all the way to WildFly in particular, will find this book useful. The hugely successful JBoss Application Server has been updated and is now called WildFly. This cutting edge technology provides a free JEE-certified platform for the software of today and tomorrow. Learning to tune such a platform for optimal performance is vital for a healthy business organization, efficient development, and the smooth running of operations. This practical book explores how to tune one of the leading open source application servers in its latest reincarnation. In this book, you will learn what performance tuning is and how it can be performed on WildFly and the JVM using solely free and open source tools and utilities. Learn about various free tools for performance monitoring and tuning, all focused on making them work with WildFly. The tuning journey ventures through the landscape of the major JEE technologies, EJB, Servlets, JPA, JSF, and JMS. Discover best practices for the internal high-performing web container Undertow, WebServices, and REST services so that you end your journey feeling confident in tuning WildFly for optimal performance.
In the first chapter the author introduces general one in the topic of performance tuning. How can performance be measured and compared. When is a application performant. For example, between response time felt by the user directly and distinguish actual processing speed. Further theoretical issues such as the integration of the performance-tuning in the ongoing development process and testing of applications are also briefly discussed. The author presents Development Tools with which the performance can be measured in JBoss Wildfly and checked. It also includes tools for profiling and monitoring of JBoss applications. It is very nice that the author of alternatives for the three most common OS, so Microsoft Windows, Linux and OSX holds, so that everyone can work. After this introduction, basic optimization options using JVM parameters are listed and explained well. Here no major findings are to be expected for JDK experienced users. However, if you still have difficulties with understanding the Java memory management, will find a well engineered and understandable entry, so this point is quite positive. From Chapter 4, the author now refers Exclusively on components of the JBoss Wildfly. Very nice the new architecture of JBoss is explained from version 7. Why the book is also well suited for developers using JBoss still in version 7 or JBoss EAP. The author explains the configuration via XML and also alternatively via the JBoss CLI for all subsystems. What distinguishes the book from other literature is the successful combination of application examples in the form of source code snippets with the appropriate configuration options because often a pure Performance tuning, which is limited to the configuration of a service does not achieve the desired effect, in some cases may have a negative impact on the overall performance even. The final chapter, in which the clustering of JBoss applications will be treated to individual subsystems is rather a small introduction. This should not expect too much you look. Overall Wildfly Performance Tuning (http://tinyurl.com/qduqtex) is a very successful book that every JBoss developer should read. The subsystems in JBoss Wildfly are so varied and complex that, of course, not every subsystem is can be explained in all points. But it is a very good introduction to the topic in general and it shows the reader what to look for if he wants to develop high-performance applications.
Only three chapters are quite useful from the start.
The first chapter talks about the Science of Performance. Objectively describe all aspects that should be considered for a good performance tuning. Explain what the scalability, "anti-patterns" unhelpful for a tune, and the evidence to be considered for a good job. This is a very useful and general chapter, which can be applied to any software, and not necessarily WildFly or is Java.
The second chapter contains tools that allow for a good tuning, profiling (do not know how to translate into Spanish), signs of memory and cpu, VisualVM, monitoring, operating system tools such as top , vmstat , netstat Linux / Unix, vm_stat OS X, and the Task Manager and the command ntstat Windows. It also explains the use of the same tools WildFly, and pretty well used generator stress of Apache JMeter .
Once all the necessary concept, and all the necessary tools together, we come to chapter three for describing how to perform a tune on the JVM, starting with the theory of the memory areas of the JVM (heap, stack and native stack JVM ) and know the GC. We test the possible scenarios facing the JVM as well as what to do to avoid memory (the terrorific java.lang.OutOfMemoryError ). And how and what ends should monitor the JVM in a production environment.
It really is a great book necessary for performance tweaks. Need not apply to WildFly because there are many concepts that can be applied in any Java EE container, and gives good light to realize memory when developing either a Java application. I really recommend it.
This book (http://bit.ly/1uqRUQx) surprised me in a positive way. While expecting to read a manual for WildFly configuration and tuning, I found the book to be also a useful guide for the performance tuning of Java EE applications and JVM itself. It covers relational databases, their design and optimization, JDBC, ORM technologies, like Hibernate and JPA, Servlets and JSP, JMS, SOAP and REST Web services, and some other technologies. The content is arranged in a consistent way. The first chapter contains an interesting discussion of performance tuning essentials, approaches and methodologies used for optimization. The second chapter refers tools and applications useful for tuning and monitoring different parts of Java EE systems. The third chapter provides information about JVM optimization for the most common use cases. The next chapters describe performance tuning of the WildFly server and its subsystems, like EJB, persistence layer, Web container, Web applications and services. The last chapter provides receipts for tuning WildFly clusters. The book language is clear and precise. The content includes numerous illustrations, like schemes, tables, and screenshots. Some chapters contain brief technical reminders to refresh knowledge of the technologies being discussed. All these features add value to the book. Also, there are some interesting historical reviews, like WildFly's history or The evolution of web frameworks. In general, I think that this book can be useful for any Software engineer, for anybody who is interested in the performance tuning of computer applications.
Maybe my expectations were set too high, but what a disappointment this book is.
This book is full of grammatical errors. Some of them read so poorly (for example, the description of the blocking-bounded-queue-thread-pool) that it leaves the reader wondering if the editor has any kind of proofreading skills at all.
The descriptions of the subsystems are severely lacking: only 5 are mentioned (according to the index) and some of those are only presented with a couple of paragraphs that leave you wondering what they are really for. I would expect more information from this book: a comprehensive list of subsystems, with brief description of what they do, and a better explanation of their configuration settings and how they affect the system. Hand waiving is done at the beginning of that chapter. To paraphrase: "You can turn off the different subsystems, but some of them are dependent on others to that might break things. Good luck cause we're not helping you with that. Here are 5 that may or may not be important."
So, what I'm left with is what I guess I has been my experience with JBoss documentation in general. Another source that has sparse pinpoints of information that needs to be parsed and gleaned and hopefully made understandable enough to be applied in a meaningful way.
I am surprised that the performance book for wildfly is published earlier than expected. wildfly is quite new and moreover, undertow is almost new face even for REDHAT engineers and developer. http://tinyurl.com/qduqtex