<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/concurrency-and-streaming-in-the-age-of-loom-by-rossen-stoyanchev-dariusz-j-drzejczyk-spring-i-o-2lkkzkkfd" -->

---
title: Concurrency and Streaming in the Age of Loom by Rossen...
description: Spring Framework engineers Rossen Stoyanchev and Dariusz Jędrzejczyk discuss how Project Loom's virtual threads and structured concurrency are reshaping...
canonical: https://daily.dev/posts/concurrency-and-streaming-in-the-age-of-loom-by-rossen-stoyanchev-dariusz-j-drzejczyk-spring-i-o-2lkkzkkfd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Concurrency and Streaming in the Age of Loom by Rossen Stoyanchev / Dariusz Jędrzejczyk @ Spring I/O | daily.dev
og:description: Spring Framework engineers Rossen Stoyanchev and Dariusz Jędrzejczyk discuss how Project Loom's virtual threads and structured concurrency are reshaping...
og:url: https://daily.dev/posts/concurrency-and-streaming-in-the-age-of-loom-by-rossen-stoyanchev-dariusz-j-drzejczyk-spring-i-o-2lkkzkkfd
og:image: https://api.daily.dev/og/posts/2LKkzkkFd.png
og:image:alt: Concurrency and Streaming in the Age of Loom by Rossen Stoyanchev / Dariusz Jędrzejczyk @ Spring I/O
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Concurrency and Streaming in the Age of Loom by Rossen Stoyanchev / Dariusz Jędrzejczyk @ Spring I/O

**[Spring I/O](https://daily.dev/sources/springio)** · 48 min read · 0 upvotes · 0 comments

## Summary

Spring Framework engineers Rossen Stoyanchev and Dariusz Jędrzejczyk discuss how Project Loom's virtual threads and structured concurrency are reshaping concurrent and streaming programming in Java, contrasting it with the reactive stack Spring Framework built years earlier. They walk through structured concurrency's task scope API, joiners, timeout handling, throttled concurrent fetching, and debugging improvements via linked parent-child exception stack traces, comparing each to equivalent reactive operators like zip and flatMap. They also explore the open problem of streaming under Loom, since reactive streams' back-pressure model has no direct Loom equivalent yet, proposing a possible iterator-style blocking interface with natural back pressure, and note ongoing exploration for Spring Framework 7.1 and MCP/Spring AI streaming needs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=yWVxJLRtCxI>

## Questions this post answers

### What is structured concurrency in Java and how does it fix problems with futures and executors?

Structured concurrency is a Java concurrency model, currently a preview feature (JEP 505, the seventh preview, targeting Java 27), that ties the lifecycle of concurrently launched tasks to the lexical scope of the code that spawns them, using a StructuredTaskScope opened in a try-with-resources block. Unlike raw futures submitted to a shared executor, it automatically propagates cancellation and errors between parent and child tasks, and a customizable joiner strategy controls how results or failures are combined once join() is called.

_Developers weighing virtual threads against reactive Java can track how structured concurrency's APIs evolve on daily.dev._

### Why is streaming still an unsolved problem in Java's Project Loom compared to reactive streams?

Project Loom's JEP for structured concurrency explicitly lists channels between virtual threads as a non-goal, so there is currently no equivalent to the reactive streams specification for blocking, imperative-style code. A proposed interim design uses an iterator-like interface extending AutoCloseable, where a blocking receiveNext() method provides natural back pressure, but questions remain about decoupled producer-consumer buffering, error propagation, and how it should relate to structured concurrency.

_Teams building streaming APIs for MCP or AI tooling on Java can follow this design debate as it develops on daily.dev._

## Similar posts on daily.dev

- [Project Loom in IntelliJ IDEA: Virtual Threads, Scoped Values, and Structured Concurrency](https://daily.dev/posts/project-loom-in-intellij-idea-virtual-threads-scoped-values-and-structured-concurrency-553sohxk8) · JetBrains · 4 upvotes · 0 comments
- [Java Weekly, Issue 662](https://daily.dev/posts/java-weekly-issue-662-y70rs9hzc) · Baeldung · 5 upvotes · 0 comments
- [Virtual Threads vs. Coroutines in 2026: Is Java Finally There?](https://daily.dev/posts/virtual-threads-vs-coroutines-in-2026-is-java-finally-there--cvttfhcqg) · Codemotion · 52 upvotes · 3 comments

---

Tags: [#java](https://daily.dev/tags/java), [#spring](https://daily.dev/tags/spring)

[View this post on daily.dev](https://daily.dev/posts/concurrency-and-streaming-in-the-age-of-loom-by-rossen-stoyanchev-dariusz-j-drzejczyk-spring-i-o-2lkkzkkfd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Concurrency and Streaming in the Age of Loom by Rossen Stoyanchev / Dariusz Jędrzejczyk @ Spring I/O","url":"https://daily.dev/posts/concurrency-and-streaming-in-the-age-of-loom-by-rossen-stoyanchev-dariusz-j-drzejczyk-spring-i-o-2lkkzkkfd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/concurrency-and-streaming-in-the-age-of-loom-by-rossen-stoyanchev-dariusz-j-drzejczyk-spring-i-o-2lkkzkkfd"},"datePublished":"2026-09-27T07:26:33.328Z","dateModified":"2026-09-27T07:53:10.244Z","description":"Spring Framework engineers Rossen Stoyanchev and Dariusz Jędrzejczyk discuss how Project Loom's virtual threads and structured concurrency are reshaping...","image":"https://i.ytimg.com/vi/yWVxJLRtCxI/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/yWVxJLRtCxI/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Spring I/O","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Spring I/O","logo":"https://media.daily.dev/image/upload/s--e-TcwM9B--/f_auto,q_auto/v1790493985/logos/springio?_a=BAMAMicg0","url":"https://daily.dev/sources/springio"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/concurrency-and-streaming-in-the-age-of-loom-by-rossen-stoyanchev-dariusz-j-drzejczyk-spring-i-o-2lkkzkkfd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"java,spring","timeRequired":"PT48M","video":{"@type":"VideoObject","name":"Concurrency and Streaming in the Age of Loom by Rossen Stoyanchev / Dariusz Jędrzejczyk @ Spring I/O","description":"Spring Framework engineers Rossen Stoyanchev and Dariusz Jędrzejczyk discuss how Project Loom's virtual threads and structured concurrency are reshaping...","thumbnailUrl":"https://i.ytimg.com/vi/yWVxJLRtCxI/sddefault.jpg","uploadDate":"2026-09-27T07:26:33.328Z","duration":"PT48M","url":"https://api.daily.dev/r/2LKkzkkFd","embedUrl":"https://www.youtube.com/embed/yWVxJLRtCxI"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Spring I/O","item":"https://daily.dev/sources/springio"},{"@type":"ListItem","position":3,"name":"Concurrency and Streaming in the Age of Loom by Rossen Stoyanchev / Dariusz Jędrzejczyk @ Spring I/O"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/concurrency-and-streaming-in-the-age-of-loom-by-rossen-stoyanchev-dariusz-j-drzejczyk-spring-i-o-2lkkzkkfd#faq","mainEntity":[{"@type":"Question","name":"What is structured concurrency in Java and how does it fix problems with futures and executors?","acceptedAnswer":{"@type":"Answer","text":"Structured concurrency is a Java concurrency model, currently a preview feature (JEP 505, the seventh preview, targeting Java 27), that ties the lifecycle of concurrently launched tasks to the lexical scope of the code that spawns them, using a StructuredTaskScope opened in a try-with-resources block. Unlike raw futures submitted to a shared executor, it automatically propagates cancellation and errors between parent and child tasks, and a customizable joiner strategy controls how results or failures are combined once join() is called. Developers weighing virtual threads against reactive Java can track how structured concurrency's APIs evolve on daily.dev."}},{"@type":"Question","name":"Why is streaming still an unsolved problem in Java's Project Loom compared to reactive streams?","acceptedAnswer":{"@type":"Answer","text":"Project Loom's JEP for structured concurrency explicitly lists channels between virtual threads as a non-goal, so there is currently no equivalent to the reactive streams specification for blocking, imperative-style code. A proposed interim design uses an iterator-like interface extending AutoCloseable, where a blocking receiveNext() method provides natural back pressure, but questions remain about decoupled producer-consumer buffering, error propagation, and how it should relate to structured concurrency. Teams building streaming APIs for MCP or AI tooling on Java can follow this design debate as it develops on daily.dev."}}]}
```

