Bug 724619 (BRMS-525) - Importing DRL package takes ages with ModeShape repository compared to Jackrabbit
Summary: Importing DRL package takes ages with ModeShape repository compared to Jackra...
Keywords:
Status: ASSIGNED
Alias: BRMS-525
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: 3rd Party
Version: 5.1.0 GA,BRMS 5.2.0.GA
Hardware: Unspecified
OS: Unspecified
medium
urgent
Target Milestone: ---
: BRMS 5.2.0.GA
Assignee: Nobody
QA Contact: Lukáš Petrovický
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-04 10:51 UTC by Petr Široký
Modified: 2020-10-20 21:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Modeshape 2.2x r2625 ModeShape 2.5.1 in BRMS-5.2.0.ER1
Last Closed: 2011-05-31 19:52:12 UTC
Type: Bug


Attachments (Terms of Use)
brms-repo-test-jacrabbit-derby.png (79.52 KB, image/png)
2011-01-04 10:54 UTC, Petr Široký
no flags Details
brms-repo-test-modeshape-config-in-memory.png (76.49 KB, image/png)
2011-01-04 10:54 UTC, Petr Široký
no flags Details
brms-repo-test-modeshape-default-config-hsql.png (83.37 KB, image/png)
2011-01-04 10:54 UTC, Petr Široký
no flags Details
modeshape-config.xml (5.73 KB, text/xml)
2011-01-04 10:54 UTC, Petr Široký
no flags Details
modeshape-config-in-memory.xml (5.90 KB, text/xml)
2011-01-04 10:54 UTC, Petr Široký
no flags Details
small_repo.drl (54.33 KB, application/octet-stream)
2011-01-04 10:54 UTC, Petr Široký
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 724652 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Issue Tracker BRMS-525 0 Critical Closed When ModeShape is used as repository, importing drl file takes too much time (sometimes even 20 times more) comparing to... 2019-03-12 00:11:46 UTC

Internal Links: 724652

Description Petr Široký 2011-01-04 10:51:35 UTC
securitylevel_name: Public

When trying to import drl file (see attachment) and ModeShape is used as JCR backend, the import takes too much time. Comparing to JR in some cases it is more than 20 times slower. The bigger the importing content is, the more times slower the import is.

Example:
File with 3800 lines (attached): takes 900s with ModeShape, 60s with JR -- cca 15 times slower
File with 300 lines: takes 70s with ModeShape, 9s with JR -- cca 7 times slower

The test was run with HSQL, mysql51 and with in-memory repo and the results are pretty much same.

Comment 1 Petr Široký 2011-01-04 10:54:10 UTC
Added ModeShape config files, DRL file that is being imported and some charts that shows the duration of test.

Comment 2 Petr Široký 2011-01-04 10:54:10 UTC
Attachment: Added: brms-repo-test-jacrabbit-derby.png
Attachment: Added: brms-repo-test-modeshape-config-in-memory.png
Attachment: Added: brms-repo-test-modeshape-default-config-hsql.png
Attachment: Added: modeshape-config.xml
Attachment: Added: modeshape-config-in-memory.xml
Attachment: Added: small_repo.drl


Comment 3 Lukáš Petrovický 2011-02-28 14:01:02 UTC
Link: Added: This issue is related to BRMS-557


Comment 4 Len DiMaggio 2011-05-31 19:52:12 UTC
This will be tested in the first 5.2 build.

Comment 5 Van Halbert 2011-08-09 12:53:16 UTC
1st. based on the modeshape-config.xml, you are running with very old code, because it doesn't have the changes that improves startup.

2nd.  with the new changes, tasks that were performed on the first time publishing has been moved to startup, so that no priming needs to be done so that subsequent publishings should see better improvement.   I'm assuming here, there was no priming, just one file being published.   Hence, the slowness of publishing.

I would suggest holding off on all modeshape performance related testing until you've changed over to use ER2.

Your configuration files will need updating.


Note You need to log in before you can comment on or make changes to this bug.