I've done some very simple performance tests invoking methods of a simple
session EJB on both ejboss 1.0 and orionserver 0.9 (a time ago;).

The result was that orionserver was about 10 times - 50 times faster than
ejboss. Both in VM calls and out of vm calls (both on the same machine).

Can anyone confirm?

The ejboss container uses the new dynamic proxy feature in jdk1.3
(java.lang.reflect.Proxy etc) which I don't belive can be as fast as
precompiled stubs because of the code overhead in the invocationhandler. The
design and implementation with dynamic proxy is tough much simpler to
implement. This might be the reason of the performance difference between
ejboss and orion. (Orion team: Deny if I'm wrong!)

Can anyone please continue this discussion about EJB-performance and
orionserver since it is a quite important issue?

Any other performance tests done? Please inform this list :)


/Jonas

> -----Ursprungligt meddelande-----
> Fran: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]For Eric Richardson
> Skickat: den 30 maj 2000 16:25
> Till: Orion-Interest
> Amne: Re: Does Orion eliminate RMI? Was: How are database JOINS
> achievedwith EJBs?
>
>
> Steven Punte wrote:
>
> > > Al Fogleson wrote:
> > > > then you start adding all the RMI calls over the network
> and that adds
> > > some load too
> > >
> > > Well, EJBs will not always be called remotely to start with. A very
> > > common scenario is that you write Servlets/JSPs that communicate with
> > > EJBs. Usually you will run your Web components and EJBs on the same
> > > servr and no RMI calls will be made. Of course though, if you need the
> > > remote access it will be used. But that is an overhead you need no
> > > matter what technology. Orion's RMI-transport protocol is very
> > > optimized.
> >
> >     I agree with Karl that RMI, even on the same machine, is a
> significant
> >     overhead.  Think of CPU consumption to serialized and de-serialize
> >     member function arguments and return value.
> >
> >     When ones' client and EJB container are both on the same machine
> >     and in the same process, CAN Orion bypass the RMI protocol
> >     here and achieve near optimum performance?
>
> I believe this is what JBoss does. See at ejboss.org
> Eric
>
>
> >
> >
> >     It would be like having your cake and eating it too, to have both
> >     the Enterprise architecture and near optimum performance
> >     in this single server scenario.  :-)
> >
> >         STeve
>
>


Reply via email to