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.
Subcommand Description 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
proxy.flexfs start [flags]
Flag Type Default Description --credsFilestring ~/.flexfs/proxy/credsCredentials file path
Flag Type Default Description Visibility --bindAddrstring 0.0.0.0:443Address and port to bind Public --diskFolderstring /cacheOn-disk block cache folder path Public --diskQuotastring 95%On-disk block cache capacity (e.g. 5%, 64M) Public --noSSLbool falseDisable SSL for the REST API Public --sslCertstring ~/.flexfs/ssl/certSSL certificate file path Public --sslKeystring ~/.flexfs/ssl/keySSL private key file path Public --syncbool falseFsync dirty block writes for full crash durability Public --dbFolderstring ~/.flexfs/proxy/dataDatabase folder path Public --verbose, -vbool falseEnable verbose logging Public --blockPassstring Block storage password (overrides creds file) Internal --blockUserstring Block storage username (overrides creds file) Internal --bufferSizeuint32 1048576I/O buffer size Internal --dbMemCapacitystring 10%Database memory cache capacity (e.g. 5%, 64M) Internal --maxBopsuint32 0 (auto)Maximum number of active parallel block operations Internal --noWritebackbool falseDisable writeback to persistent storage Internal --pprofbool falseEnable pprof profiler Internal --ssebool falseEnable S3 server-side encryption (AES256) Internal --writebackActiveuint32 0 (auto)Maximum number of active parallel writeback operations Internal --writebackDelayuint32 0Milliseconds each writeback should sleep Internal
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.