Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telnet gaggle #548

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
888 changes: 540 additions & 348 deletions src/config.rs

Large diffs are not rendered by default.

553 changes: 479 additions & 74 deletions src/controller.rs

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions src/gaggle/common.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
pub struct GaggleEcho {
_sequence: u32,
_acknowledge: Option<u32>,
}

/// Commands sent to/from Works and Managers to control a Gaggle.
pub enum GaggleCommand {
ManagerShuttingDown,
Shutdown,
WorkerShuttingDown,
/// Notification that a Worker is standing by and ready to start the load test.
WorkerIsReady,
}

pub enum GagglePhase {
WaitingForWorkers,
}

pub enum GaggleCommands {
Control(GaggleCommand),
Echo(GaggleEcho),
// Not Gaggle-specific
//Error(GooseErrorMetrics),
//Request(GooseRequestMetrics),
//Scenario(ScenarioMetrics),
//Transaction(TransactionMetrics),
}
368 changes: 368 additions & 0 deletions src/gaggle/manager.rs

Large diffs are not rendered by default.

515 changes: 515 additions & 0 deletions src/gaggle/worker.rs

Large diffs are not rendered by default.

Loading