Skip to content

Deployment Modes

Note: v0.1.0 only implements standalone mode. Monolithic and distributed modes are planned for future releases.

Current Support (v0.1.0)

βœ… Standalone Mode - Available Now

Standalone mode runs entirely in-process with no external dependencies. Perfect for:

  • Individual developers
  • CLI tools
  • Testing and development
  • Desktop applications
  • Single-user scenarios

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Your Application β”‚
β”‚                 β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚   Nexus   β”‚ β”‚  SQLite
β”‚  β”‚ Standaloneβ”‚ β”‚  Local FS
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Setup

import nexus

# Zero configuration - just works
nx = nexus.connect()

# Or with config file
nx = nexus.connect(config_file="nexus.yaml")

Configuration

mode: standalone
data_dir: ./nexus-data

Features

  • βœ… File operations (read, write, delete, list)
  • βœ… SQLite metadata store
  • βœ… Local filesystem backend
  • βœ… Virtual path management
  • βœ… Metadata tracking (size, etag, timestamps)
  • ❌ Multi-user support (single process only)
  • ❌ Remote access
  • ❌ High availability

Planned Modes (Future Releases)

🚧 Monolithic Mode - Planned for v0.5.0

Single server deployment for small teams.

Planned Features: - Multi-user support (1-20 users) - REST API - API key authentication - PostgreSQL metadata store - Redis caching - Docker deployment

Status: Not yet implemented

🚧 Distributed Mode - Planned for v0.9.0

Fully distributed architecture for enterprise scale.

Planned Features: - Horizontal scaling - High availability - Load balancing - Multi-region support - Kubernetes deployment - Advanced monitoring

Status: Not yet implemented

Migration Path

When monolithic and distributed modes are implemented, migration will be supported:

# Export from standalone (future)
nexus export --format jsonl > metadata.jsonl

# Import to monolithic (future)
nexus import --url http://server:2026 < metadata.jsonl

Current Limitations

Since v0.1.0 only supports standalone mode:

  • Single process only - No concurrent access from multiple processes
  • No remote access - Must run in same process as application
  • No multi-user - Designed for single-user scenarios
  • Local only - Files stored on local filesystem only

When to Use Standalone Mode

Good fit: - βœ… Personal projects - βœ… CLI tools - βœ… Desktop applications - βœ… Development and testing - βœ… Single-user workflows - βœ… Prototyping

Not recommended: - ❌ Multi-user applications (wait for v0.5.0) - ❌ Web services with concurrent users (wait for v0.5.0) - ❌ Enterprise deployments (wait for v0.9.0) - ❌ High-availability requirements (wait for v0.9.0)

Roadmap

See the main README for the full feature roadmap and timeline.

Next Steps