O'Reilly logo

Java EE 7 Performance Tuning and Optimization by Osama Oransa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Work as designed performance issues

In work as designed performance issues, the application behaves exactly as designed but the design itself has issues that lead to bad performance. Let's go through some examples.

Synchronous where asynchronous is required

The design assumes that some parts of the application can be achieved in sequence without considering the expected time spent in some elements of this flow (or retry logic in certain services). This will lead to a bad performance of the application in these transactions, while in fact it is working as designed.

For example, if the transaction needs to send an e-mail to the customer and the e-mail server is not responding, the request will end up with a timeout after a configurable period, and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required