構建塊(二)
Building blocks
通過標準HTTP或gRPC api訪問模塊化最佳實踐
Modular best practices accessible over standard HTTP or gRPC APIs
1. 服務到服務的調用 Service-to-service invocation
EndPoint
/v1.0/invoke
說明
服務調用使應用程序能夠通過公開的端點以http或gRPC消息的形式相互通信。Dapr提供了一個端點,作爲反向代理和內置服務發現的組合,同時利用內置的分佈式跟蹤和錯誤處理。
Service invocation enables applications to communicate with each other through well-known endpoints in the form of http or gRPC messages. Dapr provides an endpoint that acts as a combination of a reverse proxy with built-in service discovery, while leveraging built-in distributed tracing and error handling.