|
|
|
|
|
by bairen
758 days ago
|
|
We ended up wrapping them in envoy so that our UI can convert the grpc to regular old http 1. And that's where they get the most use. And by doing that we've added extra layers and it ended up slower than it would have been had we just used regular rest. Further more now we need to keep evoy up to date. Occasionally they break their API on major versions. Their config files are complicated and confusing. So, imo, grpc should only be used for service to service communication where you don't want to share the code with a UI and speed and throughput is very very important. And speed of http 1 rarely is the bottleneck. |
|