I don't think paul was running his test from a web app environment. I've 
just written an equivelent session bean and client and JBoss seems to be 
about 3 times slower than orion right now. I'm going to do a little 
profiling and see if I can see why.

Alexander Jerusalem wrote:

> I'm not completely sure if this is the reason but there is this "one 
> VM/classloader or multiple VMs/classloaders" distinction. I believe the 
> important point is that Orion is an EJB *and* Servlet container whereas 
> JBoss is only an EJB container. So if you use tomcat for example to run 
> your Servlets all the calls to JBoss based EJBs will we marshalled by 
> value by default whereas in Orion they will be transferred by reference. 
> This makes a huge difference especially if the method you call for 
> performance testing does essetially nothing.
> 
> There is, however, a way to configure the JBoss/tomcat (or JBoss/Jetty) 
> combination so that this boundary is optimized away. With JBoss comes a 
> sample application that you can call in two ways: either optimized or 
> non optimized and the performance difference is aprox. 4 times or so. I 
> think that this could be the difference you are seeing in your tests. 
> You'll have to ask the JBoss experts to find out about how to configure 
> JBoss so that it uses this optimization.
> 
> The other thing that I've heard is that tomcat is rather slow in 
> compaison to Jetty. And I know that the Orion JSP/Servlet engine is 
> pretty fast so you should maybe try the JBoss/Jetty combination for 
> faster results.
> 
> Regards,
> Alexander Jerusalem
> 
> At 00:44 31.03.01, Fink, Paul wrote:
> 
>>  Oh sorry I should have  said.
>> 
>> Jboss 2.1 binary (down loaded March 22)
>> 
>> Orion is 1.3.8
>> 
>> -----Original Message-----
>> From: Dan Christopherson
>> To: 'jBoss'
>> Cc: 'Orion-Interest'
>> Sent: 3/30/01 3:21 PM
>> Subject: Re: [JBoss-user] JBoss verses Orion
>> 
>> What version of JBoss? If 2.1 (beta) the latest binary or a build from
>> source? If source, what date? Earlier this year there were some
>> performance problems stomped, but I haven't done any testing for
>> performance.
>> 
>> 
>> On Fri, 30 Mar 2001, Fink, Paul wrote:
>> 
>>  >
>>  > I ported our Orion application to JBoss. I love JBoss for
>>  > usability, documentation and support. Unfortunately our application is
>> very
>>  > performance dependent the JBoss version ran very slow. After playing
>> with
>>  > cache setting, etc. It seemed like the communications was the main
>> bottle
>>  > neck.
>>  > To test this I wrote a simple session bean with one get method that
>> returns
>>  > a Long.
>>  >
>>  > The client looped 10,000 times calling the getter. The Orion version
>> was 6
>>  > times faster!
>>  > Other tests we ran had Orion running 4x faster.
>>  >
>>  > It seems that JBoss certainly is performance limited.
>>  >
>>  > I'm running on a 900 MHz PIII under Linux with Sun's JDK 1.3
>>  >
>>  >
>>  > Paul Fink
>>  >


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to