Update documentation with new networking model
This commit is contained in:
11
todo.md
11
todo.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user