#structuredConcurrency

JAVAPROjavapro
2026-03-02

Thread leakage is the silent killer of “quick parallelization.” makes sure child tasks end with the parent scope—by design.

Learn the shutdown patterns + how they behave in failure scenarios: javapro.io/2026/01/28/how-to-d
via @hannotify & Bram Janssens

JAVAPROjavapro
2026-02-22

bugs rarely fail loudly — they leak resources, stall requests, & waste CPU. @BalaRawool demonstrates how can short-circuit failures and keep workflows consistent in .

Make your services more resilient: javapro.io/2026/02/19/virtual-

JAVAPROjavapro
2026-02-19

Still fighting thread pools when traffic spikes? offers a different path. @BalaRawool shows how , , and Scoped Values work together in a real app.

See what you can simplify: javapro.io/2026/02/19/virtual-

JAVAPROjavapro
2026-02-02

Do you still need reactive programming for high throughput? @chwoerz shows how + handle fan-out calls cleanly and synchronously.

See the approach & learn more: javapro.io/2025/12/23/java-25-

JAVAPROjavapro
2026-01-28

Thread leakage is the silent killer of “quick parallelization.” makes sure child tasks end with the parent scope—by design.

Learn the shutdown patterns + how they behave in failure scenarios: javapro.io/2026/01/28/how-to-d
via @hannotify & Bram Janssens

2026-01-15

Ok, to follow up on yesterday's structured concurrency question:

In Python, I have a hypothetical HTTP client:

async with HTTP() as client:
http.get("https://site.example/index.html")

and it handles things like HTTP/2 multiplexing and connection pools and stuff. So it needs some background tasks to coordinate and maintain them.

Classically, I'd call these "daemon tasks" (after Python's daemon threads).

But I feel like I'm missing something?

#Python #Trio #StructuredConcurrency

JAVAPROjavapro
2025-12-26

scale concurrency—but they don’t fix structure or error handling. @chwoerz shows how StructuredTaskScope and ScopedValue complete the picture in . Want safer, faster concurrent code?

Read more: javapro.io/2025/12/23/java-25-

JAVAPROjavapro
2025-12-23

Still making sequential remote calls even with ? @chwoerz explains how StructuredTaskScope cuts latency by running tasks concurrently—without reactive complexity. Curious how it works?

Dive in: javapro.io/2025/12/23/java-25-

JAVAPROjavapro
2025-11-26

Now double at Berlin: the new issue AND our “30 Years of ” edition! Featuring , , & .
Stop by & grab your free copies!

Can’t attend? Download or subscribe: javapro.io/2025/10/28/stay-upd

JAVAPROjavapro
2025-11-13

aims to make concurrent code readable and safe. But how does it compare to CompletableFuture? Merlin Bögershausen dives into ’s latest preview features.

Deep insights + code → javapro.io/2025/07/22/more-act

@openjdk

2025-11-06

Really nice #jfall talk on @quarkusio and concurrency #java #StructuredConcurrency

A photo of some example code showing the use of structured concurrency with Quarkus
JAVAPROjavapro
2025-10-27

Nebenläufigkeit in war oft mit Komplexität und Overhead verbunden. bricht mit alten Konzepten und bringt Werkzeuge wie .

Lese im Artikel von Merlin Bögershausen, wie Sie damit Ihre Projekte modernisieren: javapro.io/de/mehr-action-mehr

@openjdk

2025-09-23

I’m debugging an issue, and I think the cause is a single lambda trying to read far too much data from one location at once. The details aren’t super important.

The part I’m interested in is that we do reads in a utility with concurrency X. This makes sense. Somewhere else in the codebase we do an operation with concurrency Y, which in certain cases can call this utility. In local context this is fine, but the global impact of it is that we can make up to X * Y reads simultaneously, which is bad.

I can solve the immediate problem fine. At a larger scale, what languages/libraries/patterns would prevent this? I’d like to say “use up to X concurrency here, up to Y concurrency there, but never use more than Z concurrency when reading from this specific system”.

This feels like something that #StructuredConcurrency would address? Is that the case, and are there other approaches?

#programming #nodejs

JAVAPROjavapro
2025-08-28

21 introduces , but the real shift lies deeper: & Scoped Values redefine how we write parallel code. Merlin Bögershausen breaks it down — with live code examples.

Read his aritcle now → javapro.io/2025/07/22/more-act

@openjdk

Amanda Hinchman-Dominguezamanda@androiddev.social
2025-08-04

Thanks to @kotlinweekly for publishing "Introduction to Structured Concurrency: CoroutineScope & CoroutineContext" :blobThanks:

mailchi.mp/kotlinweekly/kotlin

#kotlin #AndroidDev #tech #programming #Concurrency #StructuredConcurrency #nycdc25 #droidconNYC25

JAVAPROjavapro
2025-07-29

25 may redefine StructuredTaskScope before it goes final. Until then, developers face a moving target—with clear benefits & shifting syntax. Ron Veen outlines the state of .

In depth: javapro.io/2025/04/18/structur

JAVAPROjavapro
2025-07-25

Can really replace platform threads — at scale? Merlin Bögershausen examines new , from StructuredTaskScope to lightweight threading.

Find out what actually changes → javapro.io/2025/07/22/more-act

@openjdk

JAVAPROjavapro
2025-07-22

’s model has evolved: from Thread to ExecutorService to & Scoped Values. Merlin Bögershausen explains what matters in — and why old patterns may hold you back.

Full article → javapro.io/2025/07/22/more-act

@openjdk

JAVAPROjavapro
2025-07-21

now streams with memory, discards threads instead of pooling & runs without public static void main. , Gatherers & no-boilerplate coding—@ronveen breaks down the quiet revolution

Read: javapro.io/2025/06/17/modern-j

Nicolas Fränkel 🇪🇺🇺🇦🇬🇪frankel@mastodon.top
2025-07-07

#StructuredConcurrency: Hierarchical Cancellation & Error Handling

youtube.com/watch?v=XOSR0Asq4h

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst