Module runtime

Module runtime 

Source
Expand description

A Vortex runtime provides an abstract way of scheduling mixed I/O and CPU workloads onto the various threading models supported by Vortex.

In the future, it may also include a buffer manager or other shared resources.

The threading models we currently support are:

  • Single-threaded: all work is driven on the current thread.
  • Multi-threaded: work is driven on a pool of threads managed by Vortex.
  • Worker Pool: work is driven on a pool of threads provided by the caller.
  • Tokio: work is driven on a Tokio runtime provided by the caller.

Modules§

current
single
tokio

Structs§

Handle
A handle to an active Vortex runtime.
Task
A handle to a spawned Task.

Traits§

BlockingRuntime
A generic API blocking entry points to runtimes.