Dapr入門學習 Day 11

構建塊(二)

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.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章