Skip to main content

Module pool

Module pool 

Source
Expand description

Warm VM pool for cold start optimization.

Pre-boots MicroVMs so that acquire() returns an already-ready VM instead of waiting for the full boot sequence.

Re-exports§

pub use client::PoolClientLease;
pub use client::PoolClientOutput;
pub use client::PoolClientRun;
pub use client::PoolImageStat;
pub use client::PoolLeaseClient;
pub use client::PoolLeaseExec;
pub use client::PoolLeaseExecRequest;
pub use client::PoolLeaseReleaseRequest;
pub use client::PoolLeaseReleaseResponse;
pub use client::PoolLeaseRequest;
pub use client::PoolLeaseResponse;
pub use client::PoolRequest;
pub use client::PoolRunRequest;
pub use client::PoolRunResponse;
pub use client::PoolStatusResponse;
pub use client::PoolStopResponse;
pub use scaler::PoolScaler;
pub use scaler::ScaleDecision;
pub use warm_pool::PoolStats;
pub use warm_pool::WarmPool;

Modules§

client
Socket protocol and client helpers for the warm-pool daemon.
scaler
Pool autoscaler — adjusts min_idle based on acquire pressure.
warm_pool
WarmPool — Pre-warmed pool of ready-to-use MicroVMs.