open_tier

Function open_tier 

Source
pub fn open_tier(
    backend: &str,
    dir: &Path,
    num_slabs: u32,
    slots_per_slab: u32,
) -> Result<Box<dyn ExpertTier>>
Expand description

Open the tier named by backend over a built store:

  • posix / uma — read dir locally (bounce oracle / zero-copy).
  • rdma — connect to $ATLAS_EXPERT_PEER over TWO-SIDED TCP.
  • rdma-verbs — connect to $ATLAS_EXPERT_PEER over ONE-SIDED RDMA READ (verbs); device/GID from $ATLAS_EXPERT_RDMA_DEV/$ATLAS_EXPERT_RDMA_GID.

Both peer backends serve the store’s records over the RoCE fabric.