In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail what is the principle of Dapr microservice. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.
What is Dapr?
Dapr (Distributed Application Runtime), an open source project of Microsoft Azure's internal innovation incubation team, is designed to solve some common problems in the process of micro-service application development. According to official documentation, Dapr is a portable, event-driven runtime that makes it easier for enterprise developers to build flexible, stateless and stateful micro-service applications in a variety of languages and frameworks and run on the cloud and edge.
The core of Dapr is written in the Go language. At first, the development team planned to use the .NET Core/C# to write it, but considering the acceptance of the community, it finally chose Go as the development language. Of course, Dapr extensions can still be written in any language or framework. Because the problems that Dapr has to solve are indeed some pain points that we are facing, and the design of Dapr is also unique, so once it is open source, it has become one of the fastest growing open source projects on Star on GitHub, even reaching 5K Star faster than Kubernetes.
What does Dapr contain?
What Dapr does is simply to use Sidecar's pattern to separate and abstract some crosscutting concern requirements (Cross-cutting) in the code, so as to achieve the independence of the runtime environment and external dependencies (including between services).
This independent approach is to use open protocols (HTTP and gRPC) instead of relying on specific protocols. As shown in the following figure:
From the figure above, we can see that micro-service applications developed with Dapr can theoretically be deployed to any cloud provider, edge device, virtual machine, Service Fabric cluster, Kubernetes cluster.
And abstracts external dependencies in the following aspects (called Building Block):
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.