IPC, shared m. OS noticeable Very Slow Thread preemptive same memory OS noticeable Slow Fiber cooperative same memory App negligible Very Fast Fibers Fibers erlauben erheblich höhere Parallelität, da Task-Wechselzeit und Speicher-Overhead im Vergleich zu Prozessen und Threads verschwindend gering sind.
c2 \ / Stage d | Stage e CompletionStage a = CompletableFuture.supplyAsync(λ a ); CompletionStage b = a.thenApply(λ b ); CompletionStage c1 = b.thenApply(λ c1 ); CompletionStage c2 = b.thenApply(λ c2 ); CompletionStage d = c1.thenCombine(c2, λ d ); CompletionStage e = d.thenConsume(λ e );