Book description
A hands-on guide to creating, monitoring, and tuning a high performance Spring web application
About This Book- Understand common performance pitfalls and improve your application's performance
- Build and deploy strategies for complex applications using the microservice architecture
- Understand internals of JVM - the core of all Java Runtime Environments
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.
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 design 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
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 projects. It proceeds to evaluate various Spring specifications to identify those adversely affecting performance. You will learn about bean wiring configurations, aspect-oriented programming, database 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.
Style and approachThis book takes a step-by-step approach with focused examples to teach you how to increase application performance.
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Exploring Spring Concepts
- Spring Best Practices and Bean Wiring Configurations
- Tuning Aspect-Oriented Programming
-
Spring MVC Optimization
- Spring MVC configuration
- Spring asynchronous processing, @Async annotation
- CompletableFuture with Spring Async
- Spring Security configuration
- Authentication cache
- Fast and stateless API authentication with Spring Security
- Monitoring and managing Tomcat with JMX
- Spring MVC performance improvements
- Summary
- Understanding Spring Database Interactions
-
Hibernate Performance Tuning and Caching
- Introduction to Spring Hibernate and Spring Data
- Spring Hibernate configuration
- Common Hibernate traps
- Hibernate performance tuning
- Hibernate programming practices
- Summary
- Optimizing Spring Messaging
- Multithreading and Concurrent Programming
- Profiling and Logging
- Application Performance Optimization
- Inside JVM
- Spring Boot Microservice Performance Tuning
- Other Books You May Enjoy
Product information
- Title: Hands-On High Performance with Spring 5
- Author(s):
- Release date: June 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788838382
You might also like
book
Hands-On Reactive Programming in Spring 5
Explore the reactive system and create efficient microservices with Spring Boot 2.1 and Spring Cloud Key …
book
Modern API Development with Spring and Spring Boot
A developer's guide to designing, testing, and securing production-ready modern APIs with the help of practical …
video
Spring Microservices in Action, Second Edition, Video Edition
In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and …
video
Spring Framework Master Class: Java Spring - The Modern Way
Do you want to get well-versed with the Spring framework and become a modern Spring developer? …