Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1180

bi-pass JacORB interceptors for purely local invocations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • No Release
    • JBossAS-3.2.6 Final
    • IIOP service
    • None

    Description

      SourceForge Submitter: marklittle .
      I registered the following issue
      (http://www.jacorb.org/cgi-bin/bugzilla/show_bug.cgi?
      id=526) with JacORB bugzilla a couple of weeks ago, but
      no response so far. I think it's sufficiently important to
      register here too in case you are able to do something
      for JBoss.

      In the current implementation of JacORB (2.2), if I
      register an interceptor with the ORB, then
      it appears that all invocations to all objects go through
      that interceptor,
      even if they are co-located with the invoker. I
      understand that rational given
      the PI specification and the original intention behind
      that work: to make
      local invocations and remote invocations similar.

      However, most ORBs provide a way of doing a local, no-
      interceptor
      optimization. The JDK 1.4 ORB is one example (though
      that takes the other
      extreme and won't invoke interceptors on any local
      object).

      Orbix 2000, for example, supports multiple ORBs and
      POAs within the same VM,
      and interceptors are registered on a per-ORB basis, not
      a per VM basis as
      appears to be the case with JacORB. You can also turn
      on local optimizations
      for the individual ORBs.

      The reason for asking for this optimization is
      performance. With a very simple
      test, where the interceptor does nothing, we see a 66%
      degredation in
      performance for local calls. For example, with no
      interceptors we can get > 3000 invocations, whereas
      with a "null" interceptor this is around 1000.

      Attachments

        Activity

          People

            sguilhen Stefan Guilhen
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: