Skip to content

Commit ff3989a

Browse files
Merge pull request #257 from TimelyDataflow/v0.9-release
v0.9 release candidate
2 parents 74c1356 + 2d2353c commit ff3989a

File tree

9 files changed

+23
-21
lines changed

9 files changed

+23
-21
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## Unreleased
5+
## 0.9.0
66

77
### Added
88

@@ -14,7 +14,7 @@ The `source` operator requires a closure that accepts an `OperatorInfo` struct i
1414

1515
The address associated with each operator, a `[usize]` used to start with the identifier of the worker hosting the operator, followed by the dataflow identifier and the path down the dataflow to the operator. The worker identifier has been removed.
1616

17-
The `Worker` and the `Subgraph` operator no longer schedules all of their child dataflows and scopes by default. Instead, they track "active" children and schedule only those. Operators become active by receiving a message, a progress update, or by explicit activation. Some operators, source as `source`, have no inputs and will require explicit activation to run more than once. Operators that yield before completing all of their work (good for you!) should explicitly re-activate themselves to ensure they are re-scheduled even if they receive no further messages or progress updates.
17+
The `Worker` and the `Subgraph` operator no longer schedules all of their child dataflows and scopes by default. Instead, they track "active" children and schedule only those. Operators become active by receiving a message, a progress update, or by explicit activation. Some operators, source as `source`, have no inputs and will require explicit activation to run more than once. Operators that yield before completing all of their work (good for you!) should explicitly re-activate themselves to ensure they are re-scheduled even if they receive no further messages or progress updates. Documentation examples for the `source` method demonstrate this.
1818

1919
The `dataflow_using` method has been generalized to support arbitrary dataflow names, loggers, and additional resources the dataflow should keep alive. Its name has been chaged to `dataflow_core`.
2020

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[package]
22

33
name = "timely"
4-
version = "0.8.0"
4+
version = "0.9.0"
55
authors = ["Frank McSherry <fmcsherry@me.com>"]
66
readme = "README.md"
77
edition = "2018"
88

99
description = "A low-latency data-parallel dataflow system in Rust"
1010

1111
# These URLs point to more information about the repository
12-
documentation = "https://frankmcsherry.github.com/timely-dataflow"
12+
documentation = "https://docs.rs/timely/"
1313
homepage = "https://github.com/TimelyDataflow/timely-dataflow"
1414
repository = "https://github.com/TimelyDataflow/timely-dataflow.git"
1515
keywords = ["timely", "dataflow"]
@@ -23,9 +23,9 @@ serde = "1.0"
2323
serde_derive = "1.0"
2424
abomonation = "0.7"
2525
abomonation_derive = "0.3"
26-
timely_bytes = { path = "./bytes", version = "0.7" }
27-
timely_logging = { path = "./logging", version = "0.7" }
28-
timely_communication = { path = "./communication", version = "0.8" }
26+
timely_bytes = { path = "./bytes", version = "0.9" }
27+
timely_logging = { path = "./logging", version = "0.9" }
28+
timely_communication = { path = "./communication", version = "0.9" }
2929

3030
[dev-dependencies]
3131
timely_sort="0.1.6"

bytes/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "timely_bytes"
3-
version = "0.7.0"
3+
version = "0.9.0"
44
authors = ["Frank McSherry <fmcsherry@me.com>"]
55

66
description = "Disjoint mutable byte slices from a common allocation"

communication/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "timely_communication"
3-
version = "0.8.0"
3+
version = "0.9.0"
44
authors = ["Frank McSherry <fmcsherry@me.com>"]
55
description = "Communication layer for timely dataflow"
66

@@ -21,8 +21,8 @@ serde_derive = "1.0"
2121
serde = "1.0"
2222
abomonation = "0.7"
2323
abomonation_derive = "0.3"
24-
timely_bytes = { path = "../bytes", version = "0.7" }
25-
timely_logging = { path = "../logging", version = "0.7" }
24+
timely_bytes = { path = "../bytes", version = "0.9" }
25+
timely_logging = { path = "../logging", version = "0.9" }
2626

2727
[profile.release]
2828
opt-level = 3

communication/examples/hello.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
extern crate timely_communication;
2+
13
use std::ops::Deref;
24
use timely_communication::{Message, Allocate};
35

@@ -23,14 +25,14 @@ fn main() {
2325
let mut received = 0;
2426
while received < allocator.peers() {
2527

26-
allocator.pre_work();
28+
allocator.receive();
2729

2830
if let Some(message) = receiver.recv() {
2931
println!("worker {}: received: <{}>", allocator.index(), message.deref());
3032
received += 1;
3133
}
3234

33-
allocator.post_work();
35+
allocator.release();
3436
}
3537

3638
allocator.index()

communication/src/allocator/zero_copy/allocator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub struct TcpBuilder<A: AllocateBuilder> {
3737
/// `threads` is the number of workers in a single process, `processes` is the
3838
/// total number of processes.
3939
/// The returned tuple contains
40-
/// ```
40+
/// ```ignore
4141
/// (
4242
/// AllocateBuilder for local threads,
4343
/// info to spawn egress comm threads,

communication/src/initialize.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,13 @@ impl Configuration {
148148
/// // we have to count down ourselves.
149149
/// let mut expecting = 2;
150150
/// while expecting > 0 {
151-
/// allocator.pre_work();
151+
/// allocator.receive();
152152
/// if let Some(message) = receiver.recv() {
153153
/// use std::ops::Deref;
154154
/// println!("worker {}: received: <{}>", allocator.index(), message.deref());
155155
/// expecting -= 1;
156156
/// }
157-
/// allocator.post_work();
157+
/// allocator.release();
158158
/// }
159159
///
160160
/// // optionally, return something
@@ -220,13 +220,13 @@ pub fn initialize<T:Send+'static, F: Fn(Generic)->T+Send+Sync+'static>(
220220
/// // we have to count down ourselves.
221221
/// let mut expecting = 2;
222222
/// while expecting > 0 {
223-
/// allocator.pre_work();
223+
/// allocator.receive();
224224
/// if let Some(message) = receiver.recv() {
225225
/// use std::ops::Deref;
226226
/// println!("worker {}: received: <{}>", allocator.index(), message.deref());
227227
/// expecting -= 1;
228228
/// }
229-
/// allocator.post_work();
229+
/// allocator.release();
230230
/// }
231231
///
232232
/// // optionally, return something

communication/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
//! let mut expecting = 2;
3939
//! while expecting > 0 {
4040
//!
41-
//! allocator.pre_work();
41+
//! allocator.receive();
4242
//! if let Some(message) = receiver.recv() {
4343
//! use std::ops::Deref;
4444
//! println!("worker {}: received: <{}>", allocator.index(), message.deref());
4545
//! expecting -= 1;
4646
//! }
47-
//! allocator.post_work();
47+
//! allocator.release();
4848
//! }
4949
//!
5050
//! // optionally, return something

logging/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "timely_logging"
3-
version = "0.7.1"
3+
version = "0.9.0"
44
authors = ["Frank McSherry <fmcsherry@me.com>"]
55

66
description = "Common timely logging infrastructure"

0 commit comments

Comments
 (0)