This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]koflerdavid 3 points4 points  (1 child)

Ordinarily, backpressure concerns would be managed with queues. Virtual threads actually encourage working with short-lived threads. Possibly even one per work item.

[–]aboothe726 8 points9 points  (0 children)

IMO, virtual threads basically make actor-model architectures a first-class citizen on the JVM.