Skip to content

proxy.flexfs

proxy.flexfs is a CDN-like block caching server that sits between mount clients and object storage. Multiple proxy servers form a proxy group. Mount clients distribute blocks across group members using rendezvous hashing and select groups based on RTT-based latency measurements.

SubcommandDescription
startStart the proxy server
init credsInitialize the credentials file
init systemdCreate and enable a systemd service unit
deinit credsRemove the credentials file
deinit systemdRemove the systemd service unit
versionPrint the build version
licensePrint license information
Terminal window
proxy.flexfs start [flags]
FlagTypeDefaultDescription
--credsFilestring~/.flexfs/proxy/credsCredentials file path
FlagTypeDefaultDescriptionVisibility
--bindAddrstring0.0.0.0:443Address and port to bindPublic
--diskFolderstring/cacheOn-disk block cache folder pathPublic
--diskQuotastring95%On-disk block cache capacity (e.g. 5%, 64M)Public
--noSSLboolfalseDisable SSL for the REST APIPublic
--sslCertstring~/.flexfs/ssl/certSSL certificate file pathPublic
--sslKeystring~/.flexfs/ssl/keySSL private key file pathPublic
--syncboolfalseFsync dirty block writes for full crash durabilityPublic
--dbFolderstring~/.flexfs/proxy/dataDatabase folder pathPublic
--verbose, -vboolfalseEnable verbose loggingPublic
--blockPassstringBlock storage password (overrides creds file)Internal
--blockUserstringBlock storage username (overrides creds file)Internal
--bufferSizeuint321048576I/O buffer sizeInternal
--dbMemCapacitystring10%Database memory cache capacity (e.g. 5%, 64M)Internal
--maxBopsuint320 (auto)Maximum number of active parallel block operationsInternal
--noWritebackboolfalseDisable writeback to persistent storageInternal
--pprofboolfalseEnable pprof profilerInternal
--sseboolfalseEnable S3 server-side encryption (AES256)Internal
--writebackActiveuint320 (auto)Maximum number of active parallel writeback operationsInternal
--writebackDelayuint320Milliseconds each writeback should sleepInternal

When --maxBops is left at 0, the proxy computes a default based on the host’s CPU count. --writebackActive defaults to the computed --maxBops value.