当前位置:网站首页>What is micro service
What is micro service
2022-06-26 00:11:00 【Bald Xiake】
List of articles
Distributed and microservices
What is the relationship between distribution and microservices ?
Microservice is a well-designed distributed architecture .
Monomer architecture

characteristic : All functions are integrated into one project , High code redundancy , It is not conducive to later iterations and their maintenance .
advantage : Simple architecture , The cost is low
shortcoming : High code redundancy , It is not conducive to later iterations and their maintenance .
Distributed architecture

characteristic : Divide the project into modules ( service ), Each module is developed independently
advantage : Low coupling between modules , Easy to maintain and expand
shortcoming : The calling relationship between services is complex .
reflection :
- How to define the granularity of service splitting ?
- How to call between services ?
Service remote invocation , adopt Dubbo or http Protocol interaction , Bottom use netty.
Microservices
Micro service features
- Single responsibility : Microservices have smaller granularity , Each service corresponds to a unique business capability , Single responsibility
- autonomous : Team independence 、 Technology independence 、 Data independence , Independent deployment and delivery
- Service oriented : The service provides a unified standard interface , It has nothing to do with language and Technology
- Strong isolation : Isolate service calls 、 Fault tolerance 、 Downgrade , Avoid cascading problems
Microservice problems
gateway : Authentication requested , And load balancing
Service cluster : Improve service efficiency and fault tolerance
Registry Center : Managing services
Configuration center : Unified management of service configuration
Message queue : Improve asynchronous performance
Distributed cache : Improve system efficiency
Distributed search : Improve the efficiency of data search
Distributed log service : Save log
System monitoring link tracking

Reference resources SpringCloud+RabbitMQ+Docker+Redis+ Search for + Distributed , The most comprehensive in history springclound Microservice technology stack
边栏推荐
- 网络协议之:redis protocol详解
- POSTMAN测试出现SSL无响应
- Redis之内存淘汰机制
- 文献调研(四):基于case-based reasoning、ANN、PCA的建筑小时用电量预测
- Literature research (I): hourly energy consumption prediction of office buildings based on integrated learning and energy consumption pattern classification
- Number array de duplication in JS
- 详解synchronize关键字
- Explain the synchronize keyword
- ValueError: color kwarg must have one color per data set. 9 data sets and 1 colors were provided
- Frequently asked questions about redis
猜你喜欢

(Reprint) visual explanation of processes and threads

快手实时数仓保障体系研发实践

手工制作 pl-2303hx 的USB转TTL电平串口的电路_过路老熊_新浪博客

正则表达式介绍及一些语法

MySQL master-slave replication

详细讲解局部变量、全局变量、静态变量三种类型

Unsigned and signed vernacular

How to configure SQL Server 2008 Manager_ Old bear passing by_ Sina blog

Literature research (IV): Hourly building power consumption prediction based on case-based reasoning, Ann and PCA

Keil compilation run error, missing error: # 5: # includecore_ cm3.h_ Old bear passing by_ Sina blog
随机推荐
Lazy people teach you to use kiwi fruit to lose 16 kg in a month_ Old bear passing by_ Sina blog
Redis cluster
(转载)进程和线程的形象解释
Thrift getting started
huibian
How ASA configures port mapping and pat
迅为RK3568开发板使用RKNN-Toolkit-lite2运行测试程序
社交网络可视化第三方库igraph的安装
Bit Compressor [蓝桥杯题目训练]
ORA-01153 :激活了不兼容的介质恢复
什么是微服务
SMT操作员是做什么的?工作职责?
文献调研(一):基于集成学习和能耗模式分类的办公楼小时能耗预测
Literature research (II): quantitative evaluation of building energy efficiency performance based on short-term energy prediction
Implement const in Es5
SMT贴片加工PCBA板清洗注意事项
SPI锡膏检查机的作用及原理
smt贴片加工行业pcba常见测试方法优劣分析比较
Establishment of multiple background blocks in botu software_ Old bear passing by_ Sina blog
Literature research (I): hourly energy consumption prediction of office buildings based on integrated learning and energy consumption pattern classification