tpt-archon-bridge 0.1.0

Zero-copy IPC and unified page-cache traits gluing tpt-archon-core storage to the kernel
Documentation
  • Coverage
  • 100%
    43 out of 43 items documented0 out of 30 items with examples
  • Size
  • Source code size: 34.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • tpt-solutions/tpt-archon
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • PhillipC05

tpt-archon-bridge

Phase 2a of tpt-archon: zero-copy IPC and unified memory management gluing the tpt-archon-core storage engine to the kernel.

Modules

  • capability — strongly-typed, unforgeable, revocable Capability tokens minted by a CapabilityIssuer. A capability grants a Right (Read/Write/ReadWrite) over a Resource (a page or a channel). Tokens cannot be fabricated from raw integers, and can be revoked.
  • page_cache — the UnifiedPageCache trait that lets the kernel map storage pages directly into the database's address space with no double-buffering, plus CorePageCache, which adapts the core buffer pool to it. A page written via tpt-archon-core is visible through the bridge with no copy (see the integration test in that module).
  • grantCapabilityGrant, a thin safe layer over UnifiedPageCache that bundles the capability check and the page borrow into one call, returning a MemoryView/MemoryViewMut instead of a raw page reference. No new unsafe code: it's backed by the same safe borrows map_read/map_write already return.

Features

  • std (default) — forwards to tpt-archon-core/std. Build with --no-default-features for no_std.

Publishing note

The dependency on tpt-archon-core is a path dependency during development. Switch it to a version requirement before publishing (see the repo-root TODO.md, Phase 2a crates.io readiness).

License

Licensed under either of MIT or Apache-2.0 at your option.