my gRPC service uses grpc-gateway to serve http requests.
in order to make the service shutdown gracefully, is there an order i need to pay attention to? i.e. is the shutdown order
A. gRPC service -> gateway
B. gateway -> gRPC service
the only article/document i can find is here, which recommend A but didn't explain why. my own reasoning for A would be we need the gateway to be alive to route the outstanding gRPC requests. but that's not supported by any documentation.