1 Reply Latest reply on Jan 27, 2003 7:26 PM by Adrian Brock

    Performance of local vs remote interfaces

    Carl Schwarcz Newbie

      From all that I have been reading I would expect to see a heavy performance penalty for using the remote EJB interface instead of the local EJB interface. But when I attempt to do some hard timings I see almost no pentalty for using a romote interface when the caller and callee are both in the same JBoss application (same jvm). I only see the huge penalty (factor of 100) when using the remote interface outside of JBoss.

      Is this what you would expect? Is this normal or is JBoss doing some really cool optimization on the use of remote within the same application?

      For eample:

      local create : 0.0157 milliseconds
      remote create: 0.0172 mill
      client create: 1.8114 mill