Extreme Java – Concurrency Performance

πŸŽ‰ Special Offer: Exclusive Deal Just for You! πŸŽ‰

Use code COURSEFARM to get 30% OFF on all products!

-88%

Extreme Java – Concurrency Performance

Extreme Java - Concurrency Performance

Extreme Java – Concurrency Performance

Original price was: $797.00.Current price is: $92.00.

In stock

Original price was: $797.00.Current price is: $92.00.

Extreme Java – Concurrency Performance is only concurrency course endorsed by Brian Goetz, author of the best-seller Java Concurrency in Practice. Our course is loosely based on Goetz’ excellent book, but adapted for modern Java.

Purchase this product now and earn 92 Points!
10 Points = $1

Description

Extreme Java – Concurrency Performance

Extreme Java - Concurrency Performance

This course could be your most productive learning experience ever! It is aimed at the busy Java professional who wants to quickly learn and apply new essentials on core Java topics. All topics have been thoroughly researched by Dr Heinz Kabutz, famous in over 145 countries for his Java Specialists’ Newsletter .

Extreme Java – Concurrency Performance is only concurrency course endorsed by Brian Goetz, author of the best-seller Java Concurrency in Practice. Our course is loosely based on Goetz’ excellent book, but adapted for modern Java.

During the course we use the new Java 8 syntax for lambdas and streams, making the code more readable. You will learn about threading, performance, compare-and-swap non-blocking constructs, garbage collectors and many other topics that you will be able to quickly apply in your own work. We will also cover all relevant constructs found in Java 8, such as StampedLock, LongAdder, parallel streams and many more. As a side effect, you will get familiar with Java 8 lambdas and streams.

Please look at the outline to see all the topics covered. During the training, you will always get a chance to try out what you have learned in carefully thought out exercises. This will help you understand and quickly internalize what you have just learned.
Is this course for you?

Students who have successfully completed this course, can expect the following outcomes:

Throughout the course, we use the new Java 8 syntax. The first outcome would thus be an understanding of how lambdas and streams work in Java 8.
Students gain a good understanding of why threads are important and what the risks are. They learn how to share objects safely, including visibility concerns. They also master safety techniques of thread confinement, stack confinement and object confinement. Through this, they learn how to design a thread-safe class.
They will know the difference between a synchronized and a concurrent collection and when to use which one. This is particularly important to be able to write high-performance code that scales well.
They would understand how a blocking queue can be used to build producer consumer systems and what the various blocking queues are in Java.
They would know how Semaphore, CountDownLatch and Phaser works.
Students would learn how to use the thread pool executors to run tasks asynchronously. They would also learn how to configure these, including how to cope with an unexpected number of tasks and how the various settings interact.
They will learn how to break up a large tasks into smaller tasks by choosing good task boundaries, resulting in tasks that are homogeneous and independent.
They would learn how to cleanly cancel tasks that have been ed by using interruptions and volatile boolean fields.
Students would learn how the Fork/Join Pool works by comparing it to a normal single-threaded recursive algorithm. They will also get an opportunity to refactor a piece of Fork/Join Code to use parallel streams instead, in order to see how Java 8 can make coding a bit easier.
Students would know how to detect and solve liveness issues, such as deadlock, livelock and contention.

They would also know how to find and solve performance bottlenecks, especially in threaded code.
They would know how ReentrantLock, ReentrantReadWriteLock and the new Java 8 StampedLock work and how we can use that to write efficient code using optimistic techniques.
They would know how to write their own synchronizers when needed, by creating state-dependent classes.
Students would understand what atomic classes are and know techniques to use them to build efficient non-blocking classes that offer better performance under contention.
They would understand the most common garbage collection algorithms: throughput, concurrent and G1 and also how to tune each one to give best performance.
They would know how to discover performance bottlenecks in an application and also how to solve these. They would also learn how profilers can be used to find bottlenecks and the role of microbenchmarks in confirming these.
Throughout the course, a strong emphasis is placed on the practical application of learning. Each student needs to complete a set of exercises to demonstrate that they have understood the material.

After successful completion of the course and all the exercises, students qualify for a “course completion certificate” similar to the following:

Your Instructor

Dr Heinz M. Kabutz
Dr Heinz M. Kabutz

Heinz Kabutz is the author of The Java Specialists’ Newsletter, a publication enjoyed by tens of thousands of Java experts in over 145 countries. His book β€œDynamic Proxies (in German)” was #1 Bestseller on Amazon.de in FachbΓΌcher fΓΌr Informatik for about five minutes until Amazon fixed their algorithm. Thanks to a supportive mother, he has now sold 5 copies.

Heinz’s Java Specialists’ newsletter is filled with amusing anecdotes of life on the Island of Crete. He is a popular speaker at all the best Java conferences around the world, and also at some of the worst. He teaches Java courses in classrooms around the world, where his prime objective is to make absolutely sure that none of his students fall asleep. He is not always successful.

