1 Reply Latest reply on Apr 28, 2008 8:08 AM by jmesnil

    Overhead of remoting filters

    timfox

      I'd be interesting in knowing what's the overhead of the keep alive and the request-response filters on non request-response traffic.

      A simple test would be very useful - send some decoupled non request-response traffic both with and without these filters enabled and measure the difference.

        • 1. Re: Overhead of remoting filters
          jmesnil

           

          "timfox" wrote:
          I'd be interesting in knowing what's the overhead of the keep alive and the request-response filters on non request-response traffic.


          I've used MinaSessionTest.testWriteMany() and sent 50K messages to get some figures on these filters.
          There is some variation on these figures so they're to be taken with a grain of salt:

          with reqres & keepalive filters
          ===============================
          duration: 6242 ms

          without reqres filter
          =====================
          duration: 6057 ms
          => duration decreases by 3%

          without keepalive filter
          ========================
          duration: 5802 ms
          => duration decreases by 7%

          without reqres & keepalive filters
          ==================================
          duration: 5507 ms
          => duration decreases by 11%