Skip to content

Is gRPC supported for lambda hosted aspnetcore services? #1428

Answered by normj
lorenh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lorenh, gRPC requires HTTP/2 and a persistent connection to the compute which doesn't work in Lambda which is event based. So the ASP.NET Core Lambda bridge libraries are not a good fit. In theory the .NET gRPC-Web libraries should work for non-streaming operations since that is HTTP/1.1 and the non-streaming operations don't require a persistent connection. Currently gRPC-Web is not working in my testing but it is something I would like to investigate more into seeing if we could make it work in the ASP.NET Core Lambda bridge libraries.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@lorenh
Comment options

Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information. module/lambda-client-lib
2 participants