Skip to content

Bounded parallel archive reads for MNXFile 1.4.0 - #2

Merged
Mashrien merged 2 commits into
codex/parallel-archive-readsfrom
codex/bounded-read-workers
Nov 26, 2026
Merged

Mashrien merged 2 commits into
codex/parallel-archive-readsfrom
codex/bounded-read-workers

Conversation

@Mashrien

Copy link
Copy Markdown
Owner

MNXFile 1.4.0 reads groups of neighboring physical chunks concurrently with a limit of one to four workers. Two is the default. Each worker authenticates its chunks, and continuous compression receives the payloads in logical order. The archive format remains MNX8 (0.1.8).

The managed engine and thin client expose async range reads, extraction, and verification. The worker count is available through the C ABI, a per-archive managed option, or the MNX_READ_WORKERS environment variable for existing applications.

The regression suite covers all supported codecs and layouts, both physical chunk sizes, worker counts 1–4, encryption, fragmented files, and damaged chunks. The Windows job builds and tests the NativeAOT DLL and retains it for release packaging.

Batch consecutive physical chunks, validate each group independently, and deliver payloads in sequence to extraction, range readers, and continuous decompressors. Expose worker selection and asynchronous operations through the engine and client. Cover fragmented, encrypted, corrupt and compressed archives and build Windows NativeAOT in CI for the 1.4.0 release.
@Mashrien
Mashrien merged commit de439c4 into codex/parallel-archive-reads Nov 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant