In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "what is the difference between distributed blockchain and micro-services". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. What is a microservice?
To put it simply, a micro-service is a very small service, so small that a service only corresponds to a single function and does only one thing. This service can be deployed and run separately, and the services can interact with each other through RPC. Each microservice is developed, tested, deployed, launched by an independent small team, and is responsible for its entire life cycle.
2. What is distributed?
As the name implies, distributed services are distributed on different machines. A service may be responsible for several functions, which is oriented to SOA architecture. Services also interact with each other through rpc or webservice. After the logical architecture is designed, the physical architecture design should be done. If the system application is deployed on more than one server or virtual machine, and the separately deployed parts interact with each other through various communication protocols, it can be regarded as distributed deployment. Micro-services in production environments must be distributed, and distributed applications are not necessarily micro-service architectures, such as cluster deployment. It replicates the same application to different servers, but logically it is still a single application.
3. What's the difference between the two?
Distributed belongs to micro-service, which means to split the module into an independent service unit to realize the interaction of data through the interface.
(1) the structure is different.
The microservice is designed not to affect the existing system business because of the upgrade of a module and BUG. The slight difference between micro-service and distributed is that the application of micro-service is not necessarily distributed on multiple servers, it can also be the same server.
(2) the effect is different.
Distributed: different modules are deployed on different servers, and distributed mainly solves the problem caused by high concurrency of websites.
Micro services: each service can be applied independently, and composite services can also be applied systematically (the simplified implementation strategy-platform idea of Stonehenge Application [monolith]).
(3) different granularity.
Compared with distributed services, micro-services have smaller granularity and lower coupling between services. because each micro-service is responsible for by an independent small team, it is more agile, and distributed services will eventually evolve to micro-service architecture. this is a trend, but the challenges brought by service micro-service are also obvious, such as small service granularity and large quantity, which will be very difficult for later operation and maintenance.
This is the end of the content of "what is the difference between distributed blockchain and micro-services". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.