Module location

Module location 

Source
Expand description

Type definitions for distributed locations, which specify where pieces of a Hydro program will be executed.

Hydro is a global, distributed programming model. This means that the data and computation in a Hydro program can be spread across multiple machines, data centers, and even continents. To achieve this, Hydro uses the concept of locations to keep track of where data is located and computation is executed.

Each live collection type (in crate::live_collections) has a type parameter L which will always be a type that implements the Location trait (e.g. Process and Cluster). To create distributed programs, Hydro provides a variety of APIs to allow live collections to be moved between locations via network send/receive.

See the Hydro docs for more information.

Re-exports§

pub use external_process::External;
pub use process::Process;
pub use cluster::Cluster;
pub use member_id::MemberId;
pub use tick::Atomic;
pub use tick::NoTick;
pub use tick::Tick;

Modules§

cluster
dynamic
Definitions for interacting with locations using an untyped interface.
external_process
member_id
process
tick

Enums§

MembershipEvent
NetworkHint

Traits§

Location