Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
In this post, the author explains some Java performance optimization tips. They can only be really applicable in some specific high-performance scenarios, but in those, however, they could make a considerable difference.
#java #performance #middle
https://raygun.com/blog/java-performance-optimization-tips/
The Performance Diagnostic Methodology (PDM) is a structured approach in order to find the root cause of Java performance problems.
Instead of start tuning the JVM and see if it helps, a more structured approach can help you exclude some possible causes and point you in the right direction in order to solve the issue appropriately. Part 1.
#java #performance #middle #senior
https://dzone.com/articles/how-to-solve-your-java-performance-problems-part-1
Microservices for Java Developers: Performance and Load Testing
These days numerous frameworks and libraries make it is pretty easy to get from literally nothing to a full-fledged running application or service in a matter of hours. However, the decisions which frameworks make on your behalf (often called “sensitive defaults”) are far from being optimal (or even sufficient) in the context of the specific application or service.
In this tutorial you will get a great overview about performance and load testing, focusing on the tools to help you with achieving your goals and also highlight the typical areas of the application to tune.
#performance #testing #microservices #architecture #tools #middle #senior
https://www.javacodegeeks.com/2019/02/microservices-for-java-developers-performance-and-load-testing.html
Beware of Computation in static {} Initializer
It’s a quite common practice to prepare immutable data during class initialization and save the results in static final fields. In fact, this is exactly what static initializers are designed for.
However you should be careful using it as it can cause significant performance degradation in new JDK versions as shown in this article.
#java #bug #performance #middle #senior
https://pangin.pro/posts/computation-in-static-initializer
Memory Footprint of the JVM
The JVM can be a complex beast. Thankfully, much of that complexity is under the hood, and we as application developers and deployers often don’t have to worry about it too much. With the rise of container-based deployment strategies, one area of complexity that needs some attention is the JVM’s memory footprint. In this post you can see the two kinds of memory, the differences between them, native memory areas, JVM sizing and what does this all mean for Spring, so be sure to check it out!
#jvm #performance #memory #spring #middle #senior
https://spring.io/blog/2019/03/11/memory-footprint-of-the-jvm