Skip to content

Commit afb536a

Browse files
committed
docs: update version to v0.7.3-alpha with performance improvements
1 parent af2a7b7 commit afb536a

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
All notable changes to DriftDB will be documented in this file.
44

5+
## [0.7.3-alpha] - 2024-01-24 - Time-Travel Performance Fix
6+
7+
### 🚀 Performance Improvements
8+
- **Integrated snapshots into time-travel queries** - Major performance optimization
9+
- Time-travel queries now use snapshots to avoid full event replay
10+
- Only replays events since the nearest snapshot
11+
- Reduces complexity from O(n) to O(k) where k << n
12+
- Expected 10-100x speedup for large tables with regular snapshots
13+
14+
### 🔧 Technical Changes
15+
- Added `read_events_after_sequence()` method for efficient event filtering
16+
- Modified `reconstruct_state_at()` to check for snapshots first
17+
- Snapshot state conversion from String to serde_json::Value
18+
19+
### 📊 Impact
20+
- **Before**: Every time-travel query loaded ALL events into memory
21+
- **After**: Queries load snapshot + small delta of recent events
22+
- **Example**: 1M events with 10K snapshots = 100x fewer events to process
23+
524
## [0.7.2-alpha] - 2024-01-23 - Warning Cleanup
625

726
### 🧹 Code Quality Improvements

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DriftDB
22

3-
**Experimental PostgreSQL-Compatible Time-Travel Database (v0.7.2-alpha)** - An ambitious temporal database project with advanced architectural designs for enterprise features. Query your data at any point in history using standard SQL.
3+
**Experimental PostgreSQL-Compatible Time-Travel Database (v0.7.3-alpha)** - An ambitious temporal database project with advanced architectural designs for enterprise features. Query your data at any point in history using standard SQL.
44

55
⚠️ **ALPHA SOFTWARE - NOT FOR PRODUCTION USE**: This version contains experimental implementations of enterprise features. The codebase now compiles cleanly with minimal warnings (reduced from 335 to 17). Many advanced features remain as architectural designs requiring implementation.
66

0 commit comments

Comments
 (0)