3 ms·
How does gRPC make authentication lighter-weight? Presumably you still have a token in either case which needs to be validated? There aren't many places where p
by throwaway894345 4y ago
How does gRPC make authentication lighter-weight? Presumably you still have a token in either case which needs to be validated? There aren't many places where parsing HTTP requests is really a significant bottleneck, and I'd guess the majority of the remainder are an architectural problem (someone using a "get" endpoint in a tight loop instead of a "list" endpoint or some such).
- bb88 4y agoTechnically you could auth the connection using say, a custom SSL cert, and the connection isn't made unless the SSL cert is recognized. There are other ways to do it as well where the socket connection is only authed once.