Member-only story
Dapr — New Feature of Microservices
Dapr — Distributed Application Runtime
Microservice architecture is becoming more popular day by day with the rapid improvement of technology. As the power of resources that we have, increases the ability to create high-performance projects increase. On the other hand, as we have the chance to create huge projects, we use them to the fullest.
Once we have big projects, everything is great in the first place. We have a project running. we have enough resources. We have everything we want. In time, things get complicated in the projects. There are many tasks in our projects, we don’t, however, have enough time for those tasks. Thus, things get complicated. I believe this is where Microservice popups into mind.
Before I mentioned Dapr, I must admit that I still can’t believe Dapr is not the most popular tool. I expected It was the most popular tool when the subject is microservice. However, it looks it is going to take some time.
Let’s start with some clarification. Firstly, it is a common mistake that it is confused with Dapper, which is an ORM tool, however, those two are totally different from each other. Secondly, it is usually thought that it is a function that Microsoft provides on Azure Cloud. This is also not correct. Let’s talk about what Dapr is.
Dapr is the tool developed by Microsoft to create effective solutions to the problems we mostly face on our microservice projects. As it is an open-source project, it has big community developer groups which play an important role in it.
The idea behind the microservice is to have loosely-coupled parts on our projects which allows us to isolate and manage our services independently. It is easy to say to have independent parts, even so, it is not always that easy to apply it to real life. It is mostly because we have Building-Blocks that we must consider.
Building-Blocks are mostly defined that it is the function set that most of our services required to use. For instance: Logging, Monitoring, Configurations, State Store, Caching, Secret Managements and so on.