Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Repository Config Options

 
Code Block
fcrepo.modeshape.query.enabled:true
fcrepo.modeshape.query.mode:sync

...

index

...

Code Block
fcrepo.modeshape.index.location.directory:target/indexes
fcrepo.infinispan.cache_configuration:config/infinispan/leveldb-default/infinispan.xml

...

Code Block
fcrepo.ispn.repo.CacheDirPathcache:target/FedoraRepository/storage

Fedora 4 will store object properties to fcrepo.ispn.repo.CacheDirPathcache. These probably won't be very large, and should be stored on fast disk. The object properties are stored as binary JSON documents within the given cache store configuration.


Code Block
fcrepo.binary-store-path.directory:target/binaries
fcrepo.ispn.binary.CacheDirPathcache:target/FedoraRepositoryBinaryData/storage

...

Performance considerations

If your application does not use the query index (which powers basic administrative search, and the simple fcr:sparql endpoint), you can significantly improve repository performance by disabling indexing, or using asynchronous indexing instead.

Code Block
fcrepo.modeshape.query.mode = async
fcrepo.modeshape.query.enabled = false
SettingAverage (s)Median (s)Standard
Deviation 
mode=async0.07810.06800.0477
enabled=false0.07360.06300.0445
mode=sync0.16890.1480.0685

...

Different Infinispan configurations can also have an impact on repository performance. 

 

Infinispan ConfigurationAverageMedianStandard
Deviation 
filecachestore0.11210.1050.0313
leveldb0.07360.06300.0445
leveldb with async persistence0.06100.05500.0220
RAM0.05170.04800.0148
leveldb with file binary store *0.06440.05700.0196
Total0.07030.05900.0318

* default configuration

...