Packt Publishing

Writing High Performance Java Application in Java 9

Length Under 3 weeks
Price £124
Subject Computer Science
Level Beginner
Languages English
Video Transcripts English

A lot of applications that are built today need to handle huge amounts of traffic in low latency. Java is a very popular language and JVM is a popular platform to build high performance programs in Java. Java 9 adds reactive programming as a first class citizen to handle traffic in a multi-threaded and concurrent way. Writing high-performance concurrent and thread-safe programs is hard, but you’ll discover how and see what Java 9 adds to the software engineer toolkit.

First, we’ll create efficient lock-free programs that leverage the multi-core architecture of the CPU using the newest Java 9 features. Then you’ll see how Java Memory Model affects the performance of your programs. You’ll discover why it’s even more important to be aware of the software-hardware co-operation of your programs in Java 9.

Moving on, you’ll find out how to leverage constructs from JAVA 9 java.util.concurrent to create efficient multi-threaded programs. We’ll explore the different kinds of locking available in JAVA 9 and get to know when you should use which kind of locks. Finally, you’ll see what tools are shipped with the JDK 9 and know how to use them properly.

What you'll learn

  • Know how to write concurrent multithreaded programs
  • Explore the different kinds of locking available in Java 9
  • Understand the different kinds of tools that are shipped with JDK 9
  • Create efficient lock-free programs that leverage the multi-core architecture of the CPU using Java 9’s features
  • Build a HTTP metrics aggregator application using various concurrent techniques
  • Use the Reactive programming model to create efficient programs
  • Control a huge amount of traffic using the aggregator in Java 9
  • Detect memory leaks with JVisualVM

Course syllabus

Online