Skip to main content

a3s_box_runtime/pool/
mod.rs

1//! Warm VM pool for cold start optimization.
2//!
3//! Pre-boots MicroVMs so that `acquire()` returns an already-ready VM
4//! instead of waiting for the full boot sequence.
5
6pub mod client;
7pub mod scaler;
8pub mod warm_pool;
9
10pub use client::{
11    PoolClientLease, PoolClientOutput, PoolClientRun, PoolImageStat, PoolLeaseClient,
12    PoolLeaseExec, PoolLeaseExecRequest, PoolLeaseReleaseRequest, PoolLeaseReleaseResponse,
13    PoolLeaseRequest, PoolLeaseResponse, PoolRequest, PoolRunRequest, PoolRunResponse,
14    PoolStatusResponse, PoolStopResponse,
15};
16pub use scaler::{PoolScaler, ScaleDecision};
17pub use warm_pool::{PoolStats, WarmPool};