You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Edgar Poce <ed...@gmail.com> on 2005/07/01 05:20:24 UTC
Re: Benchmarking JCR
Hi jukka
I've wanted to do performance testing for some time but I was quite
busy. In the meantime I gave it a couple of thoughts I'd like to share.
I'd like to achieve two goals:
1. create jcr commands (e.g. "AddNodeCmd", "SetPropertyCmd", "SaveCmd")
which can be combined into a chain. I think this would be useful also
for manipulating the repository either declaratively or programatically.
2. Make the commands accessible to jmeter in order to build custom test
plans and do performance testing.
The first part doesn't seem too hard, it can be implemented with commons
chain. The API is rather simple. In regard to the second goal, I think
it will be a little harder. I used jmeter a few times but I didn't dive
into the code til now. My first impression is that we could extend the
java protocol or create a new protocol for running chain commands.
If you think it's a good approach I volunteer to prepare a set of
commands, actually I already made a few :).
BR,
edgar
Jukka Zitting wrote:
> Hi,
>
> Now that the JCR API is final I'd like to focus on improving the
> non-functional aspects of the JCR-RMI extension. To start with I'm
> planning to do some performance and scalability benchmarking of
> Jackrabbit both with and without the RMI layer.
>
> Are there any existing performance benchmarking tools (in addition to
> the 1mn write test discussed earlier) out there? I'd much rather work
> with an existing codebase than write my own from scratch.
>
> BR,
>
> Jukka Zitting
>
Re: Benchmarking JCR
Posted by Jukka Zitting <jz...@yukatan.fi>.
Hi,
Edgar Poce wrote:
> done in rev. 208988.
> I created a new project under contrib called jcr-commands. I prefered
> this name because it doesn't contain any benchmarking logic, just a set
> of Commons Chain commands which can be used for any purpose.
> It also contains a subproject called jmeter-chain, a jmeter plugin for
> running commons chain commands.
Thanks, I'll give it a go in a short while.
BR,
Jukka Zitting
Re: Benchmarking JCR
Posted by Edgar Poce <ed...@gmail.com>.
Hi jukka
Jukka Zitting wrote:
> Hi,
>
> Edgar Poce wrote:
>
>> I created a new project under contrib called jcr-commands. I prefered
>> this name because it doesn't contain any benchmarking logic, just a
>> set of Commons Chain commands which can be used for any purpose.
>
>
> Your command components are very nice indeed! I think I'll find quite a
> few uses for them also outside benchmarking. In fact the classes also
> serve as excellent HOW-TO examples for simple JCR use cases!
Good to hear that! :). FYI, I plan to add more commands asap.
BR,
edgar
>
> PS. I noticed you also submitted the jmeter-chains plugin for inclusion
> in JMeter. That's great, it's the "correct" place for the plugin.
>
> PPS. For the archives, the related discussion at the JMeter user list
> can be found at http://thread.gmane.org/gmane.comp.jakarta.jmeter.user/7539
>
> BR,
>
> Jukka Zitting
>
Re: Benchmarking JCR
Posted by Jukka Zitting <jz...@yukatan.fi>.
Hi,
Edgar Poce wrote:
> I created a new project under contrib called jcr-commands. I prefered
> this name because it doesn't contain any benchmarking logic, just a set
> of Commons Chain commands which can be used for any purpose.
Your command components are very nice indeed! I think I'll find quite a
few uses for them also outside benchmarking. In fact the classes also
serve as excellent HOW-TO examples for simple JCR use cases!
PS. I noticed you also submitted the jmeter-chains plugin for inclusion
in JMeter. That's great, it's the "correct" place for the plugin.
PPS. For the archives, the related discussion at the JMeter user list
can be found at http://thread.gmane.org/gmane.comp.jakarta.jmeter.user/7539
BR,
Jukka Zitting
Re: Benchmarking JCR
Posted by Edgar Poce <ed...@gmail.com>.
Hi jukka
Jukka Zitting wrote:
> PS. Instead of uploading your stuff to Jira, why not just commit it as
> the beginning of a contrib/benchmark package?
done in rev. 208988.
I created a new project under contrib called jcr-commands. I prefered
this name because it doesn't contain any benchmarking logic, just a set
of Commons Chain commands which can be used for any purpose.
It also contains a subproject called jmeter-chain, a jmeter plugin for
running commons chain commands.
regards,
edgar
> BR,
>
> Jukka Zitting
>
Re: Benchmarking JCR
Posted by Jukka Zitting <jz...@yukatan.fi>.
Hi,
Edgar Poce wrote:
> I asked in the mailing list what's the right way to go for extending
> jmeter and a user pointed me to a useful manual for plugin development.
> I was able to extend the java protocol to run chain commands :), so it
> was not so difficult after all. I'll upload a proof of concept of
> jcr-chains and jmeter-chains to jira asap, hopefully this weekend.
Excellent, thanks!
PS. Instead of uploading your stuff to Jira, why not just commit it as
the beginning of a contrib/benchmark package? I'll sure start working on
it and I'd expect others to be interested as well, so having the sources
in SVN from day one is probably the best option.
BR,
Jukka Zitting
Re: Benchmarking JCR
Posted by Edgar Poce <ed...@gmail.com>.
Hi jukka
I asked in the mailing list what's the right way to go for extending
jmeter and a user pointed me to a useful manual for plugin development.
I was able to extend the java protocol to run chain commands :), so it
was not so difficult after all. I'll upload a proof of concept of
jcr-chains and jmeter-chains to jira asap, hopefully this weekend.
BR,
edgar
Edgar Poce wrote:
> Hi jukka
>
> I've wanted to do performance testing for some time but I was quite
> busy. In the meantime I gave it a couple of thoughts I'd like to share.
> I'd like to achieve two goals:
>
> 1. create jcr commands (e.g. "AddNodeCmd", "SetPropertyCmd", "SaveCmd")
> which can be combined into a chain. I think this would be useful also
> for manipulating the repository either declaratively or programatically.
>
> 2. Make the commands accessible to jmeter in order to build custom test
> plans and do performance testing.
>
> The first part doesn't seem too hard, it can be implemented with commons
> chain. The API is rather simple. In regard to the second goal, I think
> it will be a little harder. I used jmeter a few times but I didn't dive
> into the code til now. My first impression is that we could extend the
> java protocol or create a new protocol for running chain commands.
>
> If you think it's a good approach I volunteer to prepare a set of
> commands, actually I already made a few :).
>
> BR,
> edgar
>
> Jukka Zitting wrote:
>
>> Hi,
>>
>> Now that the JCR API is final I'd like to focus on improving the
>> non-functional aspects of the JCR-RMI extension. To start with I'm
>> planning to do some performance and scalability benchmarking of
>> Jackrabbit both with and without the RMI layer.
>>
>> Are there any existing performance benchmarking tools (in addition to
>> the 1mn write test discussed earlier) out there? I'd much rather work
>> with an existing codebase than write my own from scratch.
>>
>> BR,
>>
>> Jukka Zitting
>>
>