Update documentation with new networking model

This commit is contained in:
2025-09-14 19:03:56 -04:00
parent 0389fd2c9f
commit f39149d516
3 changed files with 65 additions and 66 deletions

11
todo.md
View File

@@ -4,10 +4,11 @@
### Core Database Features
- [ ] Design commit pipeline architecture with three-stage processing
- [ ] Stage 1: Version assignment and precondition validation thread
- [ ] Stage 2: Transaction persistence and subscriber streaming thread
- [ ] Stage 3: Connection return to server thread
- [ ] Design commit pipeline architecture with four-stage processing
- [ ] Stage 0: Sequence assignment and request validation
- [ ] Stage 1: Precondition resolution and conflict detection
- [ ] Stage 2: Transaction persistence and subscriber streaming
- [ ] Stage 3: Response generation and connection cleanup
- [ ] Use ThreadPipeline for inter-stage communication
- [ ] Design persistence interface for pluggable storage backends (S3, local disk)
- [ ] Integrate https://git.weaselab.dev/weaselab/conflict-set for optimistic concurrency control
@@ -84,6 +85,6 @@
- [x] Built streaming JSON parser for commit requests with high-performance parsing
- [x] Implemented HTTP server with multi-threaded networking using multiple epoll instances
- [x] Created threading model with pipeline for serial request processing for optimistic concurrency control
- [x] Designed connection ownership transfer system to enable the serial processing model
- [x] Implemented server-owned connection model with WeakRef pattern for safe concurrent access
- [x] Implemented arena-per-connection memory model for clean memory lifetime management
- [x] Built TOML configuration system for server settings