Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-553

add option to use shared Netty event loop group

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • qpid-jms-client
    • None

    Description

      Having the chance to handle many client connections with few Netty threads can be beneficial, eg in terms of the thread staying warm, or batching syscalls across connections when using the coming io_uring support, plus it can already aid in constrained environments with many connections by helping reduce the native and heap memory usage through consolidating various data structure uses etc.

      Add a "transport.sharedEventLoopThreads" URI option that can be used to specify a number of threads to use in an EventLoopGroup shared amongst connections active at the same time and using the same value. Default to -1 giving the existing behaviour of each connection using its own.

      Attachments

        Activity

          People

            robbie Robbie Gemmell
            nigrofranz Francesco Nigro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: