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         # pages

Logging

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 logs

WASM Runtime

yaml
wasm:
  defaultFuel: 1000000
  defaultMemoryPages: 256
  enableSIMD: true
  enableThreads: false
  maxInstances: 100       # concurrent WASM instances

Network

yaml
network:
  dashboard:
    host: 127.0.0.1       # bind address
    port: 4200
    cors: false
  timeout: 30000          # ms for HTTP requests
  retries: 3

Performance Tuning

SettingLow MemoryBalancedHigh Performance
cacheSize500200010000
maxInstances101001000
defaultFuel50000010000005000000
walModefalsetruetrue