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 member_id::TaglessMemberId;pub use tick::Atomic;pub use tick::NoTick;pub use tick::Tick;pub use LocationKey as _;
Modules§
- cluster
- dynamic
- Definitions for interacting with locations using an untyped interface.
- external_
process - member_
id - process
- tick
Structs§
- Location
Key - A unique identifier for a clock tick.
Enums§
- Location
Type - A simple enum for the type of a root location.
- Membership
Event - Network
Hint
Traits§
- Location
- A location where data can be materialized and computation can be executed.