Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15355

HotRod Java client should allow virtual threads for callbacks

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • 15.1.0.Dev06
    • None
    • Hot Rod
    • None

      Currently we invoke a callback for the client on the netty event loop thread. This can cause issues if the user uses a blocking call and can even completely stall the thread if they invoke a blocking client operation to the server which would require the same event loop thread to send.

      The question becomes do we always use a virtual thread when using JDK 21+ or should it be optional based on a property. Feeling currently is we should always enable it.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: