Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying High Performance with Java
  • Table Of Contents Toc
  • Feedback & Rating feedback
High Performance with Java

High Performance with Java

By : Dr. Edward Lavieri Jr.
close
close
High Performance with Java

High Performance with Java

By: Dr. Edward Lavieri Jr.

Overview of this book

Building high performance into your applications is key to creating an optimal user experience, although it is not the only consideration for the performant nature of your apps. High performance applications can lead to cost-effective resource utilization, especially when scalability and cloud computing are involved. They can also provide highly reliable systems that are easier to maintain. High Performance with Java begins by helping you explore the Java Virtual Machine (JVM) and understand how to push it to its limits to further optimize your programs. You’ll take a hands-on approach to go through memory optimization strategies, input/output operations, concurrency, networking, as well as frameworks and libraries focused on performance. You’ll also learn key strategies and best practices by using industry-relevant examples to architect scalable and resource-efficient applications. The concluding chapters provide valuable insights on optimizing your Java code when interacting with databases and show you how to leverage artificial intelligence (AI) for high performance Java applications. By the end of this book, you’ll grasp the importance of developing high performance Java applications and gain practical experience in implementing key strategies to help ensure your Java applications perform optimally.
Table of Contents (26 chapters)
close
close
Lock Free Chapter
1
Part 1: Code Optimization
7
Part 2: Memory Optimization and I/O Operations
11
Part 3: Concurrency and Networking
15
Part 4: Frameworks, Libraries, and Profiling
19
Part 5: Advanced Topics

Unit testing

The software developer’s adage of “test, test, and test again” still applies to modern systems but in a more refined way. Instead of testing our systems as a whole, we focus on small components of our code to ensure that they perform efficiently and as expected. These components are referred to as units. When we isolate units of code, we can more easily detect bugs and improve the overall quality of our code. This approach is referred to as unit testing and is the focus of this section.

Unit testing

Unit testing is an approach to software testing that involves testing the smallest sections of a system’s code to ensure that it performs correctly and efficiently in isolation.

The primary benefits of unit testing include the following:

  • Bug detection: Unit testing enables us to detect bugs early, before the code is published as part of the larger system.
  • Code quality: This testing approach, with its finite focus, results in...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
High Performance with Java
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon