You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add header FUNCTION-RESPONSE-TIME in response, containing the execution time of the inner function
add header RIK-AVAILABLE-TIME in response, containing the time needed for RIK to be ready to serve the function
add header MORTY-RESPONSE-TIME in response, containing the whole time of the request (RIK + Function + Misc)
Why it needs to be done ?
In order to determine the time of execution of a function, we should have something to know how long did the invoke take. Currently, invoke of function returns directly the return statement of the content of the function, we can't change that as would create a breaking change. As an alternative, we found out that we can create HTTP headers in the response in order to give the details needed to solve this issue.
We want to be able to determine:
A: The execution time of the function
B: The time waiting for function instance to be ready to receive
C: The whole time of receiving the request + answering
In theory: C = A+B
The text was updated successfully, but these errors were encountered:
What needs to be done ?
Exclusively imply invocation of functions:
FUNCTION-RESPONSE-TIME
in response, containing the execution time of the inner functionRIK-AVAILABLE-TIME
in response, containing the time needed for RIK to be ready to serve the functionMORTY-RESPONSE-TIME
in response, containing the whole time of the request (RIK + Function + Misc)Why it needs to be done ?
In order to determine the time of execution of a function, we should have something to know how long did the invoke take. Currently, invoke of function returns directly the return statement of the content of the function, we can't change that as would create a breaking change. As an alternative, we found out that we can create HTTP headers in the response in order to give the details needed to solve this issue.
We want to be able to determine:
In theory: C = A+B
The text was updated successfully, but these errors were encountered: