reaxdb_dart 1.1.1
reaxdb_dart: ^1.1.1 copied to clipboard
The fastest NoSQL database for Flutter. 21,000+ writes/sec, instant cache reads, built-in encryption. Zero native dependencies.
Changelog #
1.1.1 Documentation Update (2025-01-09) #
What's New #
- Improved documentation with useful badges and tags
- Buy Me a Coffee support option added
- Fixed analyzer warnings and code cleanup
- All tests passing - Improved test stability
Technical Improvements #
- Removed unused code and variables
- Fixed test timing issues with proper flush operations
- Cleaned up batch processing implementation
- Enhanced code quality and maintainability
1.1.0 Secondary Indexes (2025-01-09) #
π New Features #
- Secondary Indexes - Query any field at lightning speed
- Query Builder - Simple and powerful API for complex queries
- Range Queries - Find documents between values
- Automatic Index Updates - Indexes stay in sync automatically
What's New #
- Create indexes:
await db.createIndex('users', 'email')
- Query by any field:
await db.where('users', 'email', 'john@example.com')
- Range queries:
await db.collection('users').whereBetween('age', 18, 30)
- Complex queries: Chain multiple conditions for precise results
- Order and pagination:
.orderBy()
,.limit()
,.offset()
Example #
// Create index for fast queries
await db.createIndex('users', 'email');
// Now queries are instant!
final user = await db.collection('users')
.whereEquals('email', 'john@example.com')
.findOne();
Performance #
- Indexed queries are 10-100x faster than scanning
- Indexes use efficient B+Tree structure
- Minimal overhead on writes
1.0.1 Performance Update (2025-01-09) #
What's New #
- 4.4x faster writes - Now handles 21,000+ write operations per second
- Better batch operations - Batch writes are 40% faster
- Smarter write buffering - Writes happen immediately while disk operations run in background
- Fixed all bugs - No more StreamSink errors or test failures
Improvements #
- Write operations: 4,784 β 21,276 ops/sec
- Batch writes: 2,631 β 3,676 ops/sec
- Cache performance: 555,555 ops/sec
- Large file handling: 4.8 GB/s write speed
- Encryption overhead reduced to 23%
Technical Details #
- Added write buffer that groups operations before saving to disk
- WAL (Write-Ahead Log) now processes multiple entries at once
- Better memory management with pre-allocated buffers
- Fixed connection pooling to prevent conflicts
- All 125 unit tests passing
1.0.0 Initial Release (2025-01-08) #
Features #
- Fast NoSQL database for Flutter and Dart
- Multi-level cache (L1, L2, L3) for instant data access
- ACID transactions to keep your data safe
- Zero-copy serialization for better performance
- AES encryption to protect your data
- Hybrid storage combining LSM Tree and B+ Tree
- Real-time updates with Stream support
- Pattern matching for watching specific data changes
Performance #
- Write: ~4,784 operations per second
- Read: 333,333 operations per second
- Batch operations supported
- Low memory usage
Compatibility #
- Flutter 3.0.0 or higher
- Dart 3.0.0 or higher
- Works on iOS, Android, macOS, Windows, Linux