Advanced Configuration Options
Fine-tune Nexus OS behavior with advanced settings.
Database Options
database:
path: data/nexus.db
walMode: true # Write-Ahead Logging
busyTimeout: 5000 # ms to wait for locks
cacheSize: 2000 # pages
Logging
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 logs
WASM Runtime
wasm:
defaultFuel: 1000000
defaultMemoryPages: 256
enableSIMD: true
enableThreads: false
maxInstances: 100 # concurrent WASM instances
Network
network:
dashboard:
host: 127.0.0.1 # bind address
port: 4200
cors: false
timeout: 30000 # ms for HTTP requests
retries: 3
Performance Tuning
| Setting | Low Memory | Balanced | High Performance |
|---|---|---|---|
cacheSize |
500 | 2000 | 10000 |
maxInstances |
10 | 100 | 1000 |
defaultFuel |
500000 | 1000000 | 5000000 |
walMode |
false | true | true |