What is Dapr?
The opening sentence of the introduction pretty much defines Dapr for you. Dapr is currently available as an open source project on GitHub. Dapr works by using the Sidecar pattern. The Sidecar pattern is about separating cross-cutting operations (cross-cutting operations or cross-cutting concerns mean functionality that is important but should not be part of your application’s business logic; for example, logging or authentication) from the microservice’s implementation and reducing its complexity.
You can find more details about this pattern here: https://learn.microsoft.com/azure/architecture/patterns/sidecar?WT.mc_id=DT-MVP-5002040.
Dapr architecture
In this section, we will learn about the Dapr architecture. As mentioned earlier in this chapter, Dapr employs a Sidecar pattern, where a lightweight, separate process (the Dapr Sidecar) is attached to each microservice, enabling them to communicate, manage state, publish events, and handle service...