Versions Compared

Key

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

File system Backends

...

LevelDB

Currently, the default configuration outputs Fedora data to LevelDB (a fast filesystem based key-value store). When Fedora 4 is started, Modeshape (actually Infinispan and LevelDB in the background) will create several directories on the filesystem. Currently, the directories created are:

...

Most of these files are binary and can be read by a LevelDB Java library.

FileCacheStore

Using the deprecated FileCacheStore (specified in file/infinispan.xml) results in creation of hundreds of binary files (compared to LevelDB). A hashing algorithm is used to map keys to buckets. The value files contain serialized Modeshape objects. The key files can be read using org.infinispan.schematic.internal.document.BsonReader. (It does not seem possible to read these files using existing bson tools, like mongoDB bsondump, but further inspection is needed.)