azure-functions-python-worker
azure-functions-python-worker copied to clipboard
Send WorkerStatusResponse when receiving WorkerStatusRequest. Send Capability "WorkerStatus" on Init
When host sends a "WorkerStatusRequest" , the worker needs to return "WorkerStatusResponse". The latency from request to response is used for scale decisions for out-of-proc languages.
Reference Java commit: https://github.com/Azure/azure-functions-java-worker/commit/fbf0e4b62a1ddcb778cf7604c425082bdb743cb5
cc: @pragnagopa @mathewc
Hi @Yojagad,
Is this WorkerStatusRequest a recurring event? Or is it a one-off event? If possible please point me to the host code for this.
Thanks, Roger
It is a recurring event. Also, need send capability "WorkerStatus" in order to take perf improvements being made in PR: https://github.com/Azure/azure-functions-host/pull/5897