Quick Storage Comparison
- Feature Comparison
- Which Should I Use?
| Feature | SQLite | Redis |
|---|---|---|
| Setup | Zero config | Requires server |
| Performance | Fast locally | Very fast (in-memory) |
| Deployment | Single machine | Distributed |
| Scaling | Limited | Excellent |
| Best for | Development | Production |
Built-in Storage Backends
SQLite (Local)
File-based local persistent memory. Great for simple setups, local development, and small applications.
Redis (Remote)
In-memory data structure store. Optimized for distributed architectures, production deployments, and horizontal scaling.
Sessions & Threads
Memory in Arivu operates on the concept of Sessions (also known as threads). Every conversation is pinned to a uniquesession_id, meaning subsequent inputs within the same session will maintain context over table schemas, previously selected rows, and prior conversational turns automatically.
