Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-163

Auto tune the per-connection buffers (receive_buffer_size and send_buffer_size)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5
    • apollo-broker, apollo-stomp
    • None

    Description

      As seen in APLO-160, the size of the per-connection buffers can greatly impact the memory usage.

      Since it can be difficult to predict how many concurrent connections will have to be handled by the broker, it would be good if the broker could auto-tune the buffer sizes.

      The broker should be able to get JVM memory information and decide how much space should be devoted to connection buffers (as opposed to other memory usages). Then, based on the number of existing connections and the total buffer space they occupy, the broker could tune the per-connection buffer sizes of the new connections (at least, it could also adjust the existing buffers).

      Attachments

        Activity

          People

            chirino Hiram R. Chirino
            lionel.cons Lionel Cons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: