Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GCS artifact storage should be async #1346

@condorcet

Description

@condorcet

At this moment GCS artifact storage implementation relies on GCS client which does not support asyncio.

This results in the event loop being blocked on every I/O operation, which is critical for production use.

I believe this can be solved in a more generic way with S3 compatible interface (e.g. #555).
But as a first iteration, we can simply run the current methods with a thread pool executor to satisfy the minimal async behavior.

Metadata

Metadata

Assignees

Labels

bot triaged[Bot] This issue is triaged by ADK botservices[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etcwip[Status] This issue is being worked on. Either there is a pending PR or is planned to be fixed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions