You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Quintin Beukes <qu...@last.za.net> on 2009/10/10 12:27:24 UTC
EJB HTTP protocol
Hey,
I read a thread on OpenEJBs performance (http://is.gd/4bMYZ), and
that's a major improvement, ending up in truly great performance. I
don't believe in comparative benchmarks as a "say-it-all judge-all",
but when I had performance issues on Glassfish I was looking for ways
to strip it down to make it faster, and in the process found that
people weren't even getting above 1000 txs/second.And these were with
empty session beans, purely testing the creation/destruction and
turnaround of the remote EJB protocol/setup.
I just want to confirm something. If I find I need the performance
increase when my clients increase to close to/over a hundred, I should
change the java.naming.provider.url property to
"http://localhost:4204/ejb", from the alternative
"ejbd://localhost:4201" ? This will then be what is mentioned in the
thread, ie. the http over jetty code setup?
Quintin Beukes
Re: EJB HTTP protocol
Posted by David Blevins <da...@visi.com>.
Archive it. Or if you get a cycle to help add to the docs (or blog
about it), that helps too :)
-David
On Oct 19, 2009, at 11:53 AM, Quintin Beukes wrote:
> Is this documented on the web site - just want to determine if I can
> delete this mail or archive it?
>
> Quintin Beukes
>
>
>
> On Thu, Oct 15, 2009 at 3:58 AM, David Blevins
> <da...@visi.com> wrote:
>>
>> On Oct 10, 2009, at 3:27 AM, Quintin Beukes wrote:
>>
>>> Hey,
>>>
>>> I read a thread on OpenEJBs performance (http://is.gd/4bMYZ), and
>>> that's a major improvement, ending up in truly great performance. I
>>> don't believe in comparative benchmarks as a "say-it-all judge-all",
>>> but when I had performance issues on Glassfish I was looking for
>>> ways
>>> to strip it down to make it faster, and in the process found that
>>> people weren't even getting above 1000 txs/second.And these were
>>> with
>>> empty session beans, purely testing the creation/destruction and
>>> turnaround of the remote EJB protocol/setup.
>>>
>>> I just want to confirm something. If I find I need the performance
>>> increase when my clients increase to close to/over a hundred, I
>>> should
>>> change the java.naming.provider.url property to
>>> "http://localhost:4204/ejb", from the alternative
>>> "ejbd://localhost:4201" ? This will then be what is mentioned in the
>>> thread, ie. the http over jetty code setup?
>>
>> Right. That and you need to add the jetty jars to lib/. We will
>> detect it
>> on startup and magically use the jetty http impl instead of our own
>> http
>> impl which is really just for testing.
>>
>> -David
>>
>>
>
Re: EJB HTTP protocol
Posted by Quintin Beukes <qu...@skywalk.co.za>.
Is this documented on the web site - just want to determine if I can
delete this mail or archive it?
Quintin Beukes
On Thu, Oct 15, 2009 at 3:58 AM, David Blevins <da...@visi.com> wrote:
>
> On Oct 10, 2009, at 3:27 AM, Quintin Beukes wrote:
>
>> Hey,
>>
>> I read a thread on OpenEJBs performance (http://is.gd/4bMYZ), and
>> that's a major improvement, ending up in truly great performance. I
>> don't believe in comparative benchmarks as a "say-it-all judge-all",
>> but when I had performance issues on Glassfish I was looking for ways
>> to strip it down to make it faster, and in the process found that
>> people weren't even getting above 1000 txs/second.And these were with
>> empty session beans, purely testing the creation/destruction and
>> turnaround of the remote EJB protocol/setup.
>>
>> I just want to confirm something. If I find I need the performance
>> increase when my clients increase to close to/over a hundred, I should
>> change the java.naming.provider.url property to
>> "http://localhost:4204/ejb", from the alternative
>> "ejbd://localhost:4201" ? This will then be what is mentioned in the
>> thread, ie. the http over jetty code setup?
>
> Right. That and you need to add the jetty jars to lib/. We will detect it
> on startup and magically use the jetty http impl instead of our own http
> impl which is really just for testing.
>
> -David
>
>
Re: EJB HTTP protocol
Posted by David Blevins <da...@visi.com>.
On Oct 10, 2009, at 3:27 AM, Quintin Beukes wrote:
> Hey,
>
> I read a thread on OpenEJBs performance (http://is.gd/4bMYZ), and
> that's a major improvement, ending up in truly great performance. I
> don't believe in comparative benchmarks as a "say-it-all judge-all",
> but when I had performance issues on Glassfish I was looking for ways
> to strip it down to make it faster, and in the process found that
> people weren't even getting above 1000 txs/second.And these were with
> empty session beans, purely testing the creation/destruction and
> turnaround of the remote EJB protocol/setup.
>
> I just want to confirm something. If I find I need the performance
> increase when my clients increase to close to/over a hundred, I should
> change the java.naming.provider.url property to
> "http://localhost:4204/ejb", from the alternative
> "ejbd://localhost:4201" ? This will then be what is mentioned in the
> thread, ie. the http over jetty code setup?
Right. That and you need to add the jetty jars to lib/. We will
detect it on startup and magically use the jetty http impl instead of
our own http impl which is really just for testing.
-David