Book Image

Software Architecture with Spring 5.0

By : René Enríquez, Alberto Salazar
Book Image

Software Architecture with Spring 5.0

By: René Enríquez, Alberto Salazar

Overview of this book

Spring 5 and its ecosystem can be used to build robust architectures effectively. Software architecture is the underlying piece that helps us accomplish our business goals whilst supporting the features that a product demands. This book explains in detail how to choose the right architecture and apply best practices during your software development cycle to avoid technical debt and support every business requirement. Choosing the right architecture model to support your business requirements is one of the key decisions you need to take when a new product is being created from scratch or is being refactored to support new business demands. This book gives you insights into the most common architectural models and guides you when and where they can be used. During this journey, you’ll see cutting-edge technologies surrounding the Spring products, and understand how to use agile techniques such as DevOps and continuous delivery to take your software to production effectively. By the end of this book, you’ll not only know the ins and outs of Spring, but also be able to make critical design decisions that surpass your clients’ expectations.
Table of Contents (21 chapters)
Title Page
Copyright and Credits
Packt Upsell

The key recommendation to avoid performance issues

It's common to use load testing tools, Application Performance Monitors (APMs), and profiling tools to find and fix performance issues in software systems. To simulate the number of users in production, we need to run load test-creating scenarios for the most commonly used functionalities of our system, and, at the same time, track and monitor the application health-measuring resources such as CPU, RAM, IO, heap usage, threads, and database access. At the output of these process, we can give some key recommendations to keep your software away from performance issues.

In the following section, we are going to explain the most common bottlenecks that we can find, and how to avoid them.

Identifying bottlenecks

Enterprise applications become more complex every day. When the business succeeds, the application supporting that business will have more users, which means a bigger load received every day, so we need to take care of the performance bottlenecks...