feat: port session 02 — Utilities & Queues (util, ipqueue, scheduler, subject_transform)

- ServerUtilities: version helpers, parseSize/parseInt64, parseHostPort, URL redaction,
  comma formatting, refCountedUrlSet, TCP helpers, parallelTaskQueue
- IpQueue<T>: generic intra-process queue with 1-slot Channel<bool> notification signal,
  optional size/len limits, ConcurrentDictionary registry, single-slot List<T> pool
- MsgScheduling: per-subject scheduled message tracking via HashWheel TTLs,
  binary encode/decode with zigzag varint, Timer-based firing
- SubjectTransform: full NATS subject mapping engine (11 transform types: Wildcard,
  Partition, SplitFromLeft, SplitFromRight, SliceFromLeft, SliceFromRight, Split,
  Left, Right, Random, NoTransform), FNV-1a partition hash
- 20 tests (7 util, 9 ipqueue, 4 subject_transform); 45 benchmarks/split tests marked n/a
- All 113 tests pass (112 unit + 1 integration)
- DB: features 328/3673 complete, tests 139/3257 complete (8.7% overall)
This commit is contained in:
Joseph Doherty
2026-02-26 09:39:36 -05:00
parent 8050ee1897
commit 11c0b92fbd
10 changed files with 2786 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
# NATS .NET Porting Status Report
Generated: 2026-02-26 14:15:20 UTC
Generated: 2026-02-26 14:39:36 UTC
## Modules (12 total)
@@ -13,17 +13,17 @@ Generated: 2026-02-26 14:15:20 UTC
| Status | Count |
|--------|-------|
| complete | 265 |
| n_a | 74 |
| not_started | 3334 |
| complete | 328 |
| n_a | 79 |
| not_started | 3266 |
## Unit Tests (3257 total)
| Status | Count |
|--------|-------|
| complete | 119 |
| n_a | 12 |
| not_started | 3126 |
| complete | 139 |
| n_a | 49 |
| not_started | 3069 |
## Library Mappings (36 total)
@@ -34,4 +34,4 @@ Generated: 2026-02-26 14:15:20 UTC
## Overall Progress
**481/6942 items complete (6.9%)**
**606/6942 items complete (8.7%)**