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

Add support for concurrency limit #1062

Open
Logicon211 opened this issue Jul 19, 2019 · 0 comments
Open

Add support for concurrency limit #1062

Logicon211 opened this issue Jul 19, 2019 · 0 comments

Comments

@Logicon211
Copy link

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 <actionpath> --concurrency 100

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants