1 Star 0 Fork 0

gxlqssjf/orleans

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
distributed-tests.yml 3.43 KB
一键复制 编辑 原始数据 按行查看 历史
variables:
clusterId: '{{ "now" | date: "%s" }}'
serviceId: '{{ "now" | date: "%s" }}'
secretSource: KeyVault
framework: net5.0
jobs:
server:
source:
localFolder: Artifacts/DistributedTests/DistributedTests.Server/{{framework}}
executable: DistributedTests.Server.exe
readyStateText: Orleans Silo started.
framework: net5.0
arguments: "{{configurator}} --clusterId {{clusterId}} --serviceId {{serviceId}} --secretSource {{secretSource}} {{configuratorOptions}}"
onConfigure:
- if (job.endpoints.Count > 0) {
job.endpoints.Reverse();
job.endpoints.RemoveRange(job.variables.instances, job.endpoints.Count - job.variables.instances);
}
client:
source:
localFolder: Artifacts/DistributedTests/DistributedTests.Client/{{framework}}
executable: DistributedTests.Client.exe
waitForExit: true
framework: net5.0
arguments: "{{command}} --clusterId {{clusterId}} --serviceId {{serviceId}} --secretSource {{secretSource}} {{commandOptions}}"
onConfigure:
- if (job.endpoints.Count > 0) {
job.endpoints.Reverse();
job.endpoints.RemoveRange(job.variables.instances, job.endpoints.Count - job.variables.instances);
}
scenarios:
ping:
server:
job: server
variables:
instances: 10
configurator: SimpleSilo
client:
job: client
variables:
command: ping
instances: 1
numWorkers: 250
blocksPerWorker: 0
requestsPerBlock: 500
duration: 120
commandOptions: "--numWorkers {{numWorkers}} --blocksPerWorker {{blocksPerWorker}} --requestsPerBlock {{requestsPerBlock}} --duration {{duration}}"
streaming:
server:
job: server
variables:
instances: 10
configurator: EventGeneratorStreamingSilo
duration: 300
type: ExplicitGrainBasedAndImplicit
streamsPerQueue: 1000
queueCount: 8
wait: 20
configuratorOptions: "--type {{type}} --streamsPerQueue {{streamsPerQueue}} --queueCount {{queueCount}} --wait {{wait}} --duration {{duration}}"
client:
job: client
variables:
command: counter
instances: 1
commandOptions: "requests errors"
reliability:
server:
job: server
variables:
instances: 10
configurator: SimpleSilo
chaosagent:
job: client
waitForExit: false
variables:
command: chaosagent
instances: 1
wait: 30
serversPerRound: 1
rounds: 4
roundDelay: 30
graceful: true
restart: true
commandOptions: "--wait {{wait}} --serversPerRound {{serversPerRound}} --rounds {{rounds}} --roundDelay {{roundDelay}} --graceful {{graceful}} --restart {{restart}}"
client:
job: client
waitForExit: true
variables:
command: ping
instances: 1
numWorkers: 250
blocksPerWorker: 0
requestsPerBlock: 500
duration: 180
commandOptions: "--numWorkers {{numWorkers}} --blocksPerWorker {{blocksPerWorker}} --requestsPerBlock {{requestsPerBlock}} --duration {{duration}}"
profiles:
local:
variables:
secretSource: File
jobs:
server:
endpoints:
- http://localhost:5010
variables:
instances: 1
client:
endpoints:
- http://localhost:5010
chaosagent:
endpoints:
- http://localhost:5010
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gxlqssjf/orleans.git
git@gitee.com:gxlqssjf/orleans.git
gxlqssjf
orleans
orleans
3.x

搜索帮助