-
Notifications
You must be signed in to change notification settings - Fork 473
Worker code path warmup #9018
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
Worker code path warmup #9018
Conversation
src/WebJobs.Script.Grpc/azure-functions-language-worker-protobuf/src/proto/FunctionRpc.proto
Outdated
Show resolved
Hide resolved
src/WebJobs.Script/Workers/Rpc/WebHostRpcWorkerChannelManager.cs
Outdated
Show resolved
Hide resolved
src/WebJobs.Script/Workers/Rpc/WebHostRpcWorkerChannelManager.cs
Outdated
Show resolved
Hide resolved
src/WebJobs.Script/Workers/Rpc/WebHostRpcWorkerChannelManager.cs
Outdated
Show resolved
Hide resolved
src/WebJobs.Script/Workers/Rpc/WebHostRpcWorkerChannelManager.cs
Outdated
Show resolved
Hide resolved
test/WebJobs.Script.Tests/Middleware/HostWarmupMiddlewareTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If worker is not supporting this capability, don't we need to set the result (to false)? Because ProcessWorkerWarmupResponse will not execute in that case. Correct? I know we await this method and I am wondering that will handle the tasks status "WaitingForActivation" (The default status) in this case.
src/WebJobs.Script/Workers/Rpc/WebHostRpcWorkerChannelManager.cs
Outdated
Show resolved
Hide resolved
a7aab5e to
795a240
Compare
795a240 to
418d333
Compare
src/WebJobs.Script/Workers/Rpc/WebHostRpcWorkerChannelManager.cs
Outdated
Show resolved
Hide resolved
safihamid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
Worker code path warmup
Use the HostWarmupMiddleware to send the WorkerWarmupRequest to warm up the worker code path before specialization.
PR for protobuf changes: Azure/azure-functions-language-worker-protobuf#84
Pull request checklist
release_notes.md