Skip to main content

03. Use Java 21 Loom for multithreading

Date: 2024-12-10

Status

Accepted

Context

We need to be able to use multithreading.

Decision

We have decided to use Java 21 Loom so we will be able to take advantage of the light threads.

Consequences

We will be able to use multithreading in an efficient way. Also, we will use synchronous calls instead of asynchronous calls. We will be able to use imperative (procedural) programming instead of reactive programming.