Re: [grpc-io] gRPC static paths?

2016-10-19 Thread 'Louis Ryan' via grpc.io
Its the difference between "/service/method" (a fixed string identifying the operation - RPC) and /collection/{resource-id} (where a parameter of the call is a variable component of the REST path). Using fixed strings speeds up dispatching logic and on HTTP2 improves header caching behaviors. On W

[grpc-io] gRPC static paths?

2016-10-19 Thread song1219
Hi I am reading gRPC FAQ "Why is gRPC better/worse than REST?" The answer says "We diverge from typical REST conventions as we use static paths for performance reasons during call dispatch as parsing call parameters from paths, query parameters and payload body adds latency and complexity." Wha