World Congress 2024

Java's Project Loom & Co - the end for reactive programming?

July 19, 2024 13:40 – 14:10 · 30 min STAGE 2 (500)

What this session covers

More often than not, modern and powerful software will at some point have to deal with processing a large amount of events and data. 100 incoming requests per minute can suddenly turn into thousands or more per minute. Appropriately sized hardware can deal with heavy load, if it is available. Well written software intelligently utilizes the available resources, such as memory, network, threads, etc.

The JVM left a lot to be desired here. Especially when it came to managing a limited number of threads. They were an expensive commodity and concurrency is always difficult to implement. Reactive frameworks such as WebFlux, RxJava or Kotlin’s coroutines closed this gap. However, these frameworks are cumbersome. They take some time to really master.

But Project Loom, introduced with Java 21, offers virtual threads as a native Java feature to solve this problem.

I will show how the new Java features compare to established reactive ways. Do they mean the end for reactive programming?

Related talks at this congress

Open session

World Congress 2024

July 18, 2024 · 10:10–10:40

STAGE 2 (500)

Modern Java

Ron Veen

Java enthusiast and Special agent for Team Rockstars IT

Ron Veen
Open session

World Congress 2024

July 19, 2024 · 13:00–13:30

STAGE 2 (500)

Supersonic, Subatomic AI with Java

Alex Soto

Director of Developer Experience at Red Hat

Alex Soto
Open session

World Congress 2024

July 19, 2024 · 10:20–10:50

Virtual Stage 2

Are you done yet? Mastering long-running processes in modern architectures

Bernd Ruecker

Co-Founder and Chief Technologist

Bernd Ruecker
Open session

World Congress 2024

July 18, 2024 · 14:10–14:40

STAGE 5 (500)

Bringing back reactivity in "reactive" frontend

Michał Moroz

Reliable software & legacy system modernization · CIO@Makimo · Speaker

Michał Moroz
All sessions at this congress