Non blocking background operation with grpc

44 views
Skip to first unread message

Naresh Modhipalli

unread,
Jul 21, 2025, 6:26:10 PM7/21/25
to grpc.io
Hello,

I'm trying to find out if it's possible to implement background tasks like FastAPI's Background Task using grpc or grpc-asyncio in python. The objective is to implement a servicer method that returns a response and goes async to perform a long running operation. The service is hosted on cloud run. If there are patterns you recommend to achieve this I would welcome and appreciate your ideas.

Thank you,
Naresh
Reply all
Reply to author
Forward
0 new messages