Closed
Description
This Issue is related to #4626 with the caveat that the blocking and successful activations should not be stored in the database at all.
The reason for this change is related to the fact that blocking and successful activations are usually never used after the response has been consumed.
The benefits can be measured in database performance, not storing blocking activations should improve write
and search
operations and it should cut down on the database storage cost on large-scale production environments.
Implementation details:
- Blocking and successful activations should not be stored in the database in case the config variable
whisk.activation.disable-store-result
is set totrue
. By default it would be set tofalse
. - Developers would still have the option of storing the blocking successful activations in the database in case
X-OW-EXTRA-LOGGING
is set toon
in the invocation's request header. - No changes to logging. Logs should still be available for all activations.
- No changes to metrics stored in Prometheus. Metrics provided by the
user-events
module should still be available for all activations.
Implementation side effects:
wsk activation list
won't display the list of blocking successful activationswsk activation get <activation_id>
won't return the activation response.wsk activation logs <activation_id>
will still be available. In case <activation_id> is known, it can be used to retrieve the activation logs.
Metadata
Metadata
Assignees
Labels
No labels