What is Structured Concurrency
Course Content
0 / 47 completedClarifications
Introduction and Course Content
Section Introduction
Task Types
Concurrency and Parallelism
Handling User Requests
Java Platform Threads
Scalability Demonstration
Java Threads Scalability
Current Scalability Solutions
Non Blocking IO
Java Virtual Threads Overview
Loom JDK Installation
Java Virtual Threads Creation
Java Virtual Threads Current Limitations
Java Virtual Threads Advantages
Java Virtual Threads Demonstration
Using JConsole
REST Example Scalability Testing
REST Example Coding
Virtual Threads and Application Scalability
Virtual Threads with Java Futures
Virtual Threads with Java Completable Futures
What is Structured Concurrency
Structured Concurrency using Executor Service
Interrupts and Thread Cancellation
Structured Concurrency Usecases
StructuredTaskScope and Subtask
Writing a Long Running Task
Demonstration Of StructuredTaskScope
StructuredTaskScope.ShutdownOnFailure
StructuredTaskScope.ShutdownOnSuccess
Writing Custom Structured Task Scope
Introduction
Thread Locals
Disadvantages of Thread Locals
Inheritable Thread Locals
Scoped Values
Rebinding Scoped Values
Inheriting Scoped Values
Scoped Values in Action
Introduction to Coroutines and Continuations
Continuation with Objects
Java Continuation Scopes
Java Virtual Thread Implementation using Continuations
Java Continuation Example
Conclusion