Re:Cloud Run – Newest member of our serverless compute stack
by lima on Tuesday April 09, 2019 @01:07PM
(#19616768)
Unary gRPC calls would cover all of my uses cases that would benefit from this product. Is that any closer on the roadmap?
Re:Cloud Run – Newest member of our serverless compute stack
by asciimike on Tuesday April 09, 2019 @01:11PM
(#19616812)
My understanding is that the major issue we have is with streaming (sticky sessions to backends that are autoscaling is tricky), so I assume that unary would be easier. I admit that I haven't dived too deeply in to this though.
EDIT: looks like we could do unary gRPC if gRPC wasn't only supported on HTTP/2. So the current implementation basically requires we solve sticky sessions/streaming.
Re:Cloud Run – Newest member of our serverless compute stack
by charltoons on Tuesday April 09, 2019 @02:53PM
(#19617838)
No gRPC support means no server-side Firebase integration, right?
Re:Cloud Run – Newest member of our serverless compute stack
by asciimike on Tuesday April 09, 2019 @04:09PM
(#19618463)
We don't support inbound gRPC/streaming, but we do support outbound gRPC/streaming, so things like Firestore (or other streaming gRPC products) will work fine.
Re:Cloud Run – Newest member of our serverless compute stack
by charltoons on Wednesday April 10, 2019 @09:27AM
(#19624394)
Oh, nice. Thanks for the clarification.
On the comment about how the control plane APIs support gRPC: the serving infrastructure for the data plane is pretty different from the control plane, so it's unfortunately not a direct map to supporting gRPC on the data plane.
Another possible solution is to run an API gateway that does gRPC to JSON conversion and have that invoke your service.