Skip to content

Commit

Permalink
Deploy and invoke interfaces
Browse files Browse the repository at this point in the history
Signed-off-by: Lazar Cvetković <[email protected]>
  • Loading branch information
cvetkovic committed Sep 3, 2024
1 parent cbbe93c commit 684e8d1
Show file tree
Hide file tree
Showing 39 changed files with 1,419 additions and 440 deletions.
12 changes: 11 additions & 1 deletion .github/configs/wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -753,4 +753,14 @@ ethz
lazar
xvzf
untar
len
len
CooldownSeconds
RpsCooldownSeconds
Dirigent
RpsColdStartRatioPercentage
RpsIterationMultiplier
RpsMemoryMB
RpsRuntimeMs
RpsTarget
SQRT
RpsImage
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
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

0 comments on commit 684e8d1

Please sign in to comment.