Advanced Configuration Options
Fine-tune Nexus OS behavior with advanced settings.
Database Options
yaml
database:
path: data/nexus.db
walMode: true # Write-Ahead Logging
busyTimeout: 5000 # ms to wait for locks
cacheSize: 2000 # pagesLogging
yaml
logging:
level: info # trace, debug, info, warn, error
format: json # json or text
output: stdout # stdout, stderr, or file path
auditRetention: 90 # days to keep audit logsWASM Runtime
yaml
wasm:
defaultFuel: 1000000
defaultMemoryPages: 256
enableSIMD: true
enableThreads: false
maxInstances: 100 # concurrent WASM instancesNetwork
yaml
network:
dashboard:
host: 127.0.0.1 # bind address
port: 4200
cors: false
timeout: 30000 # ms for HTTP requests
retries: 3Performance Tuning
| Setting | Low Memory | Balanced | High Performance |
|---|---|---|---|
cacheSize | 500 | 2000 | 10000 |
maxInstances | 10 | 100 | 1000 |
defaultFuel | 500000 | 1000000 | 5000000 |
walMode | false | true | true |