Git Product home page Git Product logo

performance-spring-3158745's Introduction

Performance Tuning in Spring Apps

This is the repository for the LinkedIn Learning course Performance Tuning in Spring Apps. The full course is available from LinkedIn Learning.

Performance Tuning in Spring Apps

Resilient and reliable application performance is an essential aspect of every successful enterprise-scale application. Unfortunately, it can be quite challenging to deliver well-considered performance objectives and results. In this course, instructor Kathy Flint teaches Java professionals working with Spring apps how to address the multi-faceted aspects of performance engineering to deliver high-performing applications that respond to business needs. First, Kathy makes sure you understand Spring application performance. Then she shows you how to configure and use the Spring Actuator, as well as how to customize Spring performance logging. Kathy explains several common Spring performance challenges and what you can do about them. She goes over how to compile a performance profile and offers a few key practices and tools that a Spring developer can adopt in any situation. Kathy finishes up with ways you can discuss and demonstrate performance goals and metrics.

Installing

  1. To use these exercise files, you must have the following installed:
    • Java 8 or higher
    • Maven
  2. Clone this repository into your local machine using the terminal (Mac), CMD (Windows), or a GUI tool like SourceTree.

Run and Edit

Intellij IDEA

  1. From IDEA Welcome screen, select Open or Import
  2. Choose the root directory of your newly cloned repository: /performance-spring-3158745
  3. Within IntelliJ, make sure your Project SDK is set to Java 1.8 or higher. (File > Project Structure)
  4. From the Project View, context-click on the file demo-client/pom.xml
  5. Select + Add as Maven project. This will cause project dependencies to download from the internet.
  6. Context-click on the file demo-client/src/main/java/com.lil.springperformance.DemoClientApplication.java
  7. Select Run
  8. Open the demo-client application in your browser at http://localhost:9091
  9. From the Project View, context-click on the file demo-api/pom.xml
  10. Select + Add as Maven project.
  11. Context-click on the file demo-api/src/main/java/com.lil.springperformance.DemoApiApplication.java
  12. Select Run
  13. Open the demo-api application in your browser at http://localhost:9092

Run from Command Line

  1. In your terminal, navigate to either /performance-spring-3158745/demo-client or /demo-api
  2. Execute mvn clean package
  3. Execute mvn spring-boot:run
  4. Open the app in your browser using the localhost address shown in the startup console log messages.

Instructor

Kathy Flint

Software Engineer and Application Architect

Check out my other courses on LinkedIn Learning.

performance-spring-3158745's People

Contributors

kdflint avatar smoser-lil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.