mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 00:25:55 +00:00
fix references to outdated "Agents" config
This commit is contained in:
parent
0eda9d2e01
commit
7128385f08
8 changed files with 12 additions and 15 deletions
|
|
@ -239,8 +239,7 @@ bspawn uses a json config format that has 5 top level items - an example is belo
|
|||
{
|
||||
"CreatorArgs": ["-type", "local", "-serverN", "1", "-replicaN", "1"],
|
||||
"PilosaHosts": ["localhost:19327"],
|
||||
"Agents": { "Type": "local" },
|
||||
"AgentHosts": ["localhost"],
|
||||
"AgentHosts": ["agent.example.com"],
|
||||
"Benchmarks": [
|
||||
{
|
||||
"Num": 1,
|
||||
|
|
@ -261,11 +260,8 @@ Specifies the pilosa cluster that should be created to run benchmarks against. F
|
|||
#### PilosaHosts
|
||||
If PilosaHosts is set, CreatorArgs will be ignored, and an existing pilosa cluster specified by the list of hosts will be used.
|
||||
|
||||
#### Agents
|
||||
Agents specifies the host(s) that the benchmark should be run from. Currently only running from localhost is supported.
|
||||
|
||||
#### AgentHosts
|
||||
If AgentHosts is specified, Agents is ignored, and the existing agents specified here are used. This is not yet implemented.
|
||||
If AgentHosts is not empty, the agents specified here are used; if it is empty, agents will be run locally.
|
||||
|
||||
#### Benchmarks
|
||||
Benchmarks is where the actual benchmarks to run are specified - each contains a `Num` which is the number of agents that should run that benchmark, and Args which specifies the benchmark. The benchmarks in the `Benchmarks` list will be run concurrently. For more information about Args, see the `pilosactl bagent -help`.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"CreatorArgs": ["-type", "local", "-serverN", "1", "-replicaN", "1"],
|
||||
"Agents": { "Type": "local" },
|
||||
"AgentHosts": [],
|
||||
"Benchmarks": [
|
||||
{
|
||||
"Num": 1,
|
||||
|
|
|
|||
|
|
@ -1325,10 +1325,11 @@ type BspawnCommand struct {
|
|||
// should include everything that comes after `pilosactl create`
|
||||
CreatorArgs []string
|
||||
|
||||
// If AgentHosts is specified, Agents is ignored, and the existing
|
||||
// agents specified here are used.
|
||||
// List of hosts to run agents on. If this is empty, agents will be run
|
||||
// locally.
|
||||
AgentHosts []string
|
||||
|
||||
// If this is true, build and copy pilosactl binary to agent hosts.
|
||||
CopyBinary bool
|
||||
|
||||
// Benchmarks is a slice of Spawns which specifies all of the bagent
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"CreatorArgs": ["-type", "local", "-serverN", "3", "-replicaN", "1"],
|
||||
"Agents": { "Type": "local" },
|
||||
"AgentHosts": [],
|
||||
"Benchmarks": [
|
||||
{
|
||||
"Num": 3,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"CreatorArgs": ["-type", "local", "-serverN", "3", "-replicaN", "1"],
|
||||
"Agents": { "Type": "local" },
|
||||
"AgentHosts": [],
|
||||
"Benchmarks": [
|
||||
{
|
||||
"Num": 3,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"CreatorArgs": ["-type", "local", "-serverN", "1", "-replicaN", "1"],
|
||||
"Agents": { "Type": "local" },
|
||||
"AgentHosts": [],
|
||||
"Benchmarks": [
|
||||
{
|
||||
"Num": 1,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"CreatorArgs": ["-type", "local", "-serverN", "3", "-replicaN", "1"],
|
||||
"Agents": { "Type": "local" },
|
||||
"CreatorArgs": ["-hosts=localhost:19444,localhost:19445,localhost:19446", "-log-file-prefix", "asdfe"],
|
||||
"AgentHosts": [],
|
||||
"Benchmarks": [
|
||||
{
|
||||
"Num": 3,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"CreatorArgs": ["-type", "local", "-serverN", "3", "-replicaN", "1"],
|
||||
"Agents": { "Type": "local" },
|
||||
"AgentHosts": [],
|
||||
"Benchmarks": [
|
||||
{
|
||||
"Num": 1,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue