当前位置:网站首页>This is indeed the best article on microservice architecture I have read!
This is indeed the best article on microservice architecture I have read!
2022-08-05 06:15:00 【Take the cloud technology】
In 2014, Martin Fowler and James Lewis jointly proposed the concept of microservices, which defined microservices as small services composed of a single application, with their own itineraries and lightweight processing, services designed according to business functions,Deploy in a fully automated fashion, using HTTP APIs to communicate with other services.At the same time, the service will use the smallest scale centralized management (such as Docker) capabilities, and the service can be implemented with components such as different programming languages and databases.
Microservicesare small, autonomous services that work together.
Microservices andSOA
Service-Oriented ArchitectureSOA(Service-Oriented Architecture) sounds similar to microservices, but SOA used earlyBus mode, this bus mode is strongly bound to a certain technology stack, such as: J2EE.This makes it difficult for the legacy systems of many enterprises to be connected, the switching time is too long, the cost is too high, and the convergence of the stability of the new system takes some time. In the end, SOA looks beautiful, but it has become an enterprise-level luxury.Intimidating.
Microservice Architecture
In view of the above-mentioned shortcomings of "monolithic application", a single application is divided into various small, interconnected microservices, and a microservice completes a relatively single function, and each otherKeep it separate and decoupled, that's the microservice architecture.
Technological heterogeneity
The internal development technology of different services can be inconsistent. You can use java to develop helloworld service A and golang to develop helloworld service B, and everyone no longer has to argue about which language is the best language in the world.
Scalability
If there is a performance bottleneck in a huge single service, it can only expand the software as a whole. It may only affect the performance of a small module, and we have to pay the price of upgrading the entire application.This has been improved in the microservice architecture. You can only expand and upgrade those services that affect performance, so the effect of the right medicine is very good.
Simplified deployment
If your service is a huge monolith with millions of lines of code, it is obviously very cumbersome to recompile the entire application even if a few lines of code are modified, and the uncertainty brought about by software changesThe reliability is very high, and the impact of software deployment is also very large.In the microservice architecture, the deployment of each service is independent. If there is a problem, it only affects a single service, and the version can be quickly rolled back to solve it.
Service registration and discovery
Microservices call each other to complete the overall business function. How to find the correct target service address among many microservices is the so-called "service discovery" function.
No technology is forever in the IT world, the evolution of microservices architecture is one example.We don't know when the next technology iteration will be, but the microservice framework has never stopped updating every second of every day we work hard.As a corner of the IT industry, we should be enthusiastic about technology, actively face change, and use new technology to make us stand at the top again.
边栏推荐
- spark source code - task submission process - 2-YarnClusterApplication
- 逻辑卷创建
- Account and Permission Management
- ROS视频教程
- PVE 直通硬盘到TrueNAS
- IP数据包格式(ICMP协议与ARP协议)
- Spark source code - task submission process - 6-sparkContext initialization
- Getting Started Documentation 12 webserve + Hot Updates
- 【Day8】RAID Disk Array
- 【Day1】(超详细步骤)构建软RAID磁盘阵列
猜你喜欢
时间复杂度和空间复杂度

Transport layer protocol (TCP 3-way handshake)

RAID磁盘阵列

Getting Started Doc 06 Adding files to a stream

VRRP principle and command

Getting Started Doc 08 Conditional Plugins

网络不通?服务丢包?看这篇就够了

Getting Started Documentation 12 webserve + Hot Updates

Getting Started Document 09 Standalone watch
![[Day1] VMware software installation](/img/24/20cc77e904dbe7dc1b5224c64d6329.png)
[Day1] VMware software installation
随机推荐
dsf5.0新建页面访问时重定向到首页的问题
static routing
【机器学习】1单变量线性回归
spark算子-repartition算子
正则表达式小实例--去掉字符串中间和两边的空格
The problem of redirecting to the home page when visiting a new page in dsf5.0
spark源码-任务提交流程之-5-CoarseGrainedExecutorBackend
Getting Started 03 Distinguish between development and production environments ("hot update" is performed only in the production environment)
静态路由
图片压缩失效问题
Small example of regular expression--remove spaces in the middle and on both sides of the string
spark operator - map vs mapPartitions operator
Hugo搭建个人博客
The problem of calling ds18b20 through a single bus
Account and Permission Management
入门文档05 使用cb()指示当前任务已完成
Introductory document 05-2 use return instructions the current task has been completed
ROS video tutorial
【Day8】 RAID磁盘阵列
One-arm routing and 30% switch