Configuration File

ApertureData Platform uses a configuration file (written in JSON) that can be specified when starting the server by using the -cfg flag:

./aperturedata -cfg config.json

If no configuration file is specified, ApertureData Platform will try to open the default file (config-vdms.json), and will fail to initiate if the file is not found.


All the parameters in the configuration file are optional, as ApertureData Platform has default values for all of them.

Parameter Explanation Default
port TCP port for incoming connections 55555
max_simultaneous_clients Number of max simultaneous connections open 500
db_root_path Path to the root folder where all filed/objects will be stored db
images_path Path to folder where images (all formats) will be stored images (db/images)
blobs_path Path to folder where blobs will be stored blobs (db/blobs)
descriptors_path Path to folder where descriptors will be stored descriptors (db/descriptors)
pmgd_num_allocators Number of allocators when creating a new PMGD graph (this will only be used * - when creating a new graph, and ignored if the graph already exist) 1
pmgd_max_strlen Maximum length of strings for class and properties name 16
pmgd_node_size Size of the Node representation in memory, in bytes 64
pmgd_edge_size Size of the Edge representation in memory, in bytes 32

Config File Example

// ApertureData Platform Config File
// This is the run-time config file
// Sets database paths and other parameters
    // Network
    "port": 55555,
    "max_simultaneous_clients": 100,

    // Database paths
    "db_root_path": "db"


Default Directories Structure

By default, ApertureData Platform will create a directory structure as follows:

├── blobs
├── descriptors
├── graph
│   ├── allocator.jdb
│   ├── edges.jdb
│   ├── graph.jdb
│   ├── indexmanager.jdb
│   ├── journal.jdb
│   ├── nodes.jdb
│   ├── stringtable.jdb
│   └── transaction.jdb
└── images
    ├── jpg
    ├── png
    └── tdb