apache / apache/openwhisk-wskdeploy

Add support for concurrency limit

Open
#1,062 0 comments 0 reactions 0 assignees View on GitHub
documentation enhancement
Dominant language
Go
Stars
75
Forks
73
PR merge metrics
No merged PRs in 30d

Description

Currently there is support for the following limits for a function:

```
const (
// supported
LIMIT_VALUE_TIMEOUT = "timeout"
LIMIT_VALUE_MEMORY_SIZE = "memorySize"
LIMIT_VALUE_LOG_SIZE = "logSize"
// unsupported
LIMIT_VALUE_CONCURRENT_ACTIVATIONS = "concurrentActivations"
LIMIT_VALUE_USER_INVOCATION_RATE = "userInvocationRate"
LIMIT_VALUE_CODE_SIZE = "codeSize"
LIMIT_VALUE_PARAMETER_SIZE = "parameterSize"
)
```

`concurrency` is a limit that can be manually applied to a function using the wsk CLI, but can't be applied to functions in a wskdeploy manifest.yaml. it is **different** than `concurrentActivations`

ie: `wsk action update --concurrency 100 `

It is used to allow a number of functions to be run concurrently in the same container determined by the concurrency number.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how wskdeploy reads limits from manifest.yaml and how the existing timeout, memorySize, and logSize limits are handled. Compare that path with the stated wsk CLI --concurrency behavior; done means a manifest can specify concurrency and deployment applies it distinctly from concurrentActivations.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.