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

Deploy and invoke interfaces #491

Open
wants to merge 2 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
16 changes: 15 additions & 1 deletion .github/configs/wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -753,4 +753,18 @@ ethz
lazar
xvzf
untar
len
len
CooldownSeconds
RpsCooldownSeconds
Dirigent
RpsColdStartRatioPercentage
RpsIterationMultiplier
RpsMemoryMB
RpsRuntimeMs
RpsTarget
SQRT
RpsImage
BusyLoopOnSandboxStartup
DirigentControlPlaneIP
InvokeProtocol
autoscaler
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ __pycache__/
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
Expand Down Expand Up @@ -155,7 +154,6 @@ coverage.xml
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
Expand Down Expand Up @@ -187,7 +185,6 @@ celerybeat-schedule
.env

# virtualenv
.venv
venv/
ENV/

Expand All @@ -205,7 +202,10 @@ ENV/
.mypy_cache/

# IDE settings
.vscode/
.idea/

tools/plotter/test-out
tools/plotter/test-out
*.swp

data/traces/azure_*
data/traces/day*
35 changes: 35 additions & 0 deletions cmd/config_dirigent_dandelion_rps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"Seed": 42,

"Platform": "Dirigent-Dandelion-RPS",
"InvokeProtocol" : "http1",
"EndpointPort": 80,

"DirigentControlPlaneIP": "10.0.1.253:9091",
"BusyLoopOnSandboxStartup": false,

"RpsTarget": 1,
"RpsColdStartRatioPercentage": 0,
"RpsCooldownSeconds": 10,
"RpsImage": "empty",
"RpsRuntimeMs": 10,
"RpsMemoryMB": 2048,
"RpsIterationMultiplier": 80,

"TracePath": "data/traces/example",
"Granularity": "minute",
"OutputPathPrefix": "data/out/experiment",
"IATDistribution": "equidistant",
"CPULimit": "1vCPU",
"ExperimentDuration": 1,
"WarmupDuration": 0,

"IsPartiallyPanic": false,
"EnableZipkinTracing": false,
"EnableMetricsScrapping": false,
"MetricScrapingPeriodSeconds": 15,
"AutoscalingMetric": "concurrency",

"GRPCConnectionTimeoutSeconds": 5,
"GRPCFunctionTimeoutSeconds": 900
}
27 changes: 27 additions & 0 deletions cmd/config_dirigent_dandelion_trace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"Seed": 42,

"Platform": "Dirigent-Dandelion",
"InvokeProtocol" : "http1",
"EndpointPort": 80,

"DirigentControlPlaneIP": "10.0.1.253:9091",
"BusyLoopOnSandboxStartup": false,

"TracePath": "data/traces/example",
"Granularity": "minute",
"OutputPathPrefix": "data/out/experiment",
"IATDistribution": "exponential",
"CPULimit": "1vCPU",
"ExperimentDuration": 2,
"WarmupDuration": 0,

"IsPartiallyPanic": false,
"EnableZipkinTracing": false,
"EnableMetricsScrapping": false,
"MetricScrapingPeriodSeconds": 15,
"AutoscalingMetric": "concurrency",

"GRPCConnectionTimeoutSeconds": 15,
"GRPCFunctionTimeoutSeconds": 180
}
35 changes: 35 additions & 0 deletions cmd/config_dirigent_rps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"Seed": 42,

"Platform": "Dirigent-RPS",
"InvokeProtocol" : "http2",
"EndpointPort": 80,

"DirigentControlPlaneIP": "10.0.1.253:9092",
"BusyLoopOnSandboxStartup": false,

"RpsTarget": 1,
"RpsColdStartRatioPercentage": 0,
"RpsCooldownSeconds": 10,
"RpsImage": "docker.io/cvetkovic/dirigent_empty_function:latest",
"RpsRuntimeMs": 10,
"RpsMemoryMB": 2048,
"RpsIterationMultiplier": 80,

