Module pipeline

Module pipeline 

Source
Expand description

Zero-Copy Fused Pipeline Architecture

Implements the fused Rust pipeline with:

  • Zero-copy segment views for ≤150ms p95 latency
  • Async overlap processing
  • Cross-shard TA/NRA stopping
  • Learning-to-stop for WAND/HNSW
  • Prefetch/visited-set reuse
  • SLA-bounded execution with timeouts

Re-exports§

pub use executor::PipelineExecutor;
pub use fusion::ResultFusion;
pub use memory::ZeroCopyBuffer;
pub use memory::SegmentView;
pub use scheduler::PipelineScheduler;
pub use stages::QueryPreprocessingStage;
pub use stages::LspSearchStage;
pub use stages::TextSearchStage;

Modules§

executor
Pipeline Executor
fusion
learning
Learning-to-Stop Models for WAND/HNSW Early Termination
memory
Zero-Copy Memory Management
scheduler
stages

Structs§

FusedPipeline
Main fused pipeline implementation
PerformanceMetrics
Performance metrics for pipeline execution
PipelineConfig
Configuration for the fused pipeline
PipelineContext
Pipeline execution context with zero-copy semantics
PipelineData
Zero-copy pipeline data flowing between stages
PipelineMetadata
Metadata tracked throughout pipeline execution
PipelineMetrics
Overall pipeline metrics
PipelineResult
Pipeline execution result
StageBreakdown
Performance breakdown by pipeline stage
StageTimeouts
Timeout allocation per stage

Enums§

PipelineError
Pipeline execution error types
PipelineStage
Pipeline execution stages

Traits§

PipelineStageProcessor
Pipeline stage interface