-
Notifications
You must be signed in to change notification settings - Fork 3.4k
ADK import overhead (8-20s) causes slow cold starts #2433
Copy link
Copy link
Labels
core[Component] This issue is related to the core interface and implementation[Component] This issue is related to the core interface and implementationneeds review[Status] The PR/issue is awaiting review from the maintainer[Status] The PR/issue is awaiting review from the maintainerwip[Status] This issue is being worked on. Either there is a pending PR or is planned to be fixed[Status] This issue is being worked on. Either there is a pending PR or is planned to be fixed
Metadata
Metadata
Assignees
Labels
core[Component] This issue is related to the core interface and implementation[Component] This issue is related to the core interface and implementationneeds review[Status] The PR/issue is awaiting review from the maintainer[Status] The PR/issue is awaiting review from the maintainerwip[Status] This issue is being worked on. Either there is a pending PR or is planned to be fixed[Status] This issue is being worked on. Either there is a pending PR or is planned to be fixed
When you deploy a basic agent to Cloud Run, somehow the framework core is so slow to boot that is unusable.
25s + cold starts constantly, using the bare minimum examples from Tutorial.
Improvements need to be made here, to reduce boilerplate for cold starts.
Dockerfile
main.py
my cold start command is to create a session