Skip to content

Explore usage of virtual threads for Observables #74

@andreacalia

Description

@andreacalia

Virtual threads can have significant benefits on the Observables implementation.
Since every operation is dispatched to the pool, we can use quite a lot of platform threads unnecessarily.

Change in the code should be quite straightforward, but we would raise minimum JDK 21

private static final ExecutorService DISPATCHER_POOL = newCachedThreadPool(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions