Writing High Performance Java Application in Java 9 [Video]

More Information
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
About

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.

Style and Approach

This is a hands-on course with use of proper tooling to monitor our applications and write code.

Features
  • Master the new features and APIs of Java 9 to implement highly efficient and reliable code
  • Java 9 adds reactive programming as a first class citizen to handle traffic in a multi-threaded and concurrent way
  • Gain in-depth knowledge of Java application performance and obtain the best results from performance testing
Course Length 58 minutes
ISBN 9781788474993
Date Of Publication 25 Jul 2017

Authors

Tomasz Lelek

Tomasz Lelek is a software engineer who programs mostly in Java and Scala. He has worked with the core Java language for the past six years. He has developed multiple production Java software projects that work in a reactive way.

He is passionate about nearly everything associated with software development and believes that we should always try to consider different solutions and approaches before solving a problem. Recently, he was a speaker at conferences in Poland, at JDD (Java Developers Day), and at Krakow Scala User Group. He has also conducted a live coding session at Geecon Conference.

He is a co-founder of initLearn, an e-learning platform that was built with the Java language.

He has also written articles about everything related to the Java world.