Course Curriculum

Resources – Slides & Exercises

ExtremeJavaConcurrency-2.1 Slides

Exercise Files

01 – Introduction

How the course came about (5:06)

Questions and exercises (11:17)

History of concurrency (4:08)

Benefits of threads (9:46)

Risks of threads (8:19)

Threads are everywhere (3:58)

Short Java 7 & 8 primer (23:15)

Exercises (4:54)

Exercise Walkthrough: Setting up your IDE (5:27)

Exercise Walkthrough: Annotating Persons (4:11)

02 – Thread Safety

Stack vs heap memory (9:58)

Synchronization, Latent defects (5:25)

Atomicity (9:05)

Visibility (8:37)

Confinement (7:37)

Immutability (15:54)

Designing a thread-safe class (8:48)

Exercises (4:19)

Exercise Walkthrough: Thread confined DateFormat (4:10)

Exercise Walkthrough: Stack confined DateFormat (2:10)

Exercise Walkthrough: Object confined DateFormat (1:31)

Exercise Walkthrough: New DateTimeFormatter (2:46)

Exercise Walkthrough: ByteGenerator (5:32)

03 – Building Blocks

Synchronized collections (13:07)

Concurrent collections (8:38)

Livelock with ConcurrentHashMap.computeIfAbsent() (10:06)

CopyOnWrite collections (10:45)

BlockingQueue & producer-consumer (15:57)

Semaphore (5:23)

CountDownLatch (4:42)

Phaser (7:45)

Exercises (2:26)

Exercise Walkthrough: ConcurrentModificationException (19:57)

Exercise Walkthrough: PriorityBlockingQueue (12:36)

04 – Task Execution

Introduction (4:36)

The executor framework (8:44)

ScheduledExecutorService (7:22)

Executor lifecycle (6:32)

Finding exploitable parallelism (7:20)

Callable and Future (6:02)

CompletionService (6:50)

CompletableFuture (15:53)

Using parallel streams (6:34)

Exercises (1:44)

Exercise Walkthrough: Parallel factorizer (9:41)

Exercise Walkthrough: Parallel stream factorizer (4:27)

05 – Cancellation

Introduction & Motivation (11:25)

Cooperative vs preemptive (5:05)

Policies in dealing with InterruptedException (13:55)

Code sample with Future.cancel(true) (11:55)

FutureTask life cycle & Java 8 streams (7:09)

Timed tasks & non-interruptible tasks (7:17)

Exercises (0:57)

Exercise Walkthrough: Make the factorizer cancelable (7:35)

06 – Applying Thread Pools

Sizing thread pools, compute vs IO tasks (12:39)

Mixing CPU and IO intensive tasks (3:35)

Thread creation cost amortization (23:59)

Fixed vs cached thread pool configurations (6:47)

Saturation policies & thread factories (6:47)

Exercises (3:03)

Exercise Walkthrough: ThreadPoolSupplier (5:50)

Exercise Walkthrough: Thread Pool MBean (6:16)

Exercise Walkthrough: Sizing ThreadPoolExecutor (4:07)

07 – Fork/Join Framework

Introduction (3:55)

ForkJoinPool and ForkJoinTask (6:16)

Parallelizing Fibonacci with Fork:Join (13:15)

ManagedBlocker (17:04)

Canceling a task and summary (4:26)

Exercises (7:26)

Exercise Walkthrough: Puzzle solver with ForkJoin (14:53)

Exercise Walkthrough: Streams instead of ForkJoin (13:11)

08 – Avoiding Liveness Hazards

Introduction (2:32)

Deadlocks (10:15)

Lock ordering with System.identityHashCode() (9:51)

Benefits of open calls (7:01)

Deadlock in java.util.Vector (8:11)

Avoiding and diagnosing deadlocks (18:21)

Livelocks (7:36)

Exercises (4:15)

Exercise Walkthrough: Solve deadlocks via lock ordering (3:47)

Exercise Walkthrough: Find and eliminate deadlock (11:16)

Exercise Walkthrough: Bonus deadlock puzzle (3:21)

09 – Testing Concurrent Programs

Introduction (6:55)

Automatic tooling (7:22)

Bulk updates (13:14)

Repairing the race condition (4:01)

Testing for performance (5:43)

Exercises (3:53)

Exercise Walkthrough: HandoverQueue test (15:43)

Exercise Walkthrough: LinkedTransferQueue test (7:18)

10 – Performance and Scalability

Introduction (7:12)

Amdahl’s & Little’s laws (9:13)

Costs introduced by context switching (12:46)

Reducing lock contention (6:21)

Lock splitting & lock striping (6:32)

Monitoring CPU utilization to spot contention (7:23)

11 – Explicit Locks

Introduction (0:56)

AutoCloseable locks (8:05)

Avoiding deadlocks using tryLock() (3:14)

Performance synchronized vs ReentrantLock (3:33)

When to use ReentrantLock (5:22)

ReentrantReadWriteLock (6:06)

StampedLock from Java 8 (13:57)

Exercises (2:33)

Exercise Walkthrough: Better WalkingCollection (7:58)

Exercise Walkthrough: tryLock() for solving deadlocks (5:57)

Exercise Walkthrough: StampedLock with IntList (22:24)

12 – Building Custom Synchronizers

Introduction (3:15)

Managing state dependence (10:37)

Using condition queues (12:20)

Explicit condition objects (8:55)

Exercises (1:30)

Exercise Walkthrough: FutureResultIterable (17:31)

13 – Atomic Variables and Nonblocking Synchronization

Introduction (9:27)

CompareAndSwap & VarHandles (23:45)

Shared cache lines & sun.misc.Contended (20:00)

Atomic variable classes (6:41)

Nonblocking algorithms (6:04)

Exercises (4:15)

Exercise Walkthrough: Make an atomic BankAccount (8:35)

14.1 – Memory

Introduction (4:26)

Garbage collection (11:08)

Throughput collector (6:38)

-XX:+PrintFlagsFinal (15:38)

ConcurrentMarkSweep (5:49)

G1 (8:30)

Heap sizing (18:44)

Exercises (1:56)

Exercise Walkthrough: Tune different garbage collectors (10:16)

14.2 – References

Introduction (2:29)

SoftReference (16:40)

WeakReference (31:53)

PhantomReference (12:16)

Exercises (2:07)

Exercise Walkthrough: FailFastCollection with WeakReferences (3:22)

15.1 – Tuning Process

Introduction (1:35)

Big gains quickly (12:14)

The Box (4:39)

Consumers of CPU (2:54)

Microbenchmarking (7:11)

Exercises (2:44)

Exercise Walkthrough: Microbenchmark example (16:12)

15.2 – JIT and HotSpot

Just-in-time compiler (12:23)

Hotspot and tiered compilation (8:28)

Exercises (5:23)

Exercise Walkthrough: Compare JIT settings (7:36)

Exercise Walkthrough: Profiling with JVisualVM (3:11)

15.3 – Typical Problem Areas

Introduction (1:22)

Object creation (5:12)

Strings (37:49)

Regular expressions & exceptions (2:53)

Faster loops & other tricks (12:41)

Exercises (1:32)

Exercise Walkthrough: Make a fast Validator (20:29)

16. Conclusion

That’s it, folks! (8:47)

Get Extreme Java – Concurrency Performance download

Frequently Asked Questions

How long do I have access to a fully paid course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like – across any and all devices you own. Furthermore, if we move to another platform, we will offer you a free transfer of your account for all the courses that you have purchased.
How long do I have access to a “Limited Access” course?
Each “Limited Access” course has a time limit after which you lose access to the course material. The time is enough for a focused student to finish the entire course.
What is the difference between a subscription, paying in installments and an outright purchase?
With a subscription, you never own the rights to the material. If your card is declined or you cancel your subscription, you lose access to the course. The money you have paid so far is lost. Paying in installments is a bit better. You pay for 5 or 10 months and then once you have completed your installments you have lifetime access to the course. The safest is an outright purchase, where you pay the entire course in one amount. There is no risk of losing access.
Can I pay via PayPal?
Yes, you can for outright purchases, but not for recurring payments such as paying by installments or subscriptions.
Can I get an EU VAT Invoice?
Absolutely. First off, be sure to enter the VAT number in the appropriate field during the payment process. Then contact us for an EU VAT Invoice. Please tell us the receipt number for which you need the invoice.
May I share my login details with my colleagues?
Unfortunately not. The terms of usage are for a single license. Teachable tracks your progress through the curriculum, so you won’t know how much you have watched. We offer a 30% discount on 50 licenses or more by one company. Please contact us for bulk licensing.

May we use the course for running in-house courses?
You may, as long as each of the students in the class has a valid license for that course. For example, a lot of companies run lunch time Design Patterns study groups using our material. This is an effective way to learn. Please contact us for bulk licensing.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund and deregister you from the course.
When does the course and finish?
The course s now and never ends! It is a completely self-paced online course – you decide when you and when you finish. We do recommend putting time aside and setting goals to complete the course.
Can I watch the course offline during my commute?
Teachable have an iOS app that lets you watch offline. Android is not supported unfortunately.

Read more:Β https://archive.is/OZfGq

Reviews

There are no reviews yet.


Be the first to review “Extreme Java – Concurrency Performance”


Featured Products

Best Selling Products

Latest Products

Top Rated products

You've just added this product to the cart: