Skip to content

Commit

Permalink
Add serverset (#6921)
Browse files Browse the repository at this point in the history
This round-robins between a number of backends, skipping any which are
observed to be bad, with expontential backoff and ease-in.

This will be used in remote process execution for CAS operations.
  • Loading branch information
illicitonion authored Dec 17, 2018
1 parent f6e59a5 commit 3350f7e
Show file tree
Hide file tree
Showing 4 changed files with 517 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/rust/engine/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/rust/engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ members = [
"process_execution/bazel_protos",
"process_executor",
"resettable",
"serverset",
"tar_api",
"testutil",
"testutil/mock",
Expand Down Expand Up @@ -65,6 +66,7 @@ default-members = [
"process_execution/bazel_protos",
"process_executor",
"resettable",
"serverset",
"tar_api",
"testutil",
"testutil/mock",
Expand Down
11 changes: 11 additions & 0 deletions src/rust/engine/serverset/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "serverset"
version = "0.0.1"
authors = [ "Pants Build <pantsbuild@gmail.com>" ]
publish = false

[dependencies]
boxfuture = { path = "../boxfuture" }
futures = "^0.1.16"
futures-timer = "0.1.1"
parking_lot = "0.6"
Loading

0 comments on commit 3350f7e

Please sign in to comment.