saidone.org -
good to the last drop
Main menu
Home
About

Projects
AlfMark

Swamp
Links
ush.it
aghers.org
saidone@ush
gameknot
virtualmagister

Misc
Unless otherwise specified, all contents of this site are licensed under a Creative Commons Attribution-ShareAlike 3.0 Italy License.
Latest AlfMark changes - posted by saidone on Thu, 29 Dec 2011 13:42:06 GMT
New test "add aspects":
this new test can be configured as usual on alfmark.conf.xml file in etc folder. The test MUST be executed after some "create documents" tests, in order to have at least the specific number of documents in "document pool" where to add aspects. The configuration block is quiet straightforward:
<addAspects>
 <name>4 threads add aspects, 100 docs, 5 aspects</name>
 <threads>4</threads>
 <numberOfDocuments>100</numberOfDocuments>
 <aspects>
  <aspect name="taggable" />
  <aspect name="generalclassifiable" />
  <aspect name="complianceable" />
  <aspect name="summarizable" />
  <aspect name="emailed" />
 </aspects>
</addAspects>
I found that this test is somewhat database intensive, so it can be a good way to measure your db server efficiency.

Progress counter thorough all tests:
progress counter based on separate thread polling a shared (between single threads) processed document counter have been applied to all tests for a nicer output on console.

New system to stop threads on shutdown requests:
a new mechanism to stop threads have been implemented. Previous systems worked well enough, but now shutdown routine waits for all running threads to stop and then begin the cleanup (if required) of created documents and spaces. More elegant than pragmatic.

New configuration options permit to further customize the test suite:
these options give further flexibility to fit tests to your needs. These options include:
<!-- folder within tests are executed, relative to company_home -->
<testFolderPath>/AlfMark</testFolderPath>
<!-- create test folder if not exist -->
<createFolderPathIfNotExist>true</createFolderPathIfNotExist>
so you can decide to execute the tests within an existing folder, or trigger an error if you are going to put documents on a wrong space! Other than these, there are new options also for the "create documents" test:
<!-- create a separate folder for each single test -->
<createTestFolder>true</createTestFolder>
<!-- overwrite existing files -->
<overwrite>true</overwrite>
you can easily set up a test (for example) for massive document loading on a given, fixed space. I introduced these options to fit a specific customer request that asked for a quick way to create some tens of thousands of documents on a specific space where they were going to test some lucene queries.

Updated xstream:
to version 1.4.1. Usually these are silent updates, but this one fixes a problem with Java 7 (bizarre error about the "lack of void constructor" when serializing or deserializing objects from and to xml).

Updated OpenCMIS:
to version 0.6.

Sources (updated) and builds (not yet the latest one) on:
http://forge.alfresco.com/projects/alfmark/

EDIT:
Is now available a development build (103) on:
http://forge.alfresco.com/frs/?group_id=305
EDIT 2:
Due to the imminent closure of Alfresco Forge, the download url for the latest build is now:
http://ubuntuone.com/2DtiU89K8FScDTJuvqYS4w
If you want to check the integrity of the archive, here's the fingerprints:
MD5 : 393c5daf36a45bdaa4a404d689fb51fe
SHA1: 66387ccc12e5c89bbc07615aa54975c7c78aaff0




No comments yet.



Post a new comment

<-- comment title (well, not really mandatory)
<-- your name
<-- your e-mail
<-- multiply 5 by 45

back to home
[[[[[[[ served by kugelmass ]]]]]]]
Real Programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.