Application Load Balancers enables gRPC workloads with end to end HTTP/2 support
41–50 of 156 posts
Re: Application Load Balancers enables gRPC workloads with end to end HTTP/2 support
#42This thread seems as good a place as any to ask: Does anyone have experience (good, bad, otherwise) using the gRPC JSON transcoding option for real-world stuff? I'm debating using it (still need REST clients sometimes) but I'm not sure how hacky it is.
Re: Application Load Balancers enables gRPC workloads with end to end HTTP/2 support
#43Can somebody please explain to me why we would use gRPC?
Things I "love" about REST APIs: - How should I pass an argument? Let me count the many ways: 1. Path parameters 2. Query parameters in the URL 3. Query parameters in the body of the request 4. JSON/YAML/etc. in the body of the request 5. Request headers (yes, people use these for API tokens, API versions, and other things sometimes) - There's also the REST verb that is often super arbitrary. PUT vs POST vs PATCH...…
One of my biggest gripes with REST APIs is having identifiers in url path instead of in query params or the request body
Re: Application Load Balancers enables gRPC workloads with end to end HTTP/2 support
#44Half-OT: What's the main use-case for gRPC? I had the impression RPC was seen as a mistake. Sure, gRPC also uses a binary protocol, but that doesn't seem like a USP of gRPC. Why didn't they went fron non-RPC binary? Serious question! It sounds a bit counterinuitive to me at the first glance.
Re: Application Load Balancers enables gRPC workloads with end to end HTTP/2 support
#45Can somebody please explain to me why we would use gRPC?
It makes it really nice to define APIs (like with Openapi of swagger). There is a bunch of code generators out there to produce code for your definitions to have a native swift , objective , Java, Go api stubs for either clients or servers. It is a joy to work with in cross functional teams and define your APIs whilst taking into account what Api versioning would mean, how to define enums, how to rename field names w…
Re: Application Load Balancers enables gRPC workloads with end to end HTTP/2 support
#46Earlier quoted context omitted.
it's use case is companies that want to use SOAP but don't want to say they use SOAP
How is it related to SOAP in any way?
SOAP is in my experience really hard to use and get right, compared to protobufs that bring well understandable set of primitives and intuitive support in many languages. gRPC is a solid carrier for protobufs. Yes, gRPC has many cons (e.g. with undefined/nil values, etc.), but overall it has worked great for our usecases.
Re: Application Load Balancers enables gRPC workloads with end to end HTTP/2 support
#47AWS, ALB, gRPC - it seems one needs to swallow a thesaurus to communicate these days.
AWS is suffering from a TLA problem. gRPC on the other hand is a decent name, at least you can guess at a glance that is a RPC protocol. Meanwhile you just have to know that ALB is a type of ELB.
Re: Application Load Balancers enables gRPC workloads with end to end HTTP/2 support
#48This thread seems as good a place as any to ask: Does anyone have experience (good, bad, otherwise) using the gRPC JSON transcoding option for real-world stuff? I'm debating using it (still need REST clients sometimes) but I'm not sure how hacky it is.
Re: Application Load Balancers enables gRPC workloads with end to end HTTP/2 support
#49This thread seems as good a place as any to ask: Does anyone have experience (good, bad, otherwise) using the gRPC JSON transcoding option for real-world stuff? I'm debating using it (still need REST clients sometimes) but I'm not sure how hacky it is.
Also you should look at Google Artman on github/googleapis as sometimes it felt that defining the REST mappings in Protobuf were lacking some features. Using google artman you kind of mix/match Protobuf with yaml definitions of your service.
We never had to use it, though. It just depends on where you want to put your authentication information. As of today I would probably change my mind and make it explicitly in payload, I.e. Protobuf message and not fiddle with headers any more.
Re: Application Load Balancers enables gRPC workloads with end to end HTTP/2 support
#50So the only remaining question is: When does AWS roll out quic support in ALBs?