Crate avila_async

Crate avila_async 

Source
Expand description

Avila Async - Native async runtime Tokio alternative - 100% Rust std

§Industry 4.0 Features

  • Work-stealing scheduler with auto-scaling
  • Multi-threaded executor with resource management
  • Real-time metrics and monitoring
  • Distributed tracing support
  • Health checks (readiness & liveness)
  • Async I/O primitives
  • Channel support
  • Task cancellation
  • Graceful shutdown
  • Prometheus metrics export
  • Zero external dependencies

Re-exports§

pub use metrics::Metrics;
pub use metrics::MetricsSnapshot;
pub use tracing::TraceContext;
pub use tracing::Tracer;
pub use tracing::Span;
pub use tracing::CompletedSpan;
pub use health::HealthCheck;
pub use health::HealthStatus;
pub use health::HealthReport;
pub use autoscale::AutoScaler;
pub use autoscale::ScalingConfig;
pub use autoscale::ScalingDecision;
pub use autoscale::ResourceLimits;

Modules§

autoscale
Auto-scaling capabilities for Industry 4.0 adaptive systems
channel
Async channel for message passing
health
Health check system for monitoring runtime health
io
metrics
Metrics collection and monitoring for Industry 4.0 compliance
net
tracing
Distributed tracing support for Industry 4.0

Macros§

main

Structs§

JoinHandle
Task handle for spawned futures
Runtime
RuntimeConfig
Runtime configuration for Industry 4.0 features
TimeoutError
Timeout error type

Functions§

sleep
Sleep for a specified duration
spawn
timeout
Execute a future with a timeout
yield_now
Yield execution to allow other tasks to run