Book Image

Java 9 Performance Optimization and Modularization [Video]

By : Andrei Ruse
Book Image

Java 9 Performance Optimization and Modularization [Video]

By: Andrei Ruse

Overview of this book

<p><span id="description" class="sugar_field">More than three years after the release of Java 8, the next version is now just around the corner. You may have heard about Java 9’s module system, but there's even more to this new version.</span></p> <p><span id="description" class="sugar_field">The course will teach you how to leverage the power of multithreading in Java, before moving on to look at the benefits of modularising larger projects. We start of on our path by building a Twitter application that leverages the Twitter public API. We will start with a trivial single threaded implementation, pulling a single hashtag, and storing tweets in a text file. We will then accelerate the application by leveraging multi-threading, to download and process hashtags concurrently. Functional programming will be used for processing data streams.</span></p> <p><span id="description" class="sugar_field">By the end of this course, you will be familiar with Java 9 Performance Optimization and Modularization.</span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">This tutorial is a comprehensive yet easy to follow guide packed full of examples, designed to introduce viewers to different data structures available in Java 9</span></span></p>
Table of Contents (4 chapters)
Chapter 2
Accelerating Hashtag Processing
Content Locked
Section 1
Multithreading in Java and the Executor Service
What is multi-threading and how can we execute code in parallel in Java? - Discuss about the concept of multithreading - Explain when multithreading is the right choice - Discuss the different concurrency classes in Java