Skip to main content

Configuration

The TimeBase server can be configured in the configuration file using the properties syntax. In most installation types, the TimeBase server runs with QuantServer Home/config/admin.properties as the default configuration file. Additional parameters can be defined via System Properties.

To simplify updates and improve modularization, it is best practice to keep the default admin.properties file unmodified and use system properties to specify custom values or override defaults.

Here is the full list of TimeBase configuration parameters:

Configuration Parameters

NameDefault ValueDescriptionSystem Property
TimeBase.port8011TimeBase server port accepting HTTP, HTTPS, and internal TCP/IP connections.
TimeBase.hostTimeBase server hostname
TimeBase.readOnlyFALSERead-only mode to prevent any changes.
TimeBase.compressionAUTODetermines remote connection compression for increasing throughput. Latency is measured starting from the first connection between client and server. Supported values include:AUTO: Turns on data compression for connections whose latency surpasses 10 milliseconds.ON: All data is compressed.OFF: No data is compressed; data is sent as is.
TimeBase.enableRemoteAccessFALSEGrants or blocks access to the management web interface for remote http clients. Supported values: true and false.
TimeBase.enableSSLFALSEEnables SSL and SSL properties. Supported values: true and false. When TimeBase.enableSSL=true, must define all other SSL properties.
TimeBase.fileSystemThe local file system that TimeBase uses to store files.
TimeBase.fileSystem.compressionLZ4(5)Defines compression levels when data gets written to the file. More compression leads to more CPU being spent. Related to storage version 5.0.
TimeBase.fileSystem.maxFileSize8388608Related to storage version 5.0. Defines the maximum size (in bytes) of the file stored on disk.
TimeBase.fileSystem.maxFolderSize100Maximum number of files in any folder
TimeBase.highTimeResolutionFALSEHigh-res timing affecting new messages timestamps. Only works when TimeBase.timeSourceName=KeeperTimeSource is set.
TimeBase.localhostShutdownFALSEWhen set to true, disables "shutdown" execution from remote host.
TimeBase.lingerInterval10000Specified period of time (in milliseconds) during which TimeBase tries to restore a broken connection without any data or state loss.
TimeBase.maxBandwidthMaximum bandwidth that the server can process, calculated as an EMA value. When this number is reached, the server rejects any further connections. This prevents denial of service attacks for the server.
TimeBase.maxConnections100The maximum number of concurrent connections that the server accepts and processes. When this number has been reached, the server rejects any further connections. This additional connection is rejected until the number of connections being processed falls below maxConnections, at which point the server starts accepting and processing new connections again.
TimeBase.maxSocketsPerConnection2Number of sockets allocated for each connection.
TimeBase.maxNumOpenFilesunlimitedLimit to the number of files TimeBase can open. Applies to storage versions 4.3 and 5.0.
TimeBase.memorySize.1Memory sizing. Defines data cache size.
TimeBase.metrics.enableFALSEEnables metrics. For more information on metrics, go here.
TimeBase.metrics.enableJvmMetricsFALSEEnables JVM metrics.
TimeBase.metrics.enableTomcatMetricsFALSEEnables Tomcat metrics.
TimeBase.preallocatedMemorySizePercentage of memory cache size allocated on start that affects new streams only.
TimeBase.ramCacheSizeCombined cache size of memory data cache and LRU file system cache.
TimeBase.safeModeUsing Safe Mode provides additional logging and disables streams with errors on startup.
TimeBase.sslInfoSupported value: QSKeystoreInfo
TimeBase.sslInfo.keystoreFilePath to the keystore file
TimeBase.sslInfo.keystorePassPassword for keystore
TimeBase.sslInfo.sslForLoopbackDisables SSL for local connections. Can enable it for testing and debugging purposes.
TimeBase.sslInfo.sslPortSSL port for TimeBase
TimeBase.timeSourceNameKeeperTimeSourceIndicates how time gets into messages. Supported values include MonotonicRealTimeSource and KeeperTimeSource.
TimeBase.version5.0Data storage format version. The new format "5.0" provides numerous enhancements (virtually no size limit, compression, HDFS support, etc.) The new format uses the timebase/ storage sub-directory. Selecting the "4.3" format instructs TimeBase to use the traditional storage format widely used before release 4.3.31A. The old format stores data under the tickdb/ sub-directory.
TimeBase.shutdownTimeoutunlimitedShutdown timeout. Time amount to wait while data is stored.

Additional Properties

System Properties

TimeBase Configuration includes the following internal system properties to tweak core components:

System PropertyDefault ValueDescription
deltix.homeRequired. Points to the TimeBase installation folder
deltix.qsrv.homeRequired. Points to the TimeBase which contains data, logs, configuration files
TimeBase.fileSystem.chunkedCache.chunkSizeKb128Cache Chunk size (in kilobytes)
TimeBase.qql.functions.packagesCustom java packages to scan for QQL Functions
TimeBase.qql.maxGroupsCount1000000Max groups when using QQL GROUP BY statement
TimeBase.qql.maxWindowSize1000000Max windows size when using WINDOW functions in QQL
TimeBase.storage.attemptsPerFile2Number of attempts to store file. If this number is exceeded, the file will be ignored.
TimeBase.storage.failuresToShutdown5Number of I/O failures to initiate TimeBase shutdown
TimeBase.storage.memory.allocationRatio30% of allocated memory to be used by Write Queue
TimeBase.storage.writers2Number of parallel writers. Used to increase writing speed.
TimeBase.transport.aeron.driverTimeout60Aeron Driver Communication timeout (in seconds)

Environment Variables

Environment VariableDefault ValueDescription
DELTIX_HOMERequired. Points to the TimeBase installation folder.
TIMEBASE_SERIALRequired. TimeBase serial number.

Startup Parameters

If you start the TimeBase Server via the command line, the following arguments are available:

-port TimeBase port
-host TimeBase host
-home TimeBase Home folder