"TracePath": "data/traces/example",
"Granularity": "minute",
"OutputPathPrefix": "data/out/experiment",
"IATDistribution": "equidistant",
"CPULimit": "1vCPU",
"ExperimentDuration": 1,
"WarmupDuration": 0,

"IsPartiallyPanic": false,
"EnableZipkinTracing": false,
"EnableMetricsScrapping": false,
"MetricScrapingPeriodSeconds": 15,
"AutoscalingMetric": "concurrency",

"GRPCConnectionTimeoutSeconds": 5,
"GRPCFunctionTimeoutSeconds": 900
}
13 changes: 8 additions & 5 deletions cmd/config_dirigent.json → cmd/config_dirigent_trace.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,26 @@
"Seed": 42,

"Platform": "Dirigent",
"InvokeProtocol" : "http2",
"EndpointPort": 80,

"TracePath": "data/traces/example",
"DirigentControlPlaneIP": "10.0.1.253:9092",
"BusyLoopOnSandboxStartup": false,

"TracePath": "data/traces/azure_500",
"Granularity": "minute",
"OutputPathPrefix": "data/out/experiment",
"IATDistribution": "equidistant",
"IATDistribution": "exponential",
"CPULimit": "1vCPU",
"ExperimentDuration": 5,
"ExperimentDuration": 30,
"WarmupDuration": 0,

"IsPartiallyPanic": false,
"EnableZipkinTracing": false,
"EnableMetricsScrapping": false,
"MetricScrapingPeriodSeconds": 15,
"AutoscalingMetric": "concurrency",

"GRPCConnectionTimeoutSeconds": 15,
"GRPCFunctionTimeoutSeconds": 900,
"DAGMode": false
}
}
35 changes: 35 additions & 0 deletions cmd/config_knative_rps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"Seed": 42,

"Platform": "Knative-RPS",
"InvokeProtocol" : "grpc",
"YAMLSelector": "container",
"EndpointPort": 80,

"BusyLoopOnSandboxStartup": false,

"RpsTarget": 1,
"RpsColdStartRatioPercentage": 100,
"RpsCooldownSeconds": 10,
"RpsImage": "ghcr.io/vhive-serverless/invitro_empty_function:latest",
"RpsRuntimeMs": 10,
"RpsMemoryMB": 2048,
"RpsIterationMultiplier": 80,

"TracePath": "data/traces/example",
"Granularity": "minute",
"OutputPathPrefix": "data/out/experiment",
"IATDistribution": "equidistant",
"CPULimit": "1vCPU",
"ExperimentDuration": 2,
"WarmupDuration": 0,

"IsPartiallyPanic": false,
"EnableZipkinTracing": false,
"EnableMetricsScrapping": false,
"MetricScrapingPeriodSeconds": 15,
"AutoscalingMetric": "concurrency",

"GRPCConnectionTimeoutSeconds": 15,
"GRPCFunctionTimeoutSeconds": 900
}
11 changes: 7 additions & 4 deletions cmd/config.json → cmd/config_knative_trace.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Makefile, there is a run command that runs loader with cmd/config.json. Also, we use the same file for the example in the loader.md. Please consider having a file with such name or changing other places that refer to this file.

Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@
"Seed": 42,

"Platform": "Knative",
"InvokeProtocol" : "grpc",
"YAMLSelector": "container",
"EndpointPort": 80,

"TracePath": "data/traces/example",
"BusyLoopOnSandboxStartup": false,

"TracePath": "data/traces/azure_500",
"Granularity": "minute",
"OutputPathPrefix": "data/out/experiment",
"IATDistribution": "equidistant",
"IATDistribution": "exponential",
"CPULimit": "1vCPU",
"ExperimentDuration": 5,
"ExperimentDuration": 30,
"WarmupDuration": 0,

"IsPartiallyPanic": false,
Expand All @@ -22,4 +25,4 @@
"GRPCConnectionTimeoutSeconds": 15,
"GRPCFunctionTimeoutSeconds": 900,
"DAGMode": false
}
}
Loading
Loading