ActiveMQ
  1. ActiveMQ
  2. AMQ-1100

BufferedTransportFilter or similar feature

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 5.6.0
    • Component/s: Transport
    • Labels:
      None

      Description

      I'm considering using ActiveMQ for an app that would transfer a large number of messages over the http transport (across firewalls/internet). I would want to use async messages (i.e. useAsyncSend=true) to boost performance.

      Would it make sense to introduce a BufferedTransportFilter to boost performance even further? (considering the fact that these messages would be traveling over the internet). That is, the BufferedTransportFilter would wait a configurable amount of time before "batching together" all the messages it received so far (or after some configurable limit in terms of bytes and/or number of messages) and then pass this on to the next Transport. Ideally, the Transport API would have to be extended to allow for a onewayBatch(List<Object> messageBatch) method (and the default implementation would just iterate over the list and rely on the existing oneway(Object) method. HttpClientTransport could then be extended to allow for a single POST to send multiple messages over the internet.

      Is this something that was considered? Or that exists in some other form that I missed while going through the sources?

      I'd be willing to contribute some time for implementing this if the maintainers think its a worthwhile feature to have.

      Thanks,

      Hernan

        Activity

        Gary Tully made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 5.6.0 [ 12317974 ]
        Fix Version/s 5.x [ 12316331 ]
        Gary Tully made changes -
        Resolution Won't Fix [ 2 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Timothy Bish made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        Gary Tully made changes -
        Fix Version/s 5.6.0 [ 12316331 ]
        Fix Version/s 5.5.0 [ 12315626 ]
        Dejan Bosanac made changes -
        Fix Version/s 5.5.0 [ 12315626 ]
        Fix Version/s 5.4.2 [ 12315625 ]
        Jeff Turner made changes -
        Project Import Fri Nov 26 22:32:02 EST 2010 [ 1290828722158 ]
        Bruce Snyder made changes -
        Fix Version/s 5.5.0 [ 12344 ]
        Fix Version/s 5.4.1 [ 12332 ]
        Rob Davies made changes -
        Fix Version/s 5.4.1 [ 12332 ]
        Bruce Snyder made changes -
        Fix Version/s AGING_TO_DIE [ 12187 ]
        Issue Type New Feature [ 2 ] Wish [ 5 ]
        Bruce Snyder made changes -
        Fix Version/s 5.4.0 [ 12110 ]
        Fix Version/s AGING_TO_DIE [ 12187 ]
        Gary Tully made changes -
        Fix Version/s 5.4.0 [ 12110 ]
        Fix Version/s 5.3.0 [ 11914 ]
        Gary Tully made changes -
        Fix Version/s 5.2.0 [ 11841 ]
        Fix Version/s 5.3.0 [ 11914 ]
        Rob Davies made changes -
        Field Original Value New Value
        Fix Version/s 5.2.0 [ 11841 ]
        Hernan Otero created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Hernan Otero
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development