...
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 |
Setting | Average (s) | Median (s) | Standard Deviation |
---|---|---|---|
mode=async | 0.0781 | 0.0680 | 0.0477 |
enabled=false | 0.0736 | 0.0630 | 0.0445 |
mode=sync | 0.1689 | 0.148 | 0.0685 |
...
Different Infinispan configurations can also have an impact on repository performance.
Infinispan Configuration | Average | Median | Standard Deviation |
---|---|---|---|
filecachestore | 0.1121 | 0.105 | 0.0313 |
leveldb | 0.0736 | 0.0630 | 0.0445 |
leveldb with async persistence | 0.0610 | 0.0550 | 0.0220 |
RAM | 0.0517 | 0.0480 | 0.0148 |
leveldb with file binary store * | 0.0644 | 0.0570 | 0.0196 |
Total | 0.0703 | 0.0590 | 0.0318 |
* default configuration
...