Hands-On High Performance with Spring 5: Techniques for scaling and optimizing Spring and Spring Boot applications

Book Description

A hands-on guide to creating, monitoring, and tuning a high web application

Key Features

  • Understand common performance pitfalls and improve your application's performance
  • Build and deploy strategies for complex applications using the microservice
  • Understand internals of JVM - the core of all Java Runtime Environments

Book Description

While writing an application, performance is paramount. Performance tuning for real-world applications often involves activities geared toward detecting bottlenecks. The recent release of Spring 5.0 brings major advancements in the rich API provided by the Spring framework, which means developers need to master its tools and techniques to achieve high performance applications.

Hands-On High Performance with Spring 5 begins with the Spring framework's core features, exploring the integration of different Spring . It proceeds to evaluate various Spring specifications to identify those adversely affecting performance. You will learn about bean wiring configurations, aspect-oriented programming, interaction, and Hibernate to focus on the metrics that help identify performance bottlenecks. You will also look at application monitoring, performance optimization, JVM internals, and garbage collection optimization. Lastly, the book will show you how to leverage the microservice architecture to build a high performance and resilient application.

By the end of the book, you will have gained an insight into various techniques and solutions to build and troubleshoot high performance Spring-based applications.

What you will learn

  • Master programming best practices and performance improvement with bean wiring
  • Analyze the performance of various AOP implementations
  • Explore database interactions with Spring to optimize and configuration
  • Solve Hibernate performance issues and traps
  • Leverage multithreading and concurrent programming to improve application performance
  • Gain a solid foundation in JVM performance tuning using various tools
  • Learn the key concepts of the microservice architecture and how to monitor them
  • Perform Spring Boot performance tuning, monitoring, and health checks

Who This Book Is For

If you’re a Spring developer who’d like to build high performance applications and have more control over your application's performance in production and development, this book is for you. Some familiarity with Java, Maven, and Eclipse is necessary.

Table of Contents

Chapter 1. Exploring spring concepts
Chapter 2. Spring bean wiring configurations
Chapter 3. Tuning Aspect oriented programming
Chapter 4. Spring MVC optimization
Chapter 5. Understanding Spring Database Interactions
Chapter 6. Hibernate Performance Tuning and Caching
Chapter 7. Optimizing Spring Messaging
Chapter 8. Multithreading and Concurrent Programming
Chapter 9. Profiling and Logging
Chapter 10. Application Performance Optimization
Chapter 11. Inside JVM
Chapter 12. Spring Boot Microservice Performance Tuning

Book Details