In-Memory (Testing)
Fast ephemeral storage, ideal for testing. Sessions are lost on restart. In-memory storage keeps sessions in RAM. Best for:- Unit testing
- Integration testing
- Quick prototyping
- Temporary sessions
Configuration
Usage
SQLite (Persistent & Fast)
Zero-configuration persistent storage, faster than file based. SQLite provides a single-file relational database that is robust and requires no external server process. Ideal for:- Single-instance production apps
- Persistent development state
- Applications requiring ACID compliance without a full DB server
Installation
Configuration
Features
- Persistent single-file database
- Much faster than JSON file storage
- ACID compliant transactions
- Zero configuration (auto-creates DB)