Uploaded image for project: 'Quarkus Documentation'
  1. Quarkus Documentation
  2. QDOCS-1310

[New Feature]: Virtual thread support for Smallrye GraphQL

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      :_mod-docs-content-type: REFERENCE
      [id="ref_rn-qdocs-1310-smallrye-graphql-virtual-thread-support"]
      = SmallRye GraphQL: Virtual thread support

      In {ProductLongName} {ProductVersion}, SmallRye GraphQL now supports running operations on Java virtual threads.
      Annotate blocking operations with `@RunOnVirtualThread` to run them on virtual threads without tying up platform threads.
      Use `@RunOnVirtualThread` for blocking operations and do not combine it with `@Blocking` or `@NonBlocking`.
      This change enables higher concurrency for I/O-bound GraphQL operations and aligns GraphQL with other Quarkus extensions that support virtual threads.

      For more details, see the related resources:

      * link:https://quarkus.io/blog/quarkus-3-25-released/#virtual-threads-support-for-smallrye-graphql[Quarkus 3.25 release blog – Virtual threads support for SmallRye GraphQL]
      * link:https://github.com/quarkusio/quarkus/pull/47802[GitHub Pull Request #47802]
      * link:https://quarkus.io/guides/virtual-threads[Virtual Thread support reference]

      // https://issues.redhat.com/browse/QDOCS-1310
      // SME: Jan Martiska
      // Web
      // New feature
      // include::rn/ref_rn-qdocs-1310-smallrye-graphql-virtual-thread-support.adoc[leveloffset=+2]
      Show
      :_mod-docs-content-type: REFERENCE [id="ref_rn-qdocs-1310-smallrye-graphql-virtual-thread-support"] = SmallRye GraphQL: Virtual thread support In {ProductLongName} {ProductVersion}, SmallRye GraphQL now supports running operations on Java virtual threads. Annotate blocking operations with `@RunOnVirtualThread` to run them on virtual threads without tying up platform threads. Use `@RunOnVirtualThread` for blocking operations and do not combine it with `@Blocking` or `@NonBlocking`. This change enables higher concurrency for I/O-bound GraphQL operations and aligns GraphQL with other Quarkus extensions that support virtual threads. For more details, see the related resources: * link: https://quarkus.io/blog/quarkus-3-25-released/#virtual-threads-support-for-smallrye-graphql [Quarkus 3.25 release blog – Virtual threads support for SmallRye GraphQL] * link: https://github.com/quarkusio/quarkus/pull/47802 [GitHub Pull Request #47802] * link: https://quarkus.io/guides/virtual-threads [Virtual Thread support reference] // https://issues.redhat.com/browse/QDOCS-1310 // SME: Jan Martiska // Web // New feature // include::rn/ref_rn-qdocs-1310-smallrye-graphql-virtual-thread-support.adoc[leveloffset=+2]
    • Quarkus Docs Sprint 41, Quarkus Docs Sprint 42

            mmaler@redhat.com Michal Maléř
            shjones@redhat.com Sheila Jones
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: