Service invocation conceptual doc (#66)

* Initial draft

* Initial draft

* Missed initial changes

* Clarification

* Review comment - rephrase
This commit is contained in:
Leon Mai 2019-10-07 17:03:19 -07:00 committed by Yaron Schneider
parent be3d202555
commit 2b84d0ec30
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,17 @@
# documentation
# Service Invocation
Content for this file to be added
Dapr-enabled apps can communicate with each other through well-known endpoints in the form of http or gRPC messages.
![Service Invocation Diagram](../../images/service-invocation.png)
1. Service A makes a http/gRPC call meant for Service B. The call goes to the local Dapr sidecar.
2. Dapr discovers Service B's location and forwards the message to Service B's Dapr sidecar
3. Service B's Dapr sidecar forwards the request to Service B. Service B performs its corresponding business logic.
4. Service B sends a response for Service A. The response goes to Service B's sidecar.
5. Dapr forwards the response to Service A's Dapr sidecar.
6. Service A receives the response.
For more information, see:
- The [Service Invocation Spec](https://github.com/dapr/spec/blob/master/service_invocation.md)
- A [HowTo]() on Service Invocation

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB