Skip to content

1.5.0 Leverage Kotlin Coroutines in Storm #35

@zantvoort

Description

@zantvoort

Goals Summary:
The primary goal is to modernize Storm by fully embracing Kotlin coroutines, ensuring a first-class asynchronous experience optimized for Kotlin developers. Additionally, Storm should also seamlessly integrate Java 21's Project Loom virtual threads.

Enhancements:

  • Refactor Storm's core Kotlin API to support coroutine-based methods (suspend functions and Flow), enabling scalable, non-blocking database interactions.
  • Document recommended usage patterns clearly, highlighting when to use coroutines, Loom virtual threads, or both in combination for maximum scalability and simplicity.
  • Ensure seamless compatibility with Java 21's Loom virtual threads by offering dispatchers backed by Loom’s virtual-thread executors.

Optional Enhancements:

  • Provide examples demonstrating best practices for combining Kotlin coroutines with Loom's virtual threads to deliver optimal performance and scalability.

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