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
Hi I am working on a POC for cloud run to use in our app.
I came across 1 interesting use case. The docs for google cloud logging suggest that for high throughput applications we should avoid awaiting when logging (background process takes care of it).
From my understanding - once a request is completed cloud run will immediately throttle the CPU in which case the pending logging request will be dropped. Are we able to flush the logs after the request has completed or do we have to log before returning the response? Logging request takes approximately 300ms adding this time onto the request would be an issue.
Hi I am working on a POC for cloud run to use in our app.
I came across 1 interesting use case. The docs for google cloud logging suggest that for high throughput applications we should avoid awaiting when logging (background process takes care of it).
From my understanding - once a request is completed cloud run will immediately throttle the CPU in which case the pending logging request will be dropped. Are we able to flush the logs after the request has completed or do we have to log before returning the response? Logging request takes approximately 300ms adding this time onto the request would be an issue.
Cloud Logging Docs
The text was updated successfully, but these errors were encountered: