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¶
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¶
- Quick Start - Get started with standalone mode
- Configuration - Configure standalone mode
- API Reference - Explore